Composition change in a stream of HYSYS from MATLAB

版本 1.0.0.0 (25.2 KB) 作者: Maryam Ghadrdan
The zipped file contains a MATLAB m file, a SCP file and a HYSYS model
973.0 次下载
更新时间 2011/2/27

查看许可证

The goal is to write a MATLAB code which runs a script in order to manipulate a stream composittion in HYSYS. This can be done by doing the following procedure:

First a script should be made in HYSYS (Tools -> Script Manager -> New)

Then, manually change the stream composition and stop recording the script.

There will be an *.SCP file in the route you were working.

By opening the SCP file, we can see where are the locations of the new composition values.

Using the "fseek" and "fwrite" commands in MATLAB, the desired values could be substituted.

Now we can run the script from MATLAB and see the changes in HYSYS file

引用格式

Maryam Ghadrdan (2024). Composition change in a stream of HYSYS from MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/30551-composition-change-in-a-stream-of-hysys-from-matlab), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 ActiveX 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0