Difference between revisions of "DWSIM"

From Script | Spoken-Tutorial
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
The Spoken Tutorial Effort for DWSIM was contributed by Prof Kannan Moudgalya from the Spoken Tutorial Project and is supported by Rahul Jain, Kaushik Datta and Pravin Dalve from IIT Bombay.
 
The Spoken Tutorial Effort for DWSIM was contributed by Prof Kannan Moudgalya from the Spoken Tutorial Project and is supported by Rahul Jain, Kaushik Datta and Pravin Dalve from IIT Bombay.
  
Learners : '''Chemical Engineering students'''
+
'''Learners''' : UG/PG Chemical Engineering students to run the simulations and get a better understanding on a phenomenon.
  
  
Line 20: Line 20:
 
==Basic Level==
 
==Basic Level==
  
1. '''Overview of DWSIM'''
 
  
* Introduction to simulation and examples
+
1. '''Creating a material stream in DWSIM'''
* What is DWSIM
+
* Installation of DWSIM on Windows 7
+
* Benefits of DWSIM
+
* Help facility of DWSIM through F1
+
* Spoken Tutorials available on DWSIM
+
* Timed discussion forum of Spoken Tutorials
+
* Discussion forum of FOSSEE
+
* Textbook companions for DWSIM
+
* Lab migration for DWSIM
+
* Help documents that come with DWSIM
+
* Discussion forum by the international DWSIM community
+
* Wiki page for tutorials on DWSIM
+
 
+
2. '''Creating a material stream in DWSIM'''
+
  
 
* Brief introduction to DWSIM GUI  
 
* Brief introduction to DWSIM GUI  
Line 47: Line 32:
 
* Properties and appearance tab  
 
* Properties and appearance tab  
  
3. '''Introduction to Flowsheeting'''
+
2. '''Introduction to Flowsheeting'''
  
 
* Build a small flowsheet  
 
* Build a small flowsheet  
Line 62: Line 47:
 
* Saving the results to a file  
 
* Saving the results to a file  
  
4. '''Shorcut Distillation'''
+
3. '''Shorcut Distillation'''
  
 
* Defining default units for variables using Units System
 
* Defining default units for variables using Units System
Line 76: Line 61:
 
* Optimal feed tray location
 
* Optimal feed tray location
  
5. '''Rigorous Distillation'''
+
4. '''Rigorous Distillation'''
  
 
* Distillation column widget
 
* Distillation column widget
Line 90: Line 75:
 
* Checking column profiles as graphs and Tables
 
* Checking column profiles as graphs and Tables
  
6. '''Sensitivity Analysis and Adjust'''
+
5. '''Sensitivity Analysis and Adjust'''
  
 
* Increasing the purity of distillate
 
* Increasing the purity of distillate
Line 103: Line 88:
 
* Pushing the envelope through adjust
 
* Pushing the envelope through adjust
  
7. '''Plug Flow Reactor'''
+
6. '''Plug Flow Reactor'''
  
 
* Using Configuring simulation Wizard window
 
* Using Configuring simulation Wizard window
Line 125: Line 110:
 
* Defining object and property
 
* Defining object and property
  
8. '''Continuous Stirred Tank Reactor'''
+
7. '''Continuous Stirred Tank Reactor'''
  
 
* Adding chemical components
 
* Adding chemical components
Line 137: Line 122:
 
* Using Master Property Table
 
* Using Master Property Table
  
9. '''Heat Exchanger'''
+
8. '''Conversion Reactor'''
 +
 
 +
* Selecting chemical components and thermodynamics
 +
* Adding material and Energy streams to the flowsheet
 +
* Defining the properties of the streams
 +
* Using Reactions Manager
 +
* Defining Conversion reaction
 +
* Using Include, Base Component (BC)
 +
* Adding stoichiometric coefficients
 +
* Defining Conversion Reactions Parameters
 +
* Adding conversion reactor to the flowsheet
 +
* Defining conversion as percentage
 +
* Defining conversion as a function of temperature
 +
* Connecting feed, product, energy streams to the reactor
 +
* Defining Calculation mode and Reactor parameters
 +
 
 +
9. '''Equilibrium Reactor'''
 +
 
 +
* Selecting chemical components and thermodynamics
 +
* Adding Material and Energy streams to the flowsheet
 +
* Defining the properties of the streams
 +
* Using Reactions Manager
 +
* Defining Equilibrium Reaction
 +
* Using Include, Base Component (BC)
 +
* Adding stoichiometric coefficients
 +
* Defining Equilibrium Reactions Parameters and  Equilibrium Constant
 +
* Adding Equilibrium reactor to the flowsheet
 +
* Connecting Feed, Product, Energy streams to the reactor
 +
* Defining Calculation mode and Reactor Temperature
 +
 
 +
10. '''Gibbs Reactor'''
 +
 
 +
* Adding Gibbs reactor to the flowsheet
 +
* Connecting Feed, Product, Energy stream to the reactor
 +
* Defining the properties of the streams
 +
* Defining different Minimization Methods
 +
* Defining Calculation mode and Reactor Temperature
 +
* Adding Element Matrix
 +
* Comparing the results of Gibbs Reactor with Equilibrium reactor
 +
 
 +
11. '''Heat Exchanger'''
  
 
* Adding chemical components
 
* Adding chemical components
Line 154: Line 179:
 
* Defining Heat Exchanger properties
 
* Defining Heat Exchanger properties
  
10. '''Shell and Tube Heat Exchanger'''
+
12. '''Shell and Tube Heat Exchanger'''
  
 
* Selecting chemical components
 
* Selecting chemical components
Line 169: Line 194:
 
* Defining object and heat exchanger properties
 
* Defining object and heat exchanger properties
  
11. '''Binary Phase Envelope'''
+
13. '''Binary Phase Envelope'''
  
 
* Selecting chemical components and thermodynamics
 
* Selecting chemical components and thermodynamics
Line 182: Line 207:
 
* Checking Bubble Point and Dew Point Pressure
 
* Checking Bubble Point and Dew Point Pressure
  
12. '''Calculation of Bubble Points and Dew Points'''
+
14. '''Calculation of Bubble Points and Dew Points'''
  
 
* Selecting chemical components and thermodynamics
 
* Selecting chemical components and thermodynamics
Line 192: Line 217:
 
* Checking the correctness of bubble point temperature
 
* Checking the correctness of bubble point temperature
  
13. '''Absorption Column'''
+
==Intermediate Level==
 +
 
 +
1. '''Chemsep Distillation Column'''
 +
 
 +
* Adding CAPE-OPEN Unit Operation to the flowsheet
 +
* Connecting inlet, outlet and energy streams
 +
* Defining Expose energy ports
 +
* Defining the Operation process in the column
 +
* Defining Number of stages and Feed stage
 +
* Selecting Condenser and Reboiler type
 +
* Specifying the Thermodynamic of the column
 +
* Defining the Pressure Profiles in Chemsep column
 +
* Defining the Column Product Specifications
 +
 
 +
2. '''Absorption Column'''
  
 
* Selecting chemical components and thermodynamics
 
* Selecting chemical components and thermodynamics
Line 200: Line 239:
 
* Specifying CAPE-OPEN Object Editor  
 
* Specifying CAPE-OPEN Object Editor  
 
* Specifying operation, stages
 
* Specifying operation, stages
* Specifying pressure and thermo
+
* Specifying pressure and thermodynamics
 
* Specifying ChemSep column properties  
 
* Specifying ChemSep column properties  
 
* Connecting inlet feed streams and outlet streams
 
* Connecting inlet feed streams and outlet streams
Line 207: Line 246:
 
* Explaining Flowsheet Object Appearance
 
* Explaining Flowsheet Object Appearance
 
* Using Master Property Table
 
* Using Master Property Table
 +
 +
3. '''Heterogeneous Catalytic Reaction'''
 +
 +
* Selecting chemical components and thermodynamics
 +
* Adding Material and Energy stream to the flowsheet
 +
* Defining the properties of the streams
 +
* Using Simulation Settings option
 +
* Introducing Heterogeneous Catalytic Reaction
 +
* Defining Reaction Rate
 +
* Adding Plug flow reactor to the flowsheet
 +
* Connecting feed, product, energy streams to the reactor
 +
* Defining Calculation mode and Reactor parameters
 +
* Defining Numerator and Denominator field
 +
* Defining Amount and Velocity Unit
 +
* Defining Catalyst Loading and Particle Diameter
 +
* Calculating Residence time and Conversions
 +
 +
4. '''Custom Unit Operation using Scilab'''
 +
 +
* Selecting chemical components and thermodynamics
 +
* Adding Material streams to the flowsheet
 +
* Defining the properties of the streams
 +
* Introducing Scilab CAPE-OPEN Unit Operation
 +
* Defining molar flow rates of the compounds
 +
* Defining molar enthalpy of the compounds
 +
* Defining pressures of the compounds
 +
* Calculating outlet pressure of the product stream
 +
* Calculating molar flow rates of product stream
 +
* Calculating molar enthalpy of product stream
 +
 +
5. '''Custom Unit Operation using Python'''
 +
 +
* Selecting chemical components and thermodynamics
 +
* Adding Material streams to the flowsheet
 +
* Defining the properties of the streams
 +
* Introducing Python script in the flowsheet
 +
* Introducing GetProp and SetProp function
 +
* Defining mass flow and mole flow of the compounds
 +
* Defining out.PropertyPackage.DW_CalcEquilibrium function
 +
* Defining PropertyPackages.FlashSpec function
 +
* Calculating outlet pressure of the product stream
 +
* Calculating mass and molar flow rates of product stream
 +
* Calculating enthalpy of product stream
 +
 +
==Advance Level==
 +
 +
1. '''Creating Multiple Reactions set'''
 +
 +
* Creating a reaction set for the reactors
 +
* Copy and Reuse a Conversion Reaction
 +
* Creating reaction sets with different reactions
 +
* Defining Create and Connect feature
 +
* Adding Conversion Reactor to the flowsheet
 +
* Connecting inlet, outlet and energy streams
 +
* Specifying Reaction Set
 +
* Specifying Calculation Mode
 +
* Specifying the Outlet Temperature

Latest revision as of 10:55, 12 October 2020

DWSIM is an open-source CAPE-OPEN compliant chemical process simulator. It is available for Windows, Linux and Mac OS.

It allows us to conduct experiments and analyze data using advanced models and operations.The simulator allows chemical engineering students and chemical engineers to run the simulations and get a better understanding on a phenomenon.

It has built-in thermodynamic models and unit operations as well as a large range of tools for managing reactions or creating components.Some popular property packages are also available, such as Peng-Robinson, NRTL, UNIQUAC, Raoult's law, Lee-Kesler etc.

DWSIM enables us to manage the material streams and design a schematic representation of the entire mechanism with the help of object palette. It features customizable parameters for each item and PH calculation for all the compounds. It also allow us to view the properties of the pure component, calculate the critical point, perform hydrate calculations, as well as conduct the sensitivity analysis and multi-variate optimizations.

DWSIM is capable of generating distillation curves petroleum characterizations and helps us to create new compounds that can be used in experiments, along with the existing ones. Also, it can be used for performing data regression studies for two compounds using various thermodynamics models and methods, generating conclusive graphs.

The Spoken Tutorial Effort for DWSIM was contributed by Prof Kannan Moudgalya from the Spoken Tutorial Project and is supported by Rahul Jain, Kaushik Datta and Pravin Dalve from IIT Bombay.

Learners : UG/PG Chemical Engineering students to run the simulations and get a better understanding on a phenomenon.



Basic Level

1. Creating a material stream in DWSIM

  • Brief introduction to DWSIM GUI
  • Configuring simulation
  • Selecting chemical components
  • Selecting thermodynamics
  • Adding a stream to the flowsheet
  • Defining the properties of a stream
  • Choosing the units
  • Properties and appearance tab

2. Introduction to Flowsheeting

  • Build a small flowsheet
  • Adding mixer to the flowsheet
  • Adding streams
  • Connecting material streams
  • Defining single phase and two phase streams
  • Assigning stream properties
  • Carrying out material balance calculations
  • Adding a flash vessel to the flowsheet
  • Repeating all of the above with flash vessel
  • Connecting an energy stream
  • Verifying the results of calculations
  • Saving the results to a file

3. Shorcut Distillation

  • Defining default units for variables using Units System
  • Adding short cut distillation column to the flowsheet
  • Connecting feed, output, energy streams to the column
  • Specifying condenser type
  • Specifying condenser and reboiler pressure
  • Specifying desired product composition through key values
  • Specifying a guess value of reflux ratio
  • Simulate a short cut distillation column
  • Minimum and actual number of stages
  • Minimum reflux ratio
  • Optimal feed tray location

4. Rigorous Distillation

  • Distillation column widget
  • Making use of results of shortcut distillation
  • Connecting flow and energy streams
  • Convention of DWSIM in including condenser and reboiler as stages
  • Assigning linear interpolated pressure profiles
  • Assigning pressure when new stages are added
  • Assigning individual stage pressure
  • Assigning individual stage efficiency
  • Assigning condenser and reboiler pressure, pressure drops, and type
  • Selecting solution method for rigorous distillation
  • Checking column profiles as graphs and Tables

5. Sensitivity Analysis and Adjust

  • Increasing the purity of distillate
  • Independent variable in sensitivity analysis
  • Dependent variable in sensitivity analysis
  • Narrowing down the search region
  • Graphical display of sensitivity analysis results
  • Verification of results of sensitivity analysis
  • Multiple dependent variables in sensitivity analysis
  • Manipulated variable in adjust
  • Controlled variable in adjust
  • Pushing the envelope through adjust

6. Plug Flow Reactor

  • Using Configuring simulation Wizard window
  • Adding chemical components
  • Adding Property Packages and Flash Algorithm
  • Adding System of Units
  • Adding a material stream to the flowsheet
  • Defining the properties of the stream
  • Using Reactions Manager
  • Defining Kinetic reaction
  • Using Include, BC, DO, RO
  • Adding stoichiometric coefficients
  • Setting Kinetic Reactions Parameters
  • Defining reaction order
  • Adding Plug flow reactor to the flowsheet
  • Adding material and energy stream to the flowsheet
  • Connecting feed, product, energy streams to the reactor
  • Defining Calculation mode and Reactor parameters
  • Using Solve Flowsheet button
  • Using Master Property Table
  • Defining object and property

7. Continuous Stirred Tank Reactor

  • Adding chemical components
  • Adding Property Packages and Flash Algorithm
  • Adding System of Units
  • Adding material and energy stream to the flowsheet
  • Using Reactions Manager
  • Adding CSTR to the flowsheet
  • Connecting feed, product, energy streams to the reactor
  • Defining Calculation mode and Reactor parameters
  • Using Master Property Table

8. Conversion Reactor

  • Selecting chemical components and thermodynamics
  • Adding material and Energy streams to the flowsheet
  • Defining the properties of the streams
  • Using Reactions Manager
  • Defining Conversion reaction
  • Using Include, Base Component (BC)
  • Adding stoichiometric coefficients
  • Defining Conversion Reactions Parameters
  • Adding conversion reactor to the flowsheet
  • Defining conversion as percentage
  • Defining conversion as a function of temperature
  • Connecting feed, product, energy streams to the reactor
  • Defining Calculation mode and Reactor parameters

9. Equilibrium Reactor

  • Selecting chemical components and thermodynamics
  • Adding Material and Energy streams to the flowsheet
  • Defining the properties of the streams
  • Using Reactions Manager
  • Defining Equilibrium Reaction
  • Using Include, Base Component (BC)
  • Adding stoichiometric coefficients
  • Defining Equilibrium Reactions Parameters and Equilibrium Constant
  • Adding Equilibrium reactor to the flowsheet
  • Connecting Feed, Product, Energy streams to the reactor
  • Defining Calculation mode and Reactor Temperature

10. Gibbs Reactor

  • Adding Gibbs reactor to the flowsheet
  • Connecting Feed, Product, Energy stream to the reactor
  • Defining the properties of the streams
  • Defining different Minimization Methods
  • Defining Calculation mode and Reactor Temperature
  • Adding Element Matrix
  • Comparing the results of Gibbs Reactor with Equilibrium reactor

11. Heat Exchanger

  • Adding chemical components
  • Adding Property Packages and Flash Algorithm
  • Adding System of Units
  • Adding material streams to the flowsheet
  • Defining the properties of the streams
  • Adding Heat Exchanger to the flowsheet
  • Connecting inlet and outlet streams to the Exchanger
  • Defining Calculation Type and Flow Direction
  • Defining Cold and Hot Fluid Pressure Drop
  • Defining Overall Heat Transfer Coefficient
  • Defining Heat Exchanged Area
  • Using Master Property Table
  • Defining object and property
  • Defining Heat Exchanger properties

12. Shell and Tube Heat Exchanger

  • Selecting chemical components
  • Selecting thermodynamics
  • Adding material streams to the flowsheet
  • Defining the properties of the streams
  • Adding heat exchanger to the flowsheet
  • Connecting inlet and outlet streams to the exchanger
  • Defining calculation type and flow direction
  • Defining cold and hot fluid pressure drop
  • Changing the shell side configurations
  • Changing the tube side configurations
  • Using master property table
  • Defining object and heat exchanger properties

13. Binary Phase Envelope

  • Selecting chemical components and thermodynamics
  • Adding material stream to the flowsheet
  • Defining the properties of the streams
  • Adding Utilities to the flowsheet
  • Introducing Binary Phase Envelope Utility
  • Generating Txy, xy, Pxy plot
  • Introducing Bubble Point and Dew Point curve
  • Introducing Equilibrium Curve
  • Checking Bubble Point and Dew Point temperature
  • Checking Bubble Point and Dew Point Pressure

14. Calculation of Bubble Points and Dew Points

  • Selecting chemical components and thermodynamics
  • Adding material streams to the flowsheet
  • Defining the properties of the streams
  • Adding Utilities to the flowsheet
  • Introducing Phase Envelope Utility
  • Generating the bubble and dew points
  • Checking the correctness of bubble point temperature

Intermediate Level

1. Chemsep Distillation Column

  • Adding CAPE-OPEN Unit Operation to the flowsheet
  • Connecting inlet, outlet and energy streams
  • Defining Expose energy ports
  • Defining the Operation process in the column
  • Defining Number of stages and Feed stage
  • Selecting Condenser and Reboiler type
  • Specifying the Thermodynamic of the column
  • Defining the Pressure Profiles in Chemsep column
  • Defining the Column Product Specifications

2. Absorption Column

  • Selecting chemical components and thermodynamics
  • Adding material streams to the flowsheet
  • Defining the properties of the streams
  • Adding CAPE-OPEN Unit Operation to the flowsheet
  • Specifying CAPE-OPEN Object Editor
  • Specifying operation, stages
  • Specifying pressure and thermodynamics
  • Specifying ChemSep column properties
  • Connecting inlet feed streams and outlet streams
  • Specifying K-value and Equation of state
  • Selecting solution Method
  • Explaining Flowsheet Object Appearance
  • Using Master Property Table

3. Heterogeneous Catalytic Reaction

  • Selecting chemical components and thermodynamics
  • Adding Material and Energy stream to the flowsheet
  • Defining the properties of the streams
  • Using Simulation Settings option
  • Introducing Heterogeneous Catalytic Reaction
  • Defining Reaction Rate
  • Adding Plug flow reactor to the flowsheet
  • Connecting feed, product, energy streams to the reactor
  • Defining Calculation mode and Reactor parameters
  • Defining Numerator and Denominator field
  • Defining Amount and Velocity Unit
  • Defining Catalyst Loading and Particle Diameter
  • Calculating Residence time and Conversions

4. Custom Unit Operation using Scilab

  • Selecting chemical components and thermodynamics
  • Adding Material streams to the flowsheet
  • Defining the properties of the streams
  • Introducing Scilab CAPE-OPEN Unit Operation
  • Defining molar flow rates of the compounds
  • Defining molar enthalpy of the compounds
  • Defining pressures of the compounds
  • Calculating outlet pressure of the product stream
  • Calculating molar flow rates of product stream
  • Calculating molar enthalpy of product stream

5. Custom Unit Operation using Python

  • Selecting chemical components and thermodynamics
  • Adding Material streams to the flowsheet
  • Defining the properties of the streams
  • Introducing Python script in the flowsheet
  • Introducing GetProp and SetProp function
  • Defining mass flow and mole flow of the compounds
  • Defining out.PropertyPackage.DW_CalcEquilibrium function
  • Defining PropertyPackages.FlashSpec function
  • Calculating outlet pressure of the product stream
  • Calculating mass and molar flow rates of product stream
  • Calculating enthalpy of product stream

Advance Level

1. Creating Multiple Reactions set

  • Creating a reaction set for the reactors
  • Copy and Reuse a Conversion Reaction
  • Creating reaction sets with different reactions
  • Defining Create and Connect feature
  • Adding Conversion Reactor to the flowsheet
  • Connecting inlet, outlet and energy streams
  • Specifying Reaction Set
  • Specifying Calculation Mode
  • Specifying the Outlet Temperature

Contributors and Content Editors

Kaushik Datta, Nancyvarkey, PoojaMoolya