Clear Filters
Clear Filters

MATLAB - HYSYS Interface for random processes

3 views (last 30 days)
Usman
Usman on 21 Nov 2012
Answered: haMed on 19 May 2014
Dear all,
I have random inputs generated in MATLAB. I am trying to make HYSYS use these random inputs (that could run into hundreds of thousands), process each sample set based on a HYSYS model and give random outputs.
In this way, i will end up with a table of random inputs(from MATLAB) and the corresponding outputs (produced by my HYSYS model). Can some one help out please.
For fewer sample sets, I found that one can use HYSYS datebook/worksheet to manually substitute the input sets and get outputs; however, this method becomes somehow impractical when one is dealing with sample sets running into millions.
  4 Comments
Jan
Jan on 23 Nov 2012
Which interfaces are offered by HYSYS? Because Matlab is very powerful, I guess that HYSYS is the limiting factor.
Usman
Usman on 25 Nov 2012
Edited: Usman on 5 Dec 2012
I think both matlab and Hysys include support Object Linking and Embedding (OLE), perhaps this could be exploited to establish a link. Also,Hysys contains an ActiveX Server DLL and an Extension Definition File (EDF). The ActiveX Server DLL contains the actual code for the extensions and can be created in any OLE controller language such as Visual Basic, C++, or Delphi.The EDF file acts as the interface view within Aspen HYSYS (or UniSim Design) as well as the point for variable declaration and storage.

Sign in to comment.

Answers (1)

haMed
haMed on 19 May 2014
Did you tried it?
a = actxserver('hysys.application');

Categories

Find more on Robust Control Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!