Open Source Simulation Platforms are Becoming More and More Attractive to Users OpenModelica Implements a Property Database and Thermodynamic Calculations
Modelica is a powerful modeling language and OpenModelica is its open source platform. OpenModelica has an excellent interface to build models and to perform simulations. Unfortunately, OpenModelica did not have a library of chemical engineering models and a thermodynamic database.
However, the add of a CAPE Open thermodynamic database improved immensely its ability for performing process simulations.
DWSIM is a state of the art open source steady state process simulator. It comes with two
CAPE Open thermodynamic databases, Chemsep and the native one.
With the goal of enhancing the thermodynamic capabilities of the general purpose modeling and simulation of OpenModelica, the property database ChemSep and the thermodynamic algorithms of DWSIM have been implemented in OpenModelica.
The following three approaches, listed in the order of increasing computational efficiency, were done: Python-C API, socket programming, and a native port. The most efficient method of native port is adopted to make available NRTL, Peng–Robinson, UNIFAC, and UNIQUAC algorithms in OpenModelica. Through several examples, OpenModelica results are compared with Aspen Plus, indicating a good match in all cases.
As now OpenModelica has its own thermodynamic engine, a library of steady state chemical process models could be modeled. It may also be possible to build a library of dynamic chemical process models in OpenModelica, to carry out general purpose dynamic simulation.
More about the work of engineers and researchers on improving open source simulation platforms can be read in their recent article published in Industrial & Engineering Chemistry Research 2019.
More information about available open source simulation platforms are available in the article: Review of open source simulation platforms.