Process-Simulation-using-DWSIM/C2/Simulating-a-Material-Stream/English

From Script | Spoken-Tutorial
Revision as of 22:32, 28 March 2025 by Madhurig (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Title: Simulating a Material Stream

Author: Priyam Nayak

Keywords: DWSIM, Material stream, simulation, compounds, thermodynamic package, unit systems, mass fraction, temperature, pressure, molar flow, density, viscosity, thermal conductivity, video tutorial.


Visual Cue Narration
Slide Number 1

Title Slide

Welcome to this spoken tutorial on Simulating a Material Stream in DWSIM.
Slide Number 2

Learning Objectives

In this tutorial, we will learn to:
  • Select Chemical compounds
  • Select a Thermodynamic package and Unit System
  • Specify a Material stream
  • Find Thermophysical Properties of the Material Stream
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

To follow this tutorial,

You should have DWSIM installed on your machine.

Slide Number 5

Problem Statement - Part I

Let us determine the following thermophysical properties of a material stream.
Slide Number 6


Problem Statement - Part II

Here we give Compounds, Thermodynamics and Inlet stream conditions.
Desktop >> DWSIM To open DWSIM, go to the Desktop and double-click on the DWSIM icon.
DWSIM window opens. DWSIM window opens.
Cursor on the window. Let us start by creating a New Chemical Process Model.
File >> New Chemical Process Model Click on File on the menu bar and select New Chemical Process Model.
Point to Simulation Configuration Wizard window A Simulation Configuration Wizard window appears.
Click the Next button. Click the Next button on the lower right corner of the window.
Point to the Compounds tab We are now in the Compounds tab.


We will add the compounds available in the flowsheet.

Type Ethanol in the search bar Type Ethanol in the search bar at the bottom of the Compounds tab.
Check the check box under the Added column. Under the Added column, check the checkbox for Ethanol.


Alternatively, we can also double-click anywhere on this line to add Ethanol.

Point to Added Compounds Ethanol 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 now added.

This 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 Now comes the Property Packages.

Based on the compounds added, DWSIM suggests a list of Property Packages applicable to the system.

This suggestion may not always be right.

Users must make an informed decision using the basics of thermodynamics.

This will help them to select a property package.

For this problem, it has been specified that NRTL has to be selected.

Non-Random Two-Liquid model is abbreviated as NRTL.

It is useful for calculating activity coefficients in non-ideal solutions.

Property Packages >> Available Property Package

Click NRTL.

From the Available Property Packages,

click on NRTL.

Click on Add. Then click on the Add button.
Point to Added Property Packages. NRTL has been added under Added Property Packages.

Alternatively, we can also double-click on NRTL to add it.

Click the Next button. Click the Next button at the bottom.
Point to System of Units The next option is the System of Units.
Click on the drop-down against System of Units. Click on the drop-down against System of Units.
Hover mouse on list shown at the drop-down Here, we can see the different System of Units available with DWSIM.
Hover mouse on SI, CGS, and ENG. SI, CGS, and ENG are the different standard systems of units used for measurement.
Hover mouse at SI (Engineering), C1, C2, C3, C4 and C5. SI (Engineering), C1, C2, C3, C4 and C5 are custom systems of units.

C1, C2, C3, C4, and C5 can be modified as per the simulation problem requirement.

System of Units >> SI As per the given simulation problem statement, SI is the best-suited System of Units.

Select SI from the drop-down.

Click on Next. Click on the Next button at the bottom.
Point to the Behavior window. The next window is Behavior.

This is to make some changes in the way in which DWSIM behaves currently.

We will not change anything here.

Behavior >> Next Click on the Next button at the bottom.
Point to Undo/Redo Operations This is the Undo/Redo Operations Window.

It is to enable the Undo/Redo capabilities.

We will not change anything here.

Undo/Redo Operations >> Finish Click on the Finish button at the bottom.

This completes configuring the simulation.

Click and drag Material Stream to flowsheet Go to the Streams tab.

Drag and drop a Material Stream from the displayed list to the Flowsheet area.

Cursor at the stream. Let us arrange the Stream.
Clicking on the Stream, Property Editor Window opens.

Hover the mouse over the Property Editor Window

We click on the Stream, the Property Editor Window opens.

We see the Property Editor Window on the left-hand side of the Flowsheet.

Type Object as Feed. Let us rename the material stream first.

Under General Info, type the Object as Feed.

Press Enter.

In DWSIM, after every change, ensure to press Enter for the change to be effective.

Point to Input Data

Cursor to the default values

The Input Data tab shows all the properties of the stream.

DWSIM assigns default values to all properties.

Point to Flash Spec

Click on drop-down against Flash Spec

Under Stream Conditions tab, the first option is to specify the Flash Spec.

We can select one of the Flash Specs depending on the data given.

Slide Number 5

Problem Statement - Part I

Let me go back to the slides.


Here, Temperature and Pressure data is given in the problem statement.

Stream Conditions >> Flash Spec >> Select Temperature and Pressure (TP) from the Drop down.

Point to Temperature and Pressure.

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

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

Input Data >> Temperature >> 320 K

Press Enter

Next is to specify the Temperature.

Change Temperature to 320 Kelvin and press Enter.

Input Data >> Pressure >> 202650 Pa

Press Enter

Next is to specify the Pressure.

Change Pressure to 202650 Pa and press Enter.

Hover Mouse at Mass Flow, Molar Flow and Volumetric Flow. Next is to specify the Flow Rate.

Here, out of the Mass Flow, Molar Flow and Volumetric Flow, only one has to be specified.

Other two will be calculated accordingly.

Input Data >> Molar Flow >> 500 mol/s

Press Enter

As per the problem statement, molar flow is given as 500 mol/s.

Change Molar Flow to 500 mol/s and press Enter.

Cursor near the material stream. Now let us specify the material stream compositions.
Input Data >> Compound Amounts Under Input Data, click on the Compound Amounts tab.
Click on the drop-down against Basis. Click on the drop-down against Basis.

Here we can specify composition in these ways.

Compound Amounts >> Basis >> Mass Fractions As per the problem statement, the composition is specified in terms of mass fraction.

Choose the Basis as Mass Fractions.

By default, Mole Fractions is selected as Basis.

Let us change this to Mass Fractions.

Point to the Amount Table. Now we will enter the Mass Fractions for each compound.
Ethanol: 0.35 For Ethanol, enter the Amount as 0.35 and press Enter.
Water: 0.65 For Water, enter 0.65 and press Enter.
Click Accept Changes On the right, click on the Accept Changes button.
Point to Basis If the total is not 1, DWSIM normalises the entries, so that the total becomes 1.

Also, the Mass Fractions entered are converted to Mole Fractions, which is the default basis.

Click Solve This completes the problem specification.

Click on the Solve button in the toolbar area.

Click on Results Let us see some of the thermophysical properties of the stream.

Click on the Results tab next to Input Data.

Results >> Phase Properties Under Results, click on Phase Properties.
Click on Overall Liquid. Click on Overall Liquid.

Scroll Down to see the different thermophysical properties of the liquid phase.

Hover the mouse at different properties You can see values of different properties like:
  • Density
  • Dynamic Viscosity
  • Heat Capacity (Cp)
  • Kinematic Viscosity
  • Molar Enthalpy
Click on File and Click Save As Let us now save this file.

To do this, click on File and then click the Save As option.

Type stream Select a desired location to save the file and enter the file name as stream
Close the Property Editor Window. Close the Property Editor Window.
Click on the Material Stream We can always get back to the property editor window by clicking on the object..
Only Narration. This brings us to the end of this tutorial.

Let's summarize.

Slide Number 7

Summary

In this tutorial, we have learnt to* Select Chemical compounds
  • Select a Thermodynamic package and Unit System
  • Specify a Material stream
  • Find Thermophysical Properties of Material Stream
Here are some assignments for you.
Slide Number 8

Assignment 1

Choose Ethanol and Water mole fractions that do not add up to 1.

Check how DWSIM normalises when you press Accept Changes button.

Side Number 9

Assignment 2

Go to the page where you defined mole fractions.

Check what the Normalize button does when the Total is not 1.

Slide Number 10

Assignment 3

Go to the page where we defined the molar flow rate.

DWSIM automatically displays equivalent flow rates in mass flow and volumetric flow.

Check if these values are consistent.

Slide Number 11

Assignment 4

Create a stream consisting of Methanol, Ethanol and Water.

Carry out the previous assignments for this stream also.

Slide Number 12

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 13

Spoken Tutorial Workshops

The Spoken Tutorial Project Team conducts workshops and gives certificates.


For more details, please write to us.

Slide Number 14

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 15

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 16

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 17


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 18

Thank You

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

This is Aditi Gupta along with Priyam Nayak signing off.

Thank you for joining.

Contributors and Content Editors

Madhurig