MATLAB - HYSYS Interface for random processes

5 visualizaciones (últimos 30 días)
Usman
Usman el 21 de Nov. de 2012
Respondida: haMed el 19 de Mayo de 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 comentarios
Jan
Jan el 23 de Nov. de 2012
Which interfaces are offered by HYSYS? Because Matlab is very powerful, I guess that HYSYS is the limiting factor.
Usman
Usman el 25 de Nov. de 2012
Editada: Usman el 5 de Dic. de 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.

Iniciar sesión para comentar.

Respuestas (1)

haMed
haMed el 19 de Mayo de 2014
Did you tried it?
a = actxserver('hysys.application');

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by