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

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "'''Title: Introduction to Flowsheeting''' '''Author: Priyam Nayak''' '''Keywords: '''DWSIM''', '''Material stream, simulation, compounds, thermodynamic package, unit systems...")
 
Line 54: Line 54:
 
'''Pre-requisites II'''
 
'''Pre-requisites II'''
 
|| Also, you should know how to:
 
|| Also, you should know how to:
* add components to a '''flowsheet'''
+
* add compounds to a '''flowsheet'''
 
* select '''thermodynamic packages'''
 
* select '''thermodynamic packages'''
 
* specify the properties of a '''material''' stream
 
* specify the properties of a '''material''' stream
Line 229: Line 229:
  
  
Under the '''Information '''tab, in the '''General Info''' section, we have''' Object '''field.
+
Under the '''Information '''tab, in the '''General Info''' section, we have ''' Object ''' field.
  
  
Line 238: Line 238:
  
 
'''Information''' >> '''General Info''' >> '''Object''' >> '''Feed-2'''
 
'''Information''' >> '''General Info''' >> '''Object''' >> '''Feed-2'''
|| Similarly, rename the material stream named '''2 '''as '''Feed-2'''.  
+
|| Similarly, rename the material stream named '''2 ''' as '''Feed-2'''.  
 
|-
 
|-
 
|| '''Click >> 3 >> 3 (Material Stream) Property Editor Window.'''
 
|| '''Click >> 3 >> 3 (Material Stream) Property Editor Window.'''
Line 308: Line 308:
  
  
Click on the first cell below '''Amount''' against '''Methanol '''and enter '''1'''.  
+
Click on the first cell below '''Amount''' against '''Methanol '''and enter 1.  
  
 
Press '''Enter'''.
 
Press '''Enter'''.
Line 335: Line 335:
  
 
Press '''Enter'''
 
Press '''Enter'''
|| Change '''Pressure ''' to '''202650 Pa''' and press '''Enter'''.
+
|| Change '''Pressure ''' to '''202650 Pascals''' and press '''Enter'''.
 
|-
 
|-
 
|| '''Input Data >> Stream Conditions >> Molar Flow >> 50 mol/s'''
 
|| '''Input Data >> Stream Conditions >> Molar Flow >> 50 mol/s'''
Line 403: Line 403:
 
|-
 
|-
 
|| '''Pressure Calculation >> Inlet Maximum'''
 
|| '''Pressure Calculation >> Inlet Maximum'''
|| Click on the dropbox against '''Pressure Calculation '''and select '''Inlet Maximum'''.
+
|| Click on the drop box against '''Pressure Calculation '''and select '''Inlet Maximum'''.
  
  
Line 486: Line 486:
 
|-
 
|-
 
|| '''Calculation Type >> Outlet Temperature'''
 
|| '''Calculation Type >> Outlet Temperature'''
|| Click on the dropdown against '''Calculation Type '''and select '''Outlet Temperature'''.
+
|| Click on the drop down against '''Calculation Type '''and select '''Outlet Temperature'''.
  
This is because as per the flowsheet, the temperature of the stream coming out from the cooler is mentioned.
+
This is because as per the flowsheet, the temperature of the stream coming out of the cooler is mentioned.
 
|-
 
|-
 
|| Efficiency >> 80
 
|| Efficiency >> 80
Line 497: Line 497:
 
|-
 
|-
 
|| Outlet Temperature >> 330 K
 
|| Outlet Temperature >> 330 K
|| Click on the field against '''Outlet Temperature.'''
+
|| Click on the field against '''Outlet Temperature'''.
  
 
Enter the value as '''330 K'''.
 
Enter the value as '''330 K'''.
Line 518: Line 518:
  
 
|| '''Insert >> Master Property Table'''
 
|| '''Insert >> Master Property Table'''
|| Go to the '''Insert '''menu and select '''Master Property Table'''.
+
|| Go to the '''Insert ''' menu and select '''Master Property Table'''.
 
|-
 
|-
 
|| Double click on '''Master Property Table'''
 
|| Double click on '''Master Property Table'''
  
 
Point to '''Configure Master Property Table'''
 
Point to '''Configure Master Property Table'''
|| Double-click on the '''Master Property Table '''to edit it.
+
|| Double-click on the '''Master Property Table ''' to edit it.
  
 
'''Configure Master Property Table''' window opens.
 
'''Configure Master Property Table''' window opens.
 
|-
 
|-
 
||Type '''Steamwise Results – Flowsheet'''
 
||Type '''Steamwise Results – Flowsheet'''
||In the '''Name''' field, type '''Stream Wise Results – Flowsheet.'''
+
||In the '''Name''' field, type '''Stream Wise Results – Flowsheet'''.
 
|-
 
|-
 
||Select '''Material Stream'''
 
||Select '''Material Stream'''
Line 536: Line 536:
 
|-
 
|-
 
||'''Object >> Feed-1, Feed-2, Mix-Out''' and '''Cool-Out'''
 
||'''Object >> Feed-1, Feed-2, Mix-Out''' and '''Cool-Out'''
||Under '''Properties to display''', select '''Objects''' as '''Feed-1, Feed-2, Mix-Out''' and '''Cool-Out'''.
+
||Under '''Properties to display''', select '''Objects''' as '''Feed-1''', '''Feed-2''', '''Mix-Out''' and '''Cool-Out'''.
 
|-
 
|-
 
||'''Configure Master Property Table>> Property'''
 
||'''Configure Master Property Table>> Property'''
||Under '''Property, '''scroll down to see all the parameters.
+
||Under '''Property''', scroll down to see all the parameters.
  
Now select the properties as
+
Now select the properties as:
  
 
'''Temperature'''
 
'''Temperature'''
Line 558: Line 558:
  
 
'''Mass Flow (Mixture) / Methanol'''
 
'''Mass Flow (Mixture) / Methanol'''
 +
 +
'''Molar Fraction (Mixture) / Water'''
 +
 +
'''Mass Fraction (Mixture) / Water'''
  
 
'''Molar Flow (Mixture) / Water'''
 
'''Molar Flow (Mixture) / Water'''
Line 563: Line 567:
 
'''Mass Flow (Mixture) / Water'''
 
'''Mass Flow (Mixture) / Water'''
  
'''Molar Fraction (Mixture) / Water'''
 
  
'''Mass Fraction (Mixture) / Water'''
 
 
|-
 
|-
 
||Click on the '''Close''' button.
 
||Click on the '''Close''' button.
Line 572: Line 574:
 
Move the '''Master Property Table''' for better visibility.
 
Move the '''Master Property Table''' for better visibility.
  
Here we can see the corresponding results for '''Inlet''' and''' Outlet Streams.'''
+
Here we can see the corresponding results for '''Inlet''' and ''' Outlet Streams.'''
 
|-
 
|-
 
||  
 
||  

Revision as of 19:58, 5 May 2025

Title: Introduction to Flowsheeting

Author: Priyam Nayak

Keywords: DWSIM, Material stream, simulation, compounds, thermodynamic package, unit systems, vapor phase mole fraction, pressure calculation mode, temperature, molar flow, density, video tutorial.


Visual Cue Narration
Slide Number 1


Title Slide

Welcome to this spoken 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 Cooler
  • Give a two-phase feed


Slide Number 3

System Requirements

This tutorial is recorded using
  • DWSIM version 8. 8.0
  • Windows 11 OS


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

Slide Number 4


Pre-requisites I

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


Slide Number 5


Pre-requisites II

Also, you should know how to:
  • add compounds to a flowsheet
  • select thermodynamic packages
  • specify the properties of a material stream
Slide Number 6


Prerequisite Tutorials and Files

https://spoken-tutorial.org

The prerequisite tutorials are available on our website.

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

Slide Number 7

Hover the mouse on the flowsheet image.

Flowsheet.png

We will develop the flowsheet as shown in the figure here.


Two streams are getting mixed in a mixer.

The output from the mixer is getting cooled using a cooler.


The information required to simulate is also given along with the flowsheet.


Use the NRTL property package.

Desktop >> DWSIM To open DWSIM, go to the Desktop and double-click on the DWSIM icon.
File >> New Chemical Process Model Click on File on the menu bar.

Select New Chemical Process Model.

Point to Simulation Configuration Wizard window

Click the Next button.

A Simulation Configuration Wizard window appears.


Click the Next button on the lower right corner of the window.

Point to Compounds tab

Type Methanol in the search bar.

Check the check box under the Added column.


Point to Added Compounds

We are now in the Compounds tab.

We will add the compounds present in the flowsheet.


Type Methanol in the search bar located at the bottom of the Compounds tab.


Under the Added column, check the checkbox for Methanol.


Methanol is added to the simulation as displayed against the Added Compounds.

Type Water in the search tab Similarly, add Water from Chemsep database.
Point to Added Compounds. All the compounds required for this simulation are added.

It can be seen in the Added Compounds.

Click on the Next button at the bottom. Click on the Next button at the bottom to continue.
Point to Property Packages

Property Packages >> Available Property Package

Scroll down to find NRTL.

Click on Add.

Now comes Property Packages.

From the Available Property Packages,

Click on NRTL.

Then click on Add.

NRTL has been added under Added Property Packages.

Click on the Next button at the bottom. Click on the Next button at the bottom to continue.
System of Units >> SI. Next option is the System of Units.

We will select SI.

This has the desired system of units according to our problem statement.

Click on the Next button at the bottom. Click on the Next button at the bottom to continue.
Behavior >> Next We will not change anything here.


Click on the Next button at the bottom.

Undo/Redo Operation >> Finish We will not change anything here.

Click on the Finish button at the bottom.

This completes configuring the simulation.

Point to Object Palette


Click on the Mixers/Splitters section.

Click and drag Stream Mixer to the flowsheet

Now, let us add a Stream Mixer.


Go to the Mixers or Splitters section in the Object Palette.


It is located on the right side of the flowsheet window.


Drag and drop Stream Mixer to the flowsheet.

Point to Stream Mixer added to the flowsheet.


Point to material Stream 1 and 2.


Point to Material Stream 3.

This is the Stream Mixer.

It has 3 material streams auto-connected to its connection ports.


Material Streams named 1 and 2 enter the Stream Mixer as feed streams.


Material Stream named 3 leaves the Stream Mixer as the output stream.

Click >> 1 >> 1 (Material Stream) Property Editor Window.

Information >> General Info >> Object >> Feed-1


Press Enter

Now we will rename all the objects.


Click on the Material Stream named 1.


1 (Material Stream) property editor window opens.


Under the Information tab, in the General Info section, we have Object field.


In this field rename 1 as Feed-1 and press Enter.

Click >> 2 >> 2 (Material Stream) Property Editor Window.


Information >> General Info >> Object >> Feed-2

Similarly, rename the material stream named 2 as Feed-2.
Click >> 3 >> 3 (Material Stream) Property Editor Window.


Information >> General Info >> Object >> Mix-Out

Rename the material stream named 3 as Mix-Out.
Click >> Mix-1 >> Mix-1 (Stream Mixer) Property Editor Window


Information >> General Info >> Object >> Mixer

Now, rename the mixer object named Mix-1 as Mixer.
Cursor near Feed stream properties. Now we will specify the Feed stream properties.
Click on Feed-1.

Property editor window opens.

Now click on the Feed-1.


Here, the property editor window opens.

Input Data>> Stream Conditions >> Flash Spec>> Temperature and Pressure(TP). Under Input Data, in the Stream Conditions section, select Flash Spec as Temperature and Pressure (TP).

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

So let’s not change it.

Input Data >> Stream Conditions >> Temperature >> 350 K


Press Enter

Change Temperature to 350 K and press Enter.
Input Data >> Stream Conditions >> Molar Flow >> 50 mol/s


Press Enter

Change Molar Flow to 50 mol/s and press Enter.
Click >> Compound Amounts


Basis >> Mole Fractions

Next is to specify the composition of this stream.


To do this, click on Compound Amounts.


Choose the Basis as Mole Fractions, if not already selected.

By default, Mole Fractions are selected as Basis.

Point to the Amount Table.


Methanol >> 1


Water >> 0

Now we will enter the Mole Fractions for each compound.


Click on the first cell below Amount against Methanol and enter 1.

Press Enter.


Similarly, for Water, enter it as 0 and press Enter.

Click >> Accept changes On the right side, click on Accept Changes button.
Click on Feed-2.


Property editor window opens.

Now click on the Feed-2.

Here, the property editor window opens.

Input Data>> Stream Conditions >> Flash Spec>> Pressure and Vapor Fraction (PVF). Under Input Data, in Stream Conditions section, select Flash Spec as Pressure and Vapor Fraction (PVF).
Input Data >> Stream Conditions >> Pressure >> 202650 Pa


Press Enter

Change Pressure to 202650 Pascals and press Enter.
Input Data >> Stream Conditions >> Molar Flow >> 50 mol/s


Press Enter

Change Molar Flow to 50 mol/s and press Enter.
Input Data >> Stream Conditions >> Vapor Phase Mole Fraction >> 0.5


Press Enter

Change Vapor Phase Mole Fraction to 0.5 and press Enter.
Click >> Compound Amounts


Basis >> Mole Fractions

Next is to specify the composition of this stream.


To do this, click on Compound Amounts.


Choose the Basis as Mole Fractions, if not already selected.

By default, Mole Fractions are selected as Basis.

Point to the Amount Table.


Click Clear.


Methanol >> 0


Water >> 1

Now we will enter the Mole Fractions for each compound.


Click Clear if random values are present.


Click on the first cell below Amount against Methanol and enter 0.

Press Enter.


Similarly, for Water, enter it as 1 and press Enter.

Click >> Accept changes On the right, click on Accept Changes button.
Click Mixer Now we will specify the Mixer.


Click on Mixer.


Mixer property editor window opens.

Hover the mouse on Calculation Parameters Go to the section Calculation Parameters by scrolling below.
Pressure Calculation >> Inlet Maximum Click on the drop box against Pressure Calculation and select Inlet Maximum.


This will ensure that the outlet stream from the mixer is at 202650 Pascals.


This is as per the given flowsheet.

Click Solve Click on the Solve button in the toolbar area.


The flowsheet is solved till the Mix-Out stream.


We will proceed further.

Click on File and Click Save As Let us now save this file till this point.


Click on File and select Save As option.

Type flowsheet-1 Select a desired location to save the file.

Enter the file name as flowsheet-1.


It is strongly recommended to save the file intermittently.

Point to Object Palette


Click on the Exchangers section.

Click and drag Cooler to the flowsheet

Now let us continue with the flowsheet.


Next, we will add a Cooler.


Go to the Exchangers section in the Object Palette.


Scroll down a little to see Cooler.


Drag and drop Cooler to the flowsheet area close to the Mix-Out stream.

Click >> CL-1

Property Editor Window.

Information >> General Info >> Object >> Cooler

Let us rename the newly added objects.


Click on the cooler object named CL-1 and rename it as Cooler.


Here, the property editor window opens.

Click >> 5 >> 5 (Material Stream) Property Editor Window.

Information >> General Info >> Object >> Cool-Out.

Click on the material stream object named 5 and rename it as Cool-Out.
Click Cooler.

Point to the window.

Now, let us specify the Cooler.

Click on Cooler.

Cooler property editor window opens.

Hover mouse on Calculation Parameters Go to the section Calculation Parameters.
Calculation Type >> Outlet Temperature Click on the drop down against Calculation Type and select Outlet Temperature.

This is because as per the flowsheet, the temperature of the stream coming out of the cooler is mentioned.

Efficiency >> 80 Click on the field against Efficiency and enter it as 80.


Press Enter.

Outlet Temperature >> 330 K Click on the field against Outlet Temperature.

Enter the value as 330 K.


Press Enter.

Click Solve This completes the flowsheet specification.


Click on the Solve button in the toolbar area.

Let us save the flowsheet once again.
File >> Save Go to File and click Save.
Insert >> Master Property Table Go to the Insert menu and select Master Property Table.
Double click on Master Property Table

Point to Configure Master Property Table

Double-click on the Master Property Table to edit it.

Configure Master Property Table window opens.

Type Steamwise Results – Flowsheet In the Name field, type Stream Wise Results – Flowsheet.
Select Material Stream In Object Type select Material Stream.

By default, Material Stream is already selected.

Object >> Feed-1, Feed-2, Mix-Out and Cool-Out Under Properties to display, select Objects as Feed-1, Feed-2, Mix-Out and Cool-Out.
Configure Master Property Table>> Property Under Property, scroll down to see all the parameters.

Now select the properties as:

Temperature

Pressure

Mass Flow

Molar Flow

Molar Fraction (Mixture) / Methanol

Mass Fraction (Mixture) / Methanol

Molar Flow (Mixture) / Methanol

Mass Flow (Mixture) / Methanol

Molar Fraction (Mixture) / Water

Mass Fraction (Mixture) / Water

Molar Flow (Mixture) / Water

Mass Flow (Mixture) / Water


Click on the Close button. Close this window.

Move the Master Property Table for better visibility.

Here we can see the corresponding results for Inlet and Outlet Streams.

Let's summarize.
Summary In this tutorial, we have learnt to
  • Simulate a Mixer
  • Follow it up with a Cooler
  • Give a two-phase feed
Slide Number 8

Assignment

Flowsheet-Assignment.png

As an assignment,

Simulate the given flowsheet.


And use the NRTL property package.

This brings us to the end of this tutorial.
Slide Number 9


About the Spoken Tutorial Project

Watch the video available at the following link.

https://spoken-tutorial.org/


It summarises the Spoken Tutorial project.


Please download and watch it

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


Questions in THIS Spoken Tutorial?


Visit https://forums.spoken-tutorial.org


Choose the minute and second where you have the question.


Explain your question briefly.


Someone from the FOSSEE team will answer them.


You will have to register on this website to ask questions


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.


You will have to register on this website to ask questions.

Slide Number 12


DWSIM Flowsheeting Project

The FOSSEE team coordinates the 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 13


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 14


Acknowledgements

The Spoken Tutorial project was established by the Ministry of Education(MoE), Government of India.

The FOSSEE project is funded by NMEICT, Ministry of Education(MoE), Government of India.

Slide Number 15


Thank You

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


This is Aditi Gupta along with Priyam Nayak signing off.


Thank you for joining.

Contributors and Content Editors

Madhurig, Snehalathak