MATLAB - HYSYS Interface for random processes

조회 수: 3 (최근 30일)
Usman
Usman 2012년 11월 21일
답변: haMed 2014년 5월 19일
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월 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일
Did you tried it?
a = actxserver('hysys.application');

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by