Difference between revisions of "DWSIM/C2/Introduction-to-Flowsheeting/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "{|border=1 ||'''Visual Cue''' ||'''Narration''' |- || '''Slide Number 1''' '''Title Slide''' || Welcome to this tutorial on '''Introduction to flowsheeting''' in '''DWSIM'''...")
 
 
(One intermediate revision by the same user not shown)
Line 29: Line 29:
  
 
'''Prerequisites'''
 
'''Prerequisites'''
|| To practice this tutorial, you should have an exposure to '''DWSIM'''.  
+
|| To practice this tutorial, you should have an introductory exposure to '''DWSIM'''.  
  
 
The prerequisite '''DWSIM '''tutorials are mentioned on our website.
 
The prerequisite '''DWSIM '''tutorials are mentioned on our website.
Line 147: Line 147:
 
|-  
 
|-  
 
|| Type '''Mixer'''
 
|| Type '''Mixer'''
|| We will name it as '''Mixer.'''
+
 
 +
Press '''Enter'''.
 +
|| Let's change the name of '''MIX-002''' to '''Mixer.'''
 +
 
 +
Press '''Enter'''.
 
|-  
 
|-  
 
|| Click and drag '''Material Stream''' to the flowsheet
 
|| Click and drag '''Material Stream''' to the flowsheet
|| Now let us insert an '''output stream''' for this '''mixer'''.  
+
|| Now let us insert an '''output stream''' for the '''mixer'''.  
 
|-  
 
|-  
 
||
 
||
Line 239: Line 243:
 
|-  
 
|-  
 
|| Click on '''Solve Flowsheet''' button
 
|| Click on '''Solve Flowsheet''' button
|| So, click on '''Solve Flowsheet''' button on the toolbar.
+
|| So, click on the '''Solve Flowsheet''' button on the toolbar.
 
|-  
 
|-  
 
|| Point to the '''Mixer'''
 
|| Point to the '''Mixer'''
Line 272: Line 276:
 
|-  
 
|-  
 
|| Point to '''Separators/Tanks'''
 
|| Point to '''Separators/Tanks'''
|| At the bottom of the main '''simulation''' window, go to '''Separators/Tanks''' tab.
+
|| At the bottom of the main '''simulation''' window, go to '''Separators/Tanks'''.
  
 
|-  
 
|-  
Line 285: Line 289:
 
|-  
 
|-  
 
|| Click and drag '''Material Stream''' to the flowsheet
 
|| Click and drag '''Material Stream''' to the flowsheet
|| Drag and drop a '''Material Stream''' to the '''flowsheet'''.  
+
|| Drag and drop a '''Material Stream''' to the '''flowsheet''' area.  
  
 
We will leave that '''stream''' as unspecified, as its properties are to be calculated.  
 
We will leave that '''stream''' as unspecified, as its properties are to be calculated.  
Line 293: Line 297:
 
|-  
 
|-  
 
|| Type '''Liquid'''
 
|| Type '''Liquid'''
|| Similarly, add another '''stream''' and name it as '''Liquid.'''  
+
|| Similarly, add another '''material stream''' and name it as '''Liquid.'''  
 
|-  
 
|-  
 
|| Click '''Separator Vessel'''
 
|| Click '''Separator Vessel'''
Line 308: Line 312:
  
 
Select''' mixer-out.'''
 
Select''' mixer-out.'''
|| Under '''Connections,''' click on the drop-down against '''Inlet Stream 1''' and select '''mixer-out.'''
+
|| Under '''Connections,''' click on the drop-down against '''Inlet Stream 1'''.
 +
 
 +
Select '''mixer-out.'''
 
|-  
 
|-  
 
|| Point to the other '''Inlet Streams'''
 
|| Point to the other '''Inlet Streams'''
Line 331: Line 337:
 
|-  
 
|-  
 
|| Click on '''Solve Flowsheet''' button.
 
|| Click on '''Solve Flowsheet''' button.
||Click on '''Solve Flowsheet''' button on the toolbar.  
+
||Then click on '''Solve Flowsheet''' button on the toolbar.  
 
|-  
 
|-  
 
||
 
||
Line 384: Line 390:
 
|| In this tutorial, we have learnt to
 
|| In this tutorial, we have learnt to
 
* Simulate a '''mixer'''  
 
* Simulate a '''mixer'''  
* Follow it up with a '''flash separator'''  
+
* Follow it up with a '''flash separator''' and
 
* Give a '''two phase feed '''
 
* Give a '''two phase feed '''
 
|-  
 
|-  
Line 412: Line 418:
 
||'''Assignment 4 slide'''
 
||'''Assignment 4 slide'''
 
||In the next assignment, you will do the separation at a higher temperature.  
 
||In the next assignment, you will do the separation at a higher temperature.  
|-
 
|| Click '''Separator'''
 
  
'''Property Editor Window''' >> '''Calculation Parameters'''
+
Click on '''Separator'''.
|| Click on '''Separator.'''
+
  
From the '''Property Editor Window''', go to '''Calculation Parameters''' section.
+
Change '''Override separation temperature''' value to 100 degree C.
|-
+
 
|| Click on '''Override Sep. Temperature''' check box.
+
Bring Energy stream from '''Object Palette''' to the flowsheet.
|| Select the '''Override Sep. Temperature''' check-box.
+
|-
+
|| Type '''100'''
+
|| In the resulting field, change the value to '''100.'''
+
|-
+
|| Click and drag '''Energy Stream''' to the flowsheet
+
|| Bring '''Energy stream''' from '''Object Palette''' to the '''flowsheet'''.
+
  
Connect this '''stream''' to the '''Energy Stream''' of the '''Separator'''.
+
Connect this stream to the '''Separator'''.
  
'''Simulate''' and analyse your results.  
+
Simulate and analyse your results.
 
|-  
 
|-  
 
|| '''Slide Number 8'''
 
|| '''Slide Number 8'''
Line 465: Line 461:
  
 
Someone from the FOSSEE team will answer them.  
 
Someone from the FOSSEE team will answer them.  
|| Please post your times queries in this forum.  
+
|| Please post your timed queries in this forum.  
 
|-  
 
|-  
 
|| '''Slide Number 11'''
 
|| '''Slide Number 11'''

Latest revision as of 10:43, 17 January 2020

Visual Cue Narration
Slide Number 1

Title Slide

Welcome to this tutorial on Introduction to flowsheeting in DWSIM
Slide Number 2

Learning Objectives

In this tutorial, we will learn to:
  • Simulate a mixer
  • Follow it up with a flash separator
  • Give a two phase feed
Slide Number 3

System Requirements

This tutorial is recorded using
  • DWSIM version 5. 8 (Classic UI) Update 3 and
  • Windows 10 OS

But, this process is identical in Linux, Mac OS X or FOSSEE OS on ARM.

Slide Number 4

Prerequisites

To practice this tutorial, you should have an introductory exposure to DWSIM.

The prerequisite DWSIM tutorials are mentioned on our website.

Slide Number 5

Code Files

flow-begin file used in the tutorial is provided as a Code file on this tutorial page.

Download the file from Code Files link.

Show DWSIM interface I have already opened DWSIM on my machine.
Please ensure that DWSIM opens as an administrator.
File >> Open File Go to File menu and click on Open File.
Point to the file on the Desktop.

Select the file from the Desktop.

I have already downloaded and extracted the flow-begin file on my Desktop.

Select the file from the Desktop.

This file already contains all the material streams necessary for this tutorial.

Point to the Inlet1 and Inlet2 streams You can see two streams Inlet1 and Inlet2 in the flowsheet canvas.
Let us go back to the slides.
Slide Number 6

Components: Benzene & Toluene

Inlet Stream 1:

Mole Fraction(Benzene): 0.8

Mole Fraction(Toluene): 0.2

Molar Flow Rate: 100 mol/s

Temperature: 25 degree C

Pressure: 1 atm

Inlet Stream 2:

Mole Fraction(Benzene): 0.2

Mole Fraction(Toluene): 0.8

Molar Flow Rate: 100 mol/s

Temperature: 25 degree C

Pressure: 1 atm

It summarises the contents of this file.

When we mix these streams, we get equimolar composition.

Let us go back to DWSIM.
Select Inlet 1 We will now modify the streams, so as to have vapor in them.

Select Inlet 1.

Point to Property Editor Window. On the left, go to the Property Editor Window.
Go to Input Data.

Stream Conditions >> Flash Spec >> Pressure and Vapor Fraction. (PVF)

Go to Input Data.

Under Stream Conditions tab, select Flash Spec as Pressure and Vapor Fraction. (PVF)

Vapor Phase Mole Fraction >> 1


Type Vapor Phase Mole Fraction as 1 and press Enter.

Here the entire stream is a vapor.

In a similar way, make Inlet2 to have 50% vapor fraction.
Select Inlet2 Select Inlet 2.
Stream Conditions >> Flash Spec >> Pressure and Vapor Fraction. (PVF) Under Stream Conditions tab, select Flash Spec as Pressure and Vapor Fraction. (PVF)
Vapor Phase Mole Fraction >> 0.5 Type Vapor Phase Mole Fraction as 0.5 and press Enter.
Now let us insert a mixer to the flowsheet.
Point to Mixers/Splitters At the bottom of the main simulation window, go to Mixers/Splitters.
Click and drag Stream Mixer to the flowsheet From the displayed list, drag and drop a Stream Mixer to the Flowsheet
Click MIX-002 Click on the mixer named MIX-002.
Type Mixer

Press Enter.

Let's change the name of MIX-002 to Mixer.

Press Enter.

Click and drag Material Stream to the flowsheet Now let us insert an output stream for the mixer.
Click on Streams tab.
Click and drag Material Stream to the flowsheet From the displayed list, drag and drop a Material Stream to the Flowsheet.
We will leave that stream as unspecified.
Type mixer-out

Press Enter.

Let’s change the name of this stream to mixer-out.

Press Enter.

Click Mixer We are now ready to specify the Mixer.

So let’s click on it.

Point to the tab on the left. On the left, we can see a tab displaying properties related to the Mixer.
Point to the Connections tab Here we can see that the mixer has up to 6 inlet streams.
Go to Connections

Click on drop down arrow against Inlet Stream 1

Select Inlet1.

Under Connections, click on the drop-down against Inlet Stream 1.

Select Inlet1.

Click on drop down arrow against Inlet Stream 2

Select Inlet2.

Click on the drop-down against Inlet Stream 2 and select Inlet2.
Click on drop down arrow against Outlet Stream

Select mixer-out

Click on the drop-down against Outlet Stream and select mixer-out.
We can move the streams to make them better aligned.
Cursor to the mixer The mixer is red, as it is not simulated yet.
Click on the mixer. Click on the mixer.
Cursor to Calculation Parameters

Cursor to Pressure Calculation

Go to Calculation Parameters.

Click on the drop-down against Pressure Calculation.

We can see there are three different modes of Pressure Calculation:

  • Inlet Minimum
  • Inlet Average
  • Inlet Maximum
Point to Inlet Minimum Select Inlet Minimum if outlet pressure has to be minimum of all inlet streams.
Point to Inlet Average Select Inlet Average if outlet pressure has to be average of all inlet streams.
Point to Inlet Maximum Select Inlet Maximum if outlet pressure has to be maximum of all inlet streams.
Here both the inlet streams are at 1 atm pressure.

So, the Pressure Calculation mode will not matter here.

By default, Inlet Minimum is selected, we will leave it unchanged.

Now we will run the simulation.
Click on Solve Flowsheet button So, click on the Solve Flowsheet button on the toolbar.
Point to the Mixer The mixer has become blue now.

It means that the calculations are completed.

Click on mixer-out and hover mouse at Properties

Point to Property Editor Window

Hover mouse at Results

Now click on mixer-out stream.

Go to the Property Editor Window of the Mixer.

Locate Results tab.

Navigate to Compounds >> Amounts >> Mixture. Navigate to Compounds >> Amounts >> Mixture.
We can verify that its composition is as expected.

It has equimolar composition.

Now let us insert a Gas-Liquid Separator.
It can be used to simulate VLE, LLE and VLLE systems.
Point to Separators/Tanks At the bottom of the main simulation window, go to Separators/Tanks.
Click and drag Gas-Liquid Separator to the flowsheet From the displayed list, drag and drop a Gas-Liquid Separator to the Flowsheet.
Click SEP-004 Click on the Gas-Liquid Separator named SEP-004.
Now we will connect two output streams to the Separator.
Click and drag Material Stream to the flowsheet Drag and drop a Material Stream to the flowsheet area.

We will leave that stream as unspecified, as its properties are to be calculated.

Type Vapour We will name it as Vapour.
Type Liquid Similarly, add another material stream and name it as Liquid.
Click Separator Vessel We are now ready to specify the Gas-Liquid Separator.

So let’s click on it.

Point to the tab on the left. On the left, we can see a tab displaying properties related to the Gas-Liquid Separator.
Go to Connections

Click on drop down arrow against Inlet Stream 1

Select mixer-out.

Under Connections, click on the drop-down against Inlet Stream 1.

Select mixer-out.

Point to the other Inlet Streams We can now connect a total of five more input streams.

The Separator mixes all the streams and separates.

Cursor to the Energy Stream section It also has a port to connect an Energy Stream.
Click on the drop down against Vapour Stream

Select Vapour.

Click on the drop-down against Vapour Stream and select Vapour.
Click on the drop down against Light Liquid Stream

Select Liquid.

Similarly, click on the drop-down against Light Liquid Stream.

Select Liquid.

Click on Solve Flowsheet button. Then click on Solve Flowsheet button on the toolbar.
Now we will check whether the vapor and liquid are split properly in the separator.
Click on Vapour

Point to Property Editor Window

Hover mouse at Results

Now click on Vapour stream.

From the Property Editor Window, locate Results section.

Navigate to Compounds >> Amounts >> Vapor. Navigate to Compounds >> Amounts >> Mixture.
Point to the value The mole fraction of Benzene is 0.55.
We can do a check on the working of the Mixer also.
Click on Mixer

Point to Property Editor Window

Hover mouse at Results

Now click on mixer-out.

From the Property Editor Window, locate Results section.

Navigate to Compounds >> Amounts >> Mixer. Navigate to Compounds >> Amounts >> Vapor.
Point to the value The mole fraction of Benzene is 0.55.
Click on File and Click Save As Let us now save this file using the Save As option.
Type flow-end I will save it as flow-end.
Let's summarise.
Slide Number 7

Summary

In this tutorial, we have learnt to
  • Simulate a mixer
  • Follow it up with a flash separator and
  • Give a two phase feed
Here are some assignments for you.
Assignment 1 slide The assignment in this slide has to do with mass balances.

I use blue colour to indicate streams and equipment.

Let us go to the next assignment.
Assignment 2 slide You have to verify mole fractions as mentioned in this slide.
Assignment 3 slide The third assignment has to do with the Separator.

Recall that we mentioned that it could be used to mix streams.

Remove the mixer and mixer-out and try it out.

See if you get the same answers.

Assignment 4 slide In the next assignment, you will do the separation at a higher temperature.

Click on Separator.

Change Override separation temperature value to 100 degree C.

Bring Energy stream from Object Palette to the flowsheet.

Connect this stream to the Separator.

Simulate and analyse your results.

Slide Number 8

About the Spoken Tutorial Project

Watch the video available at the following link.

http://spoken-tutorial.org/

It summarizes the Spoken Tutorial project.

Slide Number 9


Spoken Tutorial Workshops

The Spoken Tutorial Project Team conducts workshops and gives certificates.

For more details, please write to us.

Slide Number 10

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 timed queries in this forum.
Slide Number 11

DWSIM Flowsheeting Project

The FOSSEE team coordinates conversion of existing flowsheets into DWSIM.

We give honorarium and certificates for those who do this.

For more details, please visit this site.

Slide Number 12


Lab Migration Project

The FOSSEE team helps migrate commercial simulator labs to DWSIM.

We give honorarium and certificates for those who do this.

For more details, please visit this site

Slide Number 13

Acknowledgements

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

Thanks

We thank the DWSIM team for making it as an open source software.

This tutorial was originally recorded by Prof Kannan Moudgalya in May 2015.

This is Kaushik Datta from IIT Bombay.

Thanks for joining.

Contributors and Content Editors

Kaushik Datta