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

Jan
Jan 2012년 11월 22일
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 2012년 11월 23일
편집: Usman 2012년 11월 23일
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 2012년 11월 23일
Which interfaces are offered by HYSYS? Because Matlab is very powerful, I guess that HYSYS is the limiting factor.
Usman
Usman 2012년 11월 25일
편집: Usman 2012년 12월 5일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

haMed
haMed 2014년 5월 19일

0 개 추천

Did you tried it?
a = actxserver('hysys.application');

카테고리

질문:

2012년 11월 21일

답변:

2014년 5월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by