MATLAB - HYSYS Interface for random processes

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 22 de Nov. de 2012
It would be helpful, if the closing and the re-opening is accompanied by corresponding comments.
Because I do not have an idea what HYSYS might be, I cannot participate in this discussion. But I currently cannot identify a question here: You state, that you have randomn input, a model called HYSYS (what ever this is) and get random output. But how could we help you out of what? Isn't this the expected behaviour?
Usman
Usman el 23 de Nov. de 2012
Editada: Usman el 23 de Nov. de 2012
Hi Jan, Aspen HYSYS is a software used to model and simulate chemical engineering systems. The random inputs (say: Temp, Flowrate and pressure) are generated based on certain probability density functions. These random input vectors can ordinarily be used as input to the system modeled using HYSYS. It is possible to manually handle fewer input vectors but since i am dealing with large sample size, i am looking to find a means of creating a link between MATLAB and HYSYS (perhaps using OLE-automation) so that inputs from MATLAB can be directly picked, solved by the HYSYS model and the random outputs transmitted back to MATLAB. I hope this gives you a better perceptive.
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');

Preguntada:

el 21 de Nov. de 2012

Respondida:

el 19 de Mayo de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by