Azzera filtri
Azzera filtri

MATLAB - HYSYS Interface for random processes

3 visualizzazioni (ultimi 30 giorni)
Usman
Usman il 21 Nov 2012
Risposto: haMed il 19 Mag 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 Commenti
Jan
Jan il 23 Nov 2012
Which interfaces are offered by HYSYS? Because Matlab is very powerful, I guess that HYSYS is the limiting factor.
Usman
Usman il 25 Nov 2012
Modificato: Usman il 5 Dic 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.

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Robust Control Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by