Exporting and Importing Thermodynamic Systems
Export Thermodynamic System
Right-click the thermodynamic system node for the thermodynamic system that you want to export (Figure 2-8) and select Export Thermodynamic System. Use the Select File window to store the thermodynamic system.
Note that only the thermodynamic system definition is exported, for example the underlying species data (from the database), the included phases, and the applied thermodynamic models. Property values and functions created using the thermodynamic system are not stored.
Import Thermodynamic System
Right-click the Thermodynamics node and select Import Thermodynamic System (Figure 2-2). Use the Select File window to navigate to a thermodynamic system file and click Open.
It is possible to manually modify the species properties, such as parameters and temperature-dependent functions, in the created Thermodynamic System by using Export Thermodynamic System and Import Thermodynamic System. In the saved xml file from Export thermodynamic system, there are all parameters and temperature-dependent properties for species, which are saved inside a <Compound CompID="name"></Compound> block. For example, to edit the acentric factor of methane from 0.01141 to 0.2 perform the following steps
<Compound CompID="methane">
<AcentricFactor >0.2</AcentricFactor>.
To use the system with the updated species, right-click the Thermodynamics node and select Import System.
For temperature-dependent functions, for example for the (saturated) liquid density, the database input is of the form:
<Density>
<Phase>Liquid</Phase>
<Coefficients>Tlb;a0;a1;a2;a3;Tub</Coefficients>
<Data>Tlb;f(Tlb);Tub;f(Tub)</Data>
<Comment></Comment>
</Density>
Here Tlb and Tub defines the lower and upper bound for a temperature range, and a1 to a4 are the corresponding coefficients for a cubic polynomial as f(T) = a0 + a1T+ a2T2+ a3T3 fitted for that range. Multiple sequential ranges can be added by appending temperature ranges and coefficient sets. The <Data></Data> block can be used to input data points directly.
The unit for temperature is K. The unit used for the temperature dependent properties (fitted polynomials functions) are defined in the table below: