Index of /skoge/software/matlab-hysis-link

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]README.html2010-07-15 11:09 1.6K 
[   ]hysyslib.zip2010-07-15 11:09 18K 
[DIR]hysyslib/2010-07-15 11:09 -  
[TXT]readme.txt2010-07-15 11:09 1.6K 



13Mar2008

Hysyslib - manipulate Hysys from Matlab, now also for dynamic mode
by Olaf Trygve Berglihn 

FOR UPDATED VERSIONS SEE HERE:
http://www.pvv.org/~olafb/software/hysyslib/

As part of a project sometime back around 1998, if I recall correctly,
I made a simple tool to control Hysys from Matlab.  Using this tool,
Matlab can be used to start/stop the solver or integrator (in dymamic
mode), read/set spreadsheet values, read the units of the variables,
and read the integrator time (dynamic mode).  Spreadsheet variables
can be exported to process units (e.g. let the spredsheet set unit ops
parameters or properties) - for manipulating from Matlab.  Equally,
process unit parameters or properties can be imported to the
spreadsheet - for reading in Matlab.

Initially, the tool did only handle steady state, and controlling the
solver while not converged was not working.  After a steady number of
feedback emails over the years, I decided to implement support for
better control of the solver, and also add support for handling
dynamic mode (thanks to a tip from John Morud).

The tool(box) is very simple, and each function is at most a couple of
lines of m-script code.  If you need to do something more advanced,
reading the source code can give you a starting point.



IMPORTANT NOTE FOR MATLAB R13 (6.5) USERS

On Matlab r13 systems there is a bug in the COM-tools.  The hysyslib won't work
properly unless you patch your Matlab system.  For more info, see the link
to Mathworks support information below:

http://www.mathworks.com/support/solutions/data/1-1ABU3.html?solution=1-1ABU3

-- Olaf Trygve Berglihn