Professional Documents
Culture Documents
Summary
More Information
This solution is a tutorial example to demonstrate how to perform fluid phase data regression using UniSim
ThermoWorkbench. The regressed data is also verified with UniSim Design. Fluid phase data regression
allows users to tune fluid package binary interaction parameters (binary coefficients) so that vapour-liquid
equilibrium calculations match with measured experimental data.
The objective of the current solution is to provide a hands-on guide demonstrating the powerful
thermodynamic data regression features offered in UniSim ThermoWorkbench and how tuned data can be
used with UniSim Design.
Introduction
This case considers a set of vapour-liquid equilibrium calculations in UniSim Design using the NRTL activity
coefficient model, for a binary mixture of 10 mol % n-B-Acetate and 90 mol % Methanol. In this specific case,
the results from UniSim Design using the default fluid package parameters were found not to be in
agreement with some specific laboratory data (Table 1).
Experimental data for this binary pair was found in the literature (DECHEMA) and is presented in Table 2.
The data is in the form of PXY data, where P is the pressure in kPa, x is the mole fraction of methanol in
liquid phase and y is the mole fraction of methanol in vapor phase.
Regression procedure
The step by step procedure for a fluid phase data regression technique using UniSim ThermoWorkbench is
outlined below:
1. Open UniSim ThermoWorkbench and select the Fluid Package Manager from the Managers
menu (Fig - 1).
2. Click the Add Fluid Package button (Fig. -2). The fluid package selection window will appear.
3. Select the Property Package tab (Fig. -3).
Select the Liquid radio button and select NRTL from the list for the liquid phase property model.
Similarly, select the Vapour radio button and choose Ideal Gas for the vapour phase model. Note
that any combination of liquid and vapor models can be selected but it is the responsibility of the
user to ensure the chosen models are suitable for the particular components and conditions.
4. Select the Components tab and add the two components n-B-Acetate and Methanol. This is
similar to adding components in UniSim Design. At this point the default fluid package name
Fluid1 can be changed if desired.
5. Select Thermodynamic WorkBench Manager from the Managers menu.
6. Select FluidPhaseRegression from the list and click Add. The Fluid Phase Regression window
appears (Fig.-4).
7. Select the fluid package name Fluid1 using the Fluid Package Selection dropdown list.
8. Click the Add button from the Dataset Selection box. The first dataset, Dataset1, will open
(Fig. -5). Note UniSim ThermoWorkbench does not allow changing the dataset name.
9. In this tutorial we have only PXY data. So select PXY from Type dropdown list and choose the
appropriate units (mole fraction in this case) from the Basis dropdown list.
10. Now we need to select the objective function. This selection is important because the choice of
objective function will control the variables to which the error function will be minimized. For
example, one might want to select the vapour composition optimization function (VapourComp) t
minimize with respect to measured vapour composition, or relative volatility (RelVolatility) to
minimize with respect to relative volatility, and so on. For further details refer to the UniSim
ThermoWorkbench documentation.
In this case we shall select Activity Coefficient as the objective function. This is the default
function for activity models like NRTL and is very useful when regressing data reported at infinite
dilution.
Note that the same objective function can be accessed from two different locations: from the
Fluid Phase Regression view, Summary tab and from the Fluid Phase Dataset view, Basic Data
tab. Note also that the available objective functions in the dropdown list depend on the dataset
type.
11. Now the first set of laboratory data is entered in Dataset1 (Fig -6).
Similarly the second and third datasets are entered from Table 2.
12. The next step is to set the degrees of freedom of the binary interaction parameters. Go to the
Variables tab of the Fluid Phase Regression view and select the Degrees of Freedom radio
button (Fig.-7).
13. In the Interaction Parameters table, select the cell containing the interaction parameters and
select the desired status (Locked, Glued or Free). For this tutorial, we shall use Free which
allows the optimizer to freely change the values of the interaction parameters independently.
14. Now we are ready to invoke the optimizer. Click the Optimize button located at the bottom of
Fluid Phase Regression view and the interaction parameters will be optimized to match the i
data.
15. The results with the new optimized interaction parameters can be checked by performing flas
calculations in UniSim ThermoWorkbench by defining a stream, using the Stream Manager f
the Managers menu.
16. Additionally, the fluid package data can also be transferred to UniSim Design by clicking the
Export to UniSim Design icon on the fluid package manager window ( ). After exporting t
data to UniSim Design the vapour liquid equilibrium is calculated again and this time it is fou
that the calculated data are in close agreement with the laboratory data (Table-3).
In this tutorial, vapour liquid equilibrium data of n-B-Acetate and Methanol are optimized using t
regression functionality in UniSim ThermoWorkbench. It was found that results obtained using r
interaction parameters closely matches with the original laboratory data.