Difference between revisions of "Process-Simulation-using-DWSIM/C2/Plug-Flow-Reactor/English"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "'''Title: Plug Flow Reactor''' '''Author: Priyam Nayak''' '''Keywords: '''DWSIM''', '''Material stream, simulation, compounds, thermodynamic package, unit systems, plug flow...")
 
(No difference)

Latest revision as of 18:39, 13 February 2026

Title: Plug Flow Reactor

Author: Priyam Nayak

Keywords: DWSIM, Material stream, simulation, compounds, thermodynamic package, unit systems, plug flow reactor, kinetic reaction, stoichiometry, reaction order


Visual Cue Narration
Slide Number 1

Title Slide

Welcome to this spoken tutorial on Simulating a Plug Flow Reactor(PFR) in DWSIM.
Slide Number 2

Learning Objective

In this tutorial, we will learn to:
  • Simulate a Plug Flow Reactor (PFR)
  • Calculate Conversion and Residence time for a reaction in a PFR.


Slide Number 3

System Requirements


To record this tutorial, I am using

  • DWSIM 9.0.4 and
  • Windows 11


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

  • Linux,
  • Mac OS X or
  • FOSSEE OS on ARM.


This tutorial, recorded using the following setup.


The process demonstrated in this tutorial is identical in other OS as well.


Slide Number 4

Pre-requisites


To practice this tutorial, you should know to

  • Add components to a flowsheet.
  • Select thermodynamic packages
  • Specify the properties of a material stream
  • Define a Kinetic Reaction


To practice this tutorial, you should know the following.


Slide Number 5


Problem Statement


We will develop a flowsheet to determine the exit composition from an Adiabatic PFR.

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

Slide Number 6

Reaction Kinetics


Next, we give the reaction kinetics.


Slide Number 7


Code Files

kinetic-reaction file used in the tutorial is provided as a Code file on this tutorial page.


Download this file from Code Files link.1.14

Switch to DWSIM. I have already opened DWSIM on my machine.
Show DWSIM window

File >> Save As >> PFR

I have opened the file kinetic-reaction.dwxml.

Let me save it as PFR.

We can see that the file name has changed now to PFR.

Let us verify if the rate kinetics exist in the opened DWSIM file.
Highlight Settings in toolbar area


Click Settings

Click on the Settings button in the toolbar.

Settings window opens.

Click on Reactions tab Go to the Reactions tab.
Chemical Reactions >> Click Butane Isomerization Click on the reaction named “Butane Isomerization” under the Chemical Reactions section.
Close the Add Kinetic Reaction window

Close the Settings window

We can see that the reaction is added with the given kinetic parameters.


Close the Add Kinetic Reaction window


Close the Settings window

Point to Object Palette


Click on Reactors section.

Scroll below to find the Plug Flow Reactor(PFR).


Click and drag Plug Flow Reactor(PFR) to the flowsheet


Click on Double Arrow next to Object Palette

Now let us add a PFR.


Go to the Reactors section in the Object Palette located at the right side of the flowsheet window.


Scroll below to find Plug Flow Reactor(PFR).

Drag and drop to the flowsheet.


Minimize the Object Palette by clicking on this Double Arrow.

Point to PFR added to the flowsheet This is the Plug Flow Reactor.

It has 2 material streams and 1 energy stream auto-connected to its connection ports.


Material Stream named 1 enters the PFR as feed.


Material Stream named 2 leaves the PFR as a product.

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


Type Feed >> Enter

Now click on the Material Stream named 1.

1 (Material Stream) property editor window opens.


Let’s change its name to Feed.

Press Enter.

Now we will specify the Feed stream properties.
Input Data>> Flash Spec>> Temperature and Pressure(TP) Under Input Data, in Stream Conditions section, select Flash Spec as Temperature and Pressure (TP).

Temperature and Pressure is selected as Flash Spec by default.

So let’s not change it.

Input Data >> Temperature >> 57 C

Press Enter

Change Temperature to 57 degree C and press Enter.
Input Data >> Pressure >> 20 bar

Press Enter

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

Press Enter

Change Molar Flow to 163 kmol/h and press Enter.
Now let us specify the feed stream compositions.
Composition >> Basis >> Mole Fractions Under Compound Amounts, choose the Basis as Mole Fractions, if not selected.


Mole Fractions is selected as Basis by default.

N-butane: 0.9

Isobutane: 0


Isopentane: 0.1

Now for N-butane, enter the Amount as 0.9 and press Enter.

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

For Isopentane, enter 0.1 and press Enter.

Click >> Accept Click on Accept to accept the changes
Point to 2 (Material Stream) Click on Material Stream named 2
Click >> 2 >> 2 (Material Stream) Property Editor Window


Type Product >> Enter

Let’s change its name to Product.

Press Enter.

Point to PFR-1 Now we will add PFR parameters.

Click on PFR-1.


PFR-1 property editor window opens.

Hover mouse at Calculation Parameters Now go to the next section, Calculation Parameters.
Reaction Set >> Default Set Here, the first option is Reaction Set.


By default, it is Default Set.


Since we have only one reaction, we leave it as it is.

Point to Calculation Mode


Calculation Mode >> Adiabatic

Next, click on the drop-down against Calculation Mode.

Select Adiabatic.

Click on Dimensions tab Click on the Dimensions tab beside the General tab.

Here we will provide the dimensions of the PFR.

Reactive Volume >> 2.6 m3

Press Enter

Click on the field against Reactor Volume and enter 2.6 m3.

Then press Enter.

Point to Sizing Information In Sizing information, you can either select length or diameter of the PFR.


As the length of PFR is provided to us, we will select the radio button against Length.

Tube Length >> 3 m

Press Enter

Click on the field against Tube Length and enter 3 m..


Then press Enter.

Point to Tube Diameter We can see that based on the length entered, the diameter is calculated.
Point to Number of Tubes In case the PFR is multitubular, we can enter the number of tubes here.


Since no such information is provided, we will leave it with the default value.

Click Solve This completes the problem specification.


Click on Solve button in the toolbar area.

Point to Messages at the bottom Once the calculations are complete, we will receive a message “The flowsheet calculated successfully”.
Hover mouse at Results From the Property Editor Window of PFR locate Results section.
Results >> General Under the General tab, check Residence time.

It is 0.144974 h.

Results >> Conversions Under the Conversions tab, check conversion for the reacting compound.

Conversion of N-butane is 69.2%

Insert >> Master Property Table Now we will check the material balances.

Go to Insert menu and select the 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 Results - Plug Flow Reactor Enter Name as Results - Plug Flow Reactor
Type Material Stream Enter Object Type as Material Stream.

By default, Material Stream is already selected.

So we will not change it.

Object >> Feed and Product Under Properties to display, select Object as Feed and Product.
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 Flow (Mixture) / N-butane

Mass Flow (Mixture) / N-butane

Molar Flow (Mixture) / Isobutane

Mass Flow (Mixture) / Isobutane

Molar Flow (Mixture) / Isopentane

Mass Flow (Mixture) / Isopentane

Close this window.

Move the Master Property Table for better visibility.

Here we can see the corresponding results for Product and Feed.

Slide Number 8

Summary


In this tutorial, we have learnt to

  • Simulate a Plug-Flow Reactor (PFR)
  • Calculate Conversion and Residence time for a reaction in a PFR


Let us summarize.
Slide Number 9

Assignment

As an assignment,

Repeat this simulation with different compounds and thermodynamics.

Different feed conditions

Different PFR dimensions and reaction kinetics


Slide Number 10


DWSIM Flowsheeting Project

We invite you to participate in DWSIM Flowsheeting Project.
Slide Number 11


Lab Migration Project

We invite you to migrate commercial simulator labs to DWSIM.
Slide Number 12


Acknowledgements

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


Thanks

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

Thank you for joining.

Contributors and Content Editors

Madhurig