화학공학소재연구정보센터
Industrial & Engineering Chemistry Research, Vol.58, No.18, 7551-7560, 2019
Implementation of a Property Database and Thermodynamic Calculations in OpenModelica for Chemical Process Simulation
An attempt has been made to enhance the thermodynamic capability of the general purpose modeling and simulation environment OpenModelica. The property database ChemSep and the thermodynamic algorithms of DWSIM are made available in OpenModelica. The following three approaches, listed in the order of increasing computational efficiency, are attempted in this work: 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. This work is released as an open source to enhance the collaboration among chemical engineers.