Build 3908 adds a scripting engine for DWSIM, with support for
IronPython, IronRuby, VBScript and JScript.
Download Page:
http://sourceforge.net/apps/mediawiki/dwsim/index.php?title=Downloads
Just to give you an idea, with scripts you can:
- Add, remove, connect, disconnect, clone objects in a flowsheet
- Change objects properties, calculate single objects or the entire
flowsheet
- Read data from external sources, integrate DWSIM with plant
monitoring systems
- Use the thermodynamic routines to do complex calculations
To make use of the full power of the new engine, I added a new Custom
Unit Operation, where you can define a script that works as the
calculation routine for the object. It works the same way as in the
Flowsheet Script Window. The only difference is that you just have
more "pre-added" reference variables corresponding to the object
itself and its input and output streams.
If your download this build and give it a try, send some feedback. It
helps A LOT. Thanks!
/Daniel