New-server-foss-2/C2/new-server-tut-2/English

From Script | Spoken-Tutorial
Jump to: navigation, search
Visual Cue Narration
Slide Number 1

Title Slide

Welcome to this spoken tutorial on Binary Phase Envelope in DWSIM.
Slide Number 2

Learning Objective

In this tutorial, we will learn to generate:
  • Txy plot at given pressure
  • xy plot for the obtained Txy data
  • Pxy plot at given temperature
Slide Number 3

System Requirements

To record this tutorial, I am using
  • DWSIM 5.2 (Classic UI) and
  • Windows 10

The process demonstrated in this tutorial is identical in other OS also, such as-

  • Linux,
  • Mac OS X or
  • FOSSEE OS on ARM.
Slide Number 4

Pre-requisites

To practice this tutorial, you should know to,


  • add components to a flowsheet
  • select thermodynamic packages
  • add material streams and specify their properties.
Slide Number 5


Prerequisite Tutorials and Files

www.spoken-tutorial.org

The pre-requisite tutorials are mentioned on our website.


You can access these tutorials and all the associated files from this site.

Slide Number 6


Feed Conditions


Mass Flow: 120 kmol/h

Mole Fraction(Ethanol): 0.5

Mole Fraction(1-propanol): 0.5

Temperature: 30 degree C

Pressure: 3.5 bar

Property Package: Soave-Redlich-Kwong (SRK)

In this tutorial, using DWSIM, we will generate:


1) Txy plot at a constant pressure of 1.013 bar

2) xy plot for the obtained Txy data

3) Pxy plot at a constant temperature of 750C


Here we give compounds, inlet stream conditions and property package.

I have already opened DWSIM on my machine.
File >>New Steady-state Simulation Go to File menu and select New Steady-state Simulation.
Point to Simulation Configuration Wizard window Simulation Configuration Wizard window appears.
Click on Next. At the bottom, click on the Next button.
Type Ethanol in the Search tab Now, in the Compounds Search tab, type Ethanol.
ChemSep database >>Ethanol Select Ethanol from ChemSep database.
Type 1-propanol in the Search tab Similarly, add 1-propanol.
Click on Next. At the bottom, click on the Next button.
Point to Property Packages The Property Packages opens.
Property Packages>>Available Property Package


Double click on Soave-Redlich-Kwong (SRK)

From Available Property Packages list, double-click on Soave-Redlich-Kwong (SRK).
Click on Next. Then click on the Next button.
Point to Flash Algorithm We are moved to a new window named Flash Algorithm.
Default Flash Algorithm >>Nested Loops (VLE) From Default Flash Algorithm select Nested Loops(VLE)
Click Next At the bottom, click on the Next button.
Point to System of Units Next option is System of Units.
System of Units >>C5 Under System of Units, select C5.
Click on Finish At the bottom, click on Finish button.
Click on maximize button. Let us maximize the simulation window for better visibility.
Let’s insert a material stream for which we have to generate the Txy, xy and Pxy plots.
Point to Flowsheet Objects. On the right hand side of the main simulation window, go to Flowsheet Objects.
In the Filter List tab(right panel), type Material Stream In the Filter List tab, type Material Stream.
Click and drag Material Stream to the flowsheet From the displayed list, drag and drop a Material Stream to the Flowsheet.
Click on MSTR-000 Click on the Material Stream “MSTR-000” to view its properties.
Type Feed Let’s change the name of this stream to Feed.
Point to Feed stream properties. Now we will specify the Feed stream properties.
Go to Input Data.

Input Data>>Flash Spec>>Temperature and Pressure(TP)

Go to Input Data.


Select Flash Spec as Temperature and Pressure (TP), if not already selected.


By default, Temperature and Pressure are already selected as Flash Spec.

Input Data >>Temperature >>30 C

Press Enter

Change Temperature to 30 deg C and press Enter.
Input Data >>Pressure >>3.5 bar

Press Enter

Change Pressure to 3.5 bar and press Enter.
Input Data >>Molar Flow >>120 kmol/h

Press Enter

Change Molar Flow to 120 kmol/h and press Enter.
Cursor on the window. Now let us specify the feed stream compositions.
Composition >>Basis >>Mole Fractions Under Composition, choose the Basis as Mole Fractions, if not already selected.


By default, Mole Fractions will be selected as Basis.

Ethanol: 0.5


For Ethanol, enter the Amount as 0.5 and press Enter.
1-propanol: 0.5 Similarly, for 1-propanol, enter it as 0.5 and press Enter.
Point to the green tick mark.

Click Accept Changes

On the right side, click on this green tick to Accept Changes.
Click on Utilities Now we will see how property package calculates phase equilibrium data of compounds.


To do this, go to Utilities.

Click on Add Utility Click on Add Utility.
Object Type >> Material Streams In the Add Utility window under Object Type, select Material Streams.
Utility Type >> Binary Phase Envelope Under Utility Type, select Binary Phase Envelope.
Flowsheet Object >> Feed Under Flowsheet Object, select Feed.
Click on Add Utility At the bottom, click on the Add Utility button.
Point to Binary Phase Envelope window Binary Phase Envelope window opens.
Drag the phase envelope window. Let us adjust the phase envelope window'Bold text' for better visibility.
Name >> Txy-plot Enter Name as Txy-plot.
Point to Diagram Settings. Go to Diagram Settings.
Compound 1 >> Ethanol Select Ethanol as Compound 1, if not already selected.


By default, Ethanol is selected as Compound 1.

Compound 2 >> 1-propanol Make sure that the other compound is selected as Compound 2.


In this case, it is 1-propanol which is Compound 2.

Envelope type >> Txy Select Envelope type as Txy, if not already selected.


By default, Txy is selected as Envelope type.

Txy Diagram Options >> VLE Select Txy Diagram Options as VLE, if not already selected.


By default, VLE is selected as Txy Diagram Options.

X-Axis Basis >> Mole Fraction Select X-Axis Basis as Mole Fraction, if not already selected.


By default, Mole Fraction is selected as X-Axis Basis

Pressure >> 1.013 bar Enter Pressure as 1.013 bar.
Here we are going to plot a Txy diagram.


So let us not worry about the pressure value.

Point to Soave-Redlich-Kwong (SRK) Make sure that the property package is selected as Soave-Redlich-Kwong (SRK)
Click on Calculate button at the bottom. Now click on Calculate button at the bottom.
Point to Txy diagram


Point to X-axis


Point to Y-axis

The diagram generated is a Txy diagram or Constant Pressure Phase Diagram.


X-axis indicates the mole fraction of Ethanol.

Y -axis indicates the temperature range for which the VLE is generated.

Point to Bubble Point Curve The lower line of the envelope represents Bubble Point Curve.
Point to lower line Ethanol mole fraction value


Point to bubble point temperature value

Hover the mouse to the lower line at Ethanol mole fraction'Bold text' of 0.5.


We can see the bubble point temperature to be 86.2853 deg C.

Point to the subcooled region. For any mixture composition below this line, is subcooled liquid.
Point to Dew Point Curve The upper line of the envelope represents Dew Point Curve.
Point to upper line Ethanol mole fraction value


Point to dew point temperature value

Hover the mouse to the upper line at Ethanol mole fraction of 0.5.


We can see the dew point temperature to be 89.5881 deg C

Point to the superheated vapour region. For any mixture composition above this line, the mixture is superheated vapour.
Point to VLE region


The area enclosed between these two lines is the VLE region.


Here both vapor and liquid phases exist in equilibrium.

Point to Results section >> click on Table


point to the values.

We can see the bubble points and dew points at every composition.


For this, go to Results section and click on Table.


Here we can see the corresponding mole fractions and temperatures values.

Let us now generate the xy plot for data obtained in the above Txy diagram.
Close this window Close this window.
Utilities >> Add Utility Go to Utilities and click on Add Utility.
Object Type >> Material Streams In the Add Utility window, under Object Type, select Material Streams.
Utility Type >> Binary Phase Envelope Under Utility Type, select Binary Phase Envelope.
Flowsheet Object >> Feed Under Flowsheet Object, select Feed.
At the bottom, click on the Add Utility button. At the bottom, click on the Add Utility button.
Point to Binary Phase Envelope window Once again, Binary Phase Envelope window opens.
Let us adjust the window for better visibility.
Name >> xy-plot Enter Name as xy-plot.
Go to Diagram Settings. Go to Diagram Settings.
Let the Compound settings be the default settings.
Envelope type >> (T)xy Select Envelope type as (T)xy.
X-Axis Basis >> Mole Fraction Select X-Axis Basis as Mole Fraction, if not already selected.


By default, Mole Fraction is selected as X-Axis Basis.

Pressure >> 1.013 bar Enter Pressure as 1.013 bar.
Click on Calculate button at the bottom. Now click on Calculate button at the bottom.
Point to xy diagram


Point to X-axis


Point to Y-axis

The diagram is generated is called xy diagram.


X-axis indicates the mole fraction of Ethanol in liquid phase.


Y -axis indicates the mole fraction of Ethanol in vapour phase.

Point to Equilibrium Curve The upper curve is called Equilibrium Curve.
Point to upper line Ethanol mole fraction value


Point to vapour phase mole fraction of Ethanol value

Hover the mouse to the upper line at Ethanol mole fraction of 0.6.


We can see the vapour phase mole fraction of Ethanol to be 0.7539.

Let us generate the Pxy plot now.
Close this window. Close this window.
Utilities >> Add Utility Go to Utilities and click on Add Utility.
Object Type >> Material Streams In the Add Utility window, under Object Type, select Material Streams.
Utility Type >> Binary Phase Envelope Under Utility Type, select Binary Phase Envelope.
Flowsheet Object >> Feed Under Flowsheet Object, select Feed.
At the bottom, click on the Add Utility button. At the bottom, click on the Add Utility button.
Point to the window. Once again, Binary Phase Envelope window opens.
Drag the window to adjust. Let us adjust the window for better visibility.
Name >> Pxy-plot Enter Name as Pxy-plot.
Go to Diagram Settings Go to Diagram Settings.
Let the Compound settings be the default settings.
Envelope type >> Pxy Select Envelope type as Pxy.
X-Axis Basis >> Mole Fraction Select X-Axis Basis as Mole Fraction, if not already selected.


By default, Mole Fraction is selected as X-Axis Basis.

Temperature >> 75 degree C Enter Temperature as 75 degC.
Here we are going to plot a Pxy diagram.


So let us not worry about the temperature value.

Property Package >> Soave-Redlich-Kwong (SRK) Make sure that the property package is selected as Soave-Redlich-Kwong (SRK)
Click on Calculate button at the bottom. Now click on Calculate button at the bottom.
Point to Pxy diagram


Point to X-axis


Point to Y-axis

The diagram generated is a Pxy diagram or Constant Temperature Phase Diagram.


X-axis indicates the mole fraction of Ethanol.


Y -axis indicates the Pressure range for which the VLE is generated.

Point to Dew Points The lower line of the envelope represents Dew Points.
Point to lower line Ethanol mole fraction value


Point to dew point temperature value

Hover the mouse to the lower line at Ethanol mole fraction of 0.4.


We can see the dew point pressure to be 0.523 bar.

Point to the line. For any mixture composition below this line, is completely vapour.
Point to Bubble Points The upper line of the envelope represents Bubble Points.
Point to upper line Ethanol mole fraction value


Point to bubble point temperature value

Hover the mouse to the upper line at Ethanol mole fraction of 0.8.


We can see the bubble point pressure to be 0.782 bar.

Point to the line. For any mixture composition above this line, is completely liquid.
Point to VLE region The area enclosed between these two lines is the VLE region.


Here both vapor and liquid phases exist in equilibrium.

Point to Results section

Click on Table


Now, go to Results section.

Click on Table.

Here we can see the corresponding mole fractions and pressure values.

Let's summarize.
Slide Number 7


Summary

In this tutorial, we have learnt to generate:


  • Txy plot at given pressure
  • xy plot for the Txy data obtained above
  • Pxy plot at given temperature
Slide Number 8


Assignment

Generate P(xy) plot for the Pxy data obtained.

Generate the P(xy) plot using NRTL model.

Compare the results.

Slide Number 9

About the Spoken Tutorial Project

Watch the video available at following link.

http://spoken-tutorial.org/

It summarizes the Spoken Tutorial project.

Slide Number 10

Spoken Tutorial Workshops

The Spoken Tutorial Project Team
  • Conducts workshops and gives certificates
  • For more details, please write to us.
Slide Number 11


Forum Slide


  • Do you have questions in this Spoken Tutorial?
  • Please visit this site
  • Choose the minute and second where you have the question.
  • Explain your question briefly.
  • Someone from the FOSSEE team will answer them.
Please post your times queries in this forum.
Slide Number 12

DWSIM Flowsheeting Project


The FOSSEE team coordinates conversion of existing flow sheets into DWSIM.

We give honorarium and certificates.

For more details, please visit this site.

Slide Number 13

TextBook Companion Project

The FOSSEE team coordinates coding of solved examples of popular books.

We give honorarium and certificates.

For more details, please visit this site.

Slide Number 14

Lab Migration Project

The FOSSEE team helps migrate commercial simulator labs to DWSIM.

We give honorarium and certificates.

For more details, please visit this site

Slide Number 15

Acknowledgements

Spoken Tutorial and FOSSEE projects are funded by NMEICT, MHRD, Government of India.
Slide Number 16

Thanks

This tutorial is contributed by Kaushik Datta and Priyam Nayak.


Thanks for joining.

Contributors and Content Editors

Kaushik Datta