Toolbox for the Modeling and Analysis of Thermodynamic Systems