Laboratory Manual MS Sem V
Laboratory Manual MS Sem V
Laboratory Manual MS Sem V
Institute of Technology
2CH503 Modeling and Simulations
LPW
NIRMA UNIVERSITY
INSTITUTE OF TECHNOLOGY
2CH503
Modeling and Simulations
LABORATORY MANUAL
B.Tech Chemical
Semester – V
JULY 2020
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
turns)
(Two turns)
Weeks)
Practical – 1
Objectives:
1. To explore and apply matrix operations of Microsoft Excel to Chemical
Engineering Problems
2. Applications of Excel Charts for Plotting Chemical Engineering Data
3. Fitting the data using trend line function of Excel Charts
5. Collect heat capacity data of any one component as a function of T and plot the
data as a function of temperature.
7. Collect binary VLE data for any system and plot it.
8. Make a plot of absorbance versus wavelength using the data below using Excel.
Use trend line to relate the data
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
Practical 2
Objectives:
1. Applications of Goal Seek to solver in Chemical Engineering
where:
(a) Calculate the molar volume and compressibility factor for gaseous ammonia at a
pressure P = 56 atm and a temperature T = 450 K using the van der Waals equation of
state.
(b) Repeat the calculations for the following reduced pressures: Pr = 1, 2, 4, 10, and 20.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
(c) How does the compressibility factor vary as a function of Pr? Use Excel plot.
Determine the pressure drop in a 1m section of the tube using the relation
Density of air at 250C and 1 atm is 1.23 kg/m3 and viscosity is kg/m-s
x y
0.5 0.6
1 1.4
2.1 2
3.4 3.6
Model to y= y=
be fitted Co+C1*x Co+C1*x+C2*x^2
4. Use Solver to find the values of x1 and x2 between -10 and +10 that give the
minimum of y = (x1 + 2x2 - 7)2 +(2x1 + x2 - 5)2.
6. n-butane is cracked at 750 K and1.2 bar to produce olefins. The process can be
characterized by two reactions for which following relationship is available at these
conditions.
12 22
3.856 268.4
1 1 2 1 1 2 1 1 2 1 1 2
Find the values of extent of reactions for both the reactions
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
Quiz:
1) List various statistical parameters used to access the goodness of the model fit.
2) Explain 95% confidence interval.
3) What are the other software packages available for regression analysis ?
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
Practical – 3
Objective:
PRACTICAL – 4
Objective: Solving Simultaneous system of Linear Equations using POLYMATH
1. Solve the following system of equations:
PRACTICAL – 5
Objective: Solving Non-Linear equations using POLYMATN
where:
Calculate the volume using the Redlich-Kwong equation of state which is given by,
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
3. n-butane is cracked at 750 K and1.2 bar to produce olefins. The process can be
characterized by two reactions for which following relationship is available at
these conditions.
12 22
3.856 268.4
1 1 2 1 1 2 1 1 2 1 1 2
Find the values of extent of reactions for both the reactions.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
PRACTICAL 6
1. Given that the concentration of a species A in a constant volume, batch reactor obeys this
differential equation with the initial condition mol/L and
L/mol/s, compute the time it takes for to be reduced to 1 mol/L.
2. A set of parallel reactions is going in a constant volume batch reactor. Given that the
concentration of a species A in a constant volume, batch reactor obeys this differential
equations and with the initial condition CA0=10
mol/L and k1=0.1 min-1 and k2=0.5 lit/(mol.min) plot the concentration of A and
the two products with time.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
Practical 7
1. Heat capacity data of water is given below. Fit the data to second degree and third
degree polynomial. Obtain constants for both the units of CP.
Cp Cp
T (C) J/mol K kJ/kg K
0.01 76.026 4.2199
10 75.586 4.1955
20 75.386 4.1844
25 75.336 4.1816
30 75.309 4.1801
40 75.3 4.1796
50 75.334 4.1815
60 75.399 4.1851
70 75.491 4.1902
80 75.611 4.1969
90 75.763 4.2053
100 75.95 4.2157
110 76.177 4.2283
120 76.451 4.2435
140 77.155 4.2826
160 78.107 4.3354
180 79.36 4.405
200 80.996 4.4958
220 83.137 4.6146
240 85.971 4.7719
260 89.821 4.9856
280 95.285 5.2889
300 103.6 5.7504
Practical 8
Objective: To Explore the applications of various basic tools of MATLAB
2. x=[1 2 3 4 5 6 7 8 9 10];
Use the linspace command, input command to enter the matrix
3. Use the following functions of MATLAB.
inv, eig, rank, det
[ Use help function_name for more details]
Quiz
1) Which functions of MATLAB are similar to goal seek and solver in Excel ?
2) How do you save your variables in MATLAB ?
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
PRACTICAL 9
Objective: To write simple codes for solving chemical engineering models using
MATLAB
2. Write a function file to find out the BUBL P of any ideal binary system.
- Modify the above programme by including global variables
3. Carbon dioxide gas is well represented by the van der Waals equations of state.
Given that T=190 K and P=1 atm, find out the volume of carbon dioxide gas
using any numerical method. The Van Der Waals equation of state is given by
a
P 2 V b RT .
V
Assume that the numerical values of constants a and b are available to you.
Quiz:
1) List rules to write a function file in MATLAB.
2) What is the difference between function file and script file in MATLAB ?
3) Explain the use of global variable in MATLAB.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
PRACTICAL 10
OBJECTIVE: To develop a model and solve the same using MATLAB
Water is flowing into a well-stirred tank at 150 kg/hr and Methanol is added at 30 kg/hr.
The resulting solution is leaving the tank at 120 kg/hr. There are 100 kg of fresh water in
the tank in the beginning. Develop a model listing your assumptions and calculate the
outlet concentration of Methanol at various time interval from t= 1 hr to 10 hr. Simulate
the process using MATLAB.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
PRACTICAL 11
Objective: To solve ordinary differential equations with the help of MATLAB
1. Suppose that a reaction is going as A B with the reaction rate given by,
dC A
kC A where k is a reaction rate constant. If the value of is k=0.3 min-1,
dt
determine how long will it take for the conversion to reach 95%, if initial
concentration of A is 10 mol/lit. Solve using MATLAB. Plot CA v/s t.
2. Suppose we want to model the nonisothermal CSTR,
We want to model this system in which we will treat the jacket temperature, Tj,
as, the input (i.e. manipulated variable). We will also want to monitor
concentration and temperature of the liquid in the CSTR as our outputs. Given
that,
Use MATLAB to solve the above model equation for various T j values and plot the Ca
and T as a function of time for various Tj.
Quiz:
1) List different functions related to solve ODE’S in MATLAB
List different functions in MATLAB, associated with plotting and explain them.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
Practical 12
Objective To familiarize students with basics inputs required for steady state
simulations using Aspen.HYSYS
1 Create a material stream that contains only water with the following conditions:
Fluid Package: PR EOS
Flow Rate: 1000 kgmol/hr
Pressure: 1 atm
Vapor/Phase Fraction:1
Quiz; What is the temperature of this stream? _______________
2 Repeat the above procedure by replacing pressure with temperature of 150 C.
What is the new pressure of the stream? Get the answers with various
temperatures.
3 For the same conditions as in problem 1 if the pressure decreases to 0.3 atm what
is the corresponding temperature? and if the pressure is increased to 5 atm, what
is the corresponding temperature?
4 Repeat problem 1 with the input and output units as mentioned below:
Temperature: F
Pressure: bar
Flow rate: kg/sec
8 Find the molar volume of ammonia gas at 56 atm and 450 K using SRK Equation of
State (EoS).
Add a “hypothetical component” of the formula C8H18 and find its properties for
10
following cases and compare your results.
The boiling point of the component is known to you 399 K.
T c=568.83 K Pc=24.86 bar
T c=568.83 K Pc=24.86 bar =0.396
QUIZ:
PRACTICAL -13
Objective: To perform steady state simulations of various basic unit operations part
I
1. Water at 50 OF and 14.7 psia is to be pumped at a rate of 200 gallons per minute
from one reservoir to the other at 5 atm. Simulate to find the required pump power
and the required pump pressure rise for this scenario.
2. 25,000 Ib/hr of toluene is pumped from 75 OF and 30 psi to 570 psi. Simulate to
compute the capacity, pump head, the exit temperature and the horse power for (a) a
pump efficiency of 100% and (b) a pump efficiency of 75%.
3. Simulate to find the heat required to vaporize 45 mole % of a liquid stream entering
an evaporator at 50 OF and 202 psia and containing propane 250, n-butane 400, n-
pentane 350 lbmole/hr. assume that the evaporator product is at 200 psia.
4. Use a simulator to design a compression system with inter coolers to compress 600
Ib/hr of a mixture of 95% hydrogen and 5 mol% methane at 75 OF and 20 psia to a
pressure of 600 psia, if the maximum exit temperature from stage is 400 OF. Assume
gas outlet temperature from the intercoolers is 120 OF.
5. In the feed preparation section of a plant ethyl benzene at 77 F and 14.7 psia is to
be heated to 752 F and 73.48 psia. Following two options are available: (1) The
liquid ethyl benzene is sent through a pump to increase the pressure to the desired
value followed by heating it to the required temperature (2) the liquid ethyl benzene
is first vaporized at constant pressure to an intermediate temperature and then
compressed to the required pressure. Which of these options do you recommend?
Check your answer by simulating both the options.
Quiz:
PRACTICAL -14
Quiz :
1) Find out the heat capacity constants of water. Compare the same with
the ones available in Aspen.HYSYS.
2) Which method is used to solve Short cut distillation process ? Explain
the same.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
PRACTICAL -15
6 Create a flow sheet diagram for the production of Ethyl Acetate (C4H8O2).
Ethanol (C 2H5OH) is combined with Acetic Acid (CH3COOH) to Ethyl Acetate
in a reactor. The reaction is:
Feed:
Temperature: 70oC
Pressure: 1atm
Water: 8.892 kmol/hr
Ethanol: 186.59 kmol/hr
Acetic Acid: 192.6kmol/hr
……………………………..1
Model this system using a power law expression. [In HYSYS this is called a
Kinetic Rate expression.] The reaction rate expression that you will install is
given by the following:
Notice that the reaction rate has units and that the concentration term is partial
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
PRACTICAL -16
1. 1000 lbmol/hr of ethylene stream (S1) at 100 F is mixed with toluene (S2). The
flow rate of toluene stream at 50F is adjusted to achieve the desired temperature of
85 F at the mixer effluent. Simulate the unit and find the flow rate of the stream
S2.
2. Simulate to determine the flow rate of saturated vapor benzene at 176.2 F to be
mixed with 100 lbmole/hr of liquid benzene at 1 atm to raise its temperature from
25 to 50 F.
3. For the following calculate the flow rates of recycle and products streams.
Recycle
80 (mol %) isobutane
20 (mol %) isobutene
4 Using case study option, see the effect of temperature on the molar volume of the
ammonia in Experiment 1 problem 9.
5. You need to mix a stream of natural gas (consider only C1 here) with steam before
sending them to the natural gas reformer where they will react to form CO and
CO2. You cannot just mix them in any proportion, however. Though stoichiometry
might suggest you could use nearly a 1:1 ratio, you must avoid a possible side
reaction whereby solid carbon (coke) is formed, choking the reactor. To avoid this
reaction you are told to maintain at least a 3:1 Steam to Carbon Ratio (i.e. for every
carbon atom entering the reactor, there should be 3 molecules of water). Use Set
Tab to do so.
Quiz:
PRACTICAL -17
Objective: To perform steady state simulations of some simple flow sheets
1. Simulate the following Block diagram. See the effect of pressure drop through
expansion valve on vapor phase composition. [Use sensitivity analysis]
2. One of the routes to produce ethyl chloride is by the gas phase reaction of HCl
with ethylene over a copper chloride catalyst:
The conversion is 90% with respect to C 2H4. The process flow diagram is as
shown below. Simulate the process. Study various parameters of recycle tab.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
Also carry out the sensitivity analysis for the effect of purge flow rate on Recycle
flow, Product flow, Flow to distillation column and composition of recycle
stream.
Quiz:
1) Is it possible to put recycle tab on any other stream then recycle stream ?
Explain your answer
2) What minimum data is required to simulate an entire process ?
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
PRACTICAL -18
Objective: To perform a process design of a multi component distillation
column
Design a Distillation column for the following flow sheet. Simulate the same
using following steps.
Quiz:
1) Which are the different kinds of columns available in Aspen.HYSYS ?
2) List minimum data required to simulate a distillation column
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW
PRACTICAL -19
Objective: To perform steady state simulation of a case study (Any one)
2. We need to separate a mixture of five paraffins into light and heavy fraction by
using multistage distillation column with 12 ideal trays, a total reflux condenser,
and a reboiler. The feed stream (1000 lbmols/hr) consists of 3% (mole %) ethane,
20% propane, 37% nbutane, 35% n-pentane, and 5% n-hexane at 2250 F and 250
psia, which enters the column on the seventh tray, counting from the top. The
condenser and reboiler pressures are 248 and 252 psia, respectively. The
preliminary design specifications require a reflux ratio of 6.06 and a vapor
overhead product of 226 lbmol/hr. Subsequently, the design is modified to ensure
propane overhead recovery of 191 lbmol/hr and butane bottom recovery of 365
lbmol/hr.
Note:
Estimated condenser temperature 100F and reboiler temperature 240F.
Distillate rate 226 and reflux ratio 6.06
Fluid Package SRK
3. Ethyl chloride will be produced by the gas-phase reaction of HCl with ethylene
over a copper chloride catalyst supported on silica as
C2H4 + HCl →C2H5Cl
The feed stream is composed of 50 mol% HCl, 48 mol% C2H4, and 2 mol% N2 at
100 kmol/hr, 250C, and 1 atm. Since the reaction achieves only 85 mol%
conversion, the ethyl chloride product is separated from the unreacted reagents,
and the latter is recycled. The separation is achieved using a component splitter,
where it is assumed that a perfect separation is achievable. The process is
operated at atmospheric pressure, and pressure drops are ignored. To prevent the
accumulation of inerts in the system, 10 kmol/hr is withdrawn in a purge stream,
W. Simulate the process.
Note: Component splitter is used for separating the product ethylchloride from
the reactant and the conditions are 25 C and 1 atm in the splitter.
Chemical Engineering Department
Institute of Technology
2CH503 Modeling and Simulations
LPW