Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

21 - Aspen Plus

In this exercise we’ll discuss how simulators like Aspen Hysys (Aspen Plus) can be used to estimate unit operation behavior, specifically a flash drum. This is an exercise to give you an introduction to material balances and on vapor liquid equilibrium.

Aspen Plus Software Access

You’ll log onto one of the CAEDM computers and open Aspen Plus. You can also access that software remotely using ‘labconnect’ for example.

Aspen Help Video

Link to video that explains a simple flash point calculation or flash drum separation step: Hysys flash drum video

Material Balance Example

A helpful video of this scenario can be found here: Aspen Plus Flash Drum Example

The conditions in the above equilibrium unit is 50C and 1 bar (see the above video).

The total liquid flow rate out is 65.06 kg/min
The amount of water in the liquid phase flowing out is: 64.97 kg/min
The mass fraction of air in the liquid out phase is: 0.00151
0.9208974894233956

Vapor Liquid Equilibrium Background

The vapor-liquid equilibrium (VLE) of a component or mixture is important in chemical engineering. You’ll take thermodynamics and there spend a significant amount of time on understanding VLE. Simply put, VLE is the ratio of the vapor mole fraction to the liquid mole fraction at a given temperature and pressure.

Ki=yixi=γi⋅Pisat/PK_i = \dfrac{y_i}{x_i} = \gamma_i\cdot P_i^{sat}/P

or for ideal solutions

yixi=Pisat/P\dfrac{y_i}{x_i} = P_i^{sat}/P

where KK is the VLE ratio for a given component ii, yiy_i is the vapor mole fraction, xix_i is the liquid mole fraction, PisatP_i^{sat} is the saturation pressure of the component, and PP is the total pressure. An ideal solution is one where the vapor and liquid phases are in equilibrium and the saturation pressure is independent of the composition of the liquid phase. Raoult’s law is an example of an ideal solution.

VLE Example Calculation with Python

The Feed is at the left and the liquid at the bottom and the vapor at the top. The vapor is richer in the more volatile component (methanol) and the liquid is richer in the less volatile component (ethanol).

Given the feed compositions, the total feed, the feed vapor fraction, and the pressure there are five variables to solve for:

  • The vapor and liquid compositions

  • The temperature

  • The vapor and liquid flow rates

The variables are found from solving the following equations assuming an ideal solution for binary system:

F=L+V : Mass Balancez1⋅F=x1⋅L+y1⋅V/L⋅L : Component BalanceHF=Hl+Hv : Energy BalanceP=x1⋅P1sat+(1−x1)⋅P2sat : Σx=1, Idealy1+(1−x1)⋅P2sat/P=1 : Σy=1, Ideal\begin{align*} F &= L + V \text{ : Mass Balance} \\ z_1\cdot F &= x_1\cdot L + y_1\cdot V/L\cdot L \text{ : Component Balance} \\ H_F &= H_l + H_v \text{ : Energy Balance} \\ P & = x_1\cdot P_1^{sat} + (1-x_1)\cdot P_2^{sat} \text{ : }\Sigma x = 1 \text{, Ideal} \\ y_1 + (1-x_1)\cdot P_2^{sat}/P &= 1 \text{ : } \Sigma y = 1 \text{, Ideal} \end{align*}
29.999999999999996
array([ 9.16268344e-01, -8.17978938e+02, 8.70454927e-01, -1.98048970e-02, -1.24141520e+05])
Check of the mole balance: 1.1921019726912618e-13
Check of the mass balance: 3.430771222667772e-10
The liquid and vapor compositions of methanol are  [0.94815887 0.96849078]
The temperature is 77.16 C
The liquid and vapor flow rates are 27.30 and 2.70 mol/hr
The molar vapor to liquid ratio is 0.09957
array([-1.31117339e-13, -3.60887498e-09, 2.40500952e-11, 1.22790667e-13, 5.90822310e-07])

VLE Example Calculation with Aspen Plus

Aspen Plus Steps

  1. Open Aspen Plus

  2. Add a component to the simulation (I added methanol and ethanol)

  3. Specify fluid properties (I used the an Ideal Solution)

  4. Add a separator (Flash2 unit) to the simulation

  5. Specify the inlet and outlet stream names by clicking on the Flowsheet tab and then Global and then the drop down on the Block ID for the unit.

  6. Specify the inlet feed composition, feed vapor fraction, and pressure (the same as specified above for the manual calculation) by then clicking on the streams dropdown tab.

  7. Specify the operating condition of the flash drum by clicking on the Blocks tab and then name of the flash drum and then input. There specify the pressure of the unit and the desired vapor fraction (by mass) of the outlets.

  8. Press the play button to run the simulation

Compared to the above manual results, the ideal solutions agree fairly well despite differences in the vapor pressure and enthalpies. If you specify a different fluid package that includes non-idealities in the solution, you’ll get a slightly different answer (hopefully a more accurate answer).

You should look to do this in your future work as an engineer: Check your answer. Never use just one source. Or in other words, doubt that you got the right answer until you prove to yourself otherwise.

Aspen HySyS Result for a Flash Drum

The same simulation can be run in Aspen Hysys. The below image shows the results for an Antione Fluid package (ideal solution). The results are similar to Aspen Plus.

Aspen Plus has more compounds.

Additional Simulation Options

You can add complexity by adding a pressure drop through the flash drum (like when the feed may be forced through an orifice). You can also add a heat source to evaporate more material such that the vapor flow rate is increased.