A Thermodynamic Library for Simulation and Optimization of Dynamic Processes

Research output: Contribution to journalConference articleResearchpeer-review

1549 Downloads (Pure)


Process system tools, such as simulation and optimization of dynamic systems, are widely used in the process industries for development of operational strategies and control for process systems. These tools rely on thermodynamic models and many thermodynamic models have been developed for different compounds and mixtures. However, rigorous thermodynamic models are generally computationally intensive and not available as open-source libraries for process simulation and optimization. In this paper, we describe the application of a novel open-source rigorous thermodynamic library, ThermoLib, which is designed for dynamic simulation and optimization of vapor-liquid processes. ThermoLib is implemented in Matlab and C and uses cubic equations of state to compute vapor and liquid phase thermodynamic properties. The novelty of ThermoLib is that it provides analytical first and second order derivatives. These derivatives are needed for efficient dynamic simulation and optimization. The analytical derivatives improve the computational performance by a factor between 12 and 35 as compared to finite difference approximations. We present two examples that use ThermoLib routines in their implementations: (1) simulation of a vapor-compression cycle, and (2) optimal control of an isoenergetic-isochoric flash separation process. The ThermoLib software used in this paper is distributed as open-source software at www.psetools.org.
Original languageEnglish
Book seriesIFAC-PapersOnLine
Issue number1
Pages (from-to)3542-3547
Publication statusPublished - 2017
Event20th World Congress of the International Federation of Automatic Control - Toulouse, France
Duration: 9 Jul 201714 Jul 2017
Conference number: 20


Conference20th World Congress of the International Federation of Automatic Control
Internet address


  • Control and Systems Engineering
  • Dynamic optimization
  • Flash separation
  • Process simulation
  • Thermodynamic library
  • Vapor compression cycle
  • Vapor-liquid equilibrium


Dive into the research topics of 'A Thermodynamic Library for Simulation and Optimization of Dynamic Processes'. Together they form a unique fingerprint.

Cite this