Beruflich Dokumente
Kultur Dokumente
Summary of Content
Learning Outcomes
US2m A comprehensive knowledge and understanding of mathematical
and computer models relevant to the chemical/environmental
engineering discipline, and an appreciation of their limitations.
Module Activities
Weekly Schedule
Week No Lecture Topic
1 The optimiser tool in computer based engineering tools for two
stage compression system. (Q1)
2 The optimiser tool in computer based engineering tools for a
refrigeration system. (Q2)
3 Oral assessment and Report Writing for Q2
4 Simulation on dynamic behaviour of a process with control
5 system with 3 tanks in series. (Q3)
The weighting is
Optimiser Q2 30%
Dynamics Q4 40%
Refrigeration Q5 30%
CHEE 4039 Advanced Computational Methods Q1 pg 7
Question 1
CHEE 4039 Advanced Computational Methods Q1 pg 8
Two-stage Compression
Nitrogen is to be compressed from 1 bar and 25C to 16
bar in two stages.
Find the optimum (to minimise compressor power) mid-
stage pressure with an inter-stage cooler reducing the
process stream to 40C with a negligible pressure drop.
Assume the polytropic efficiency of both compressors is
constant at 75%.
CHEE 4039 Advanced Computational Methods Q1 pg 9
A few guides
Imagine the flowsheet two compressor with one cooler in the
middle.
A few guides
Target: Find the optimum (to minimize compressor power)
mid-stage pressure, P2
Objective function: Q1 is minimum with constraint of Q1=Q2.
Nitrogen,
40C
1kmol/hr 16 bar
1 bar and 25C, P2 unknown
No
pressure
drop Polytropic efficiency at 75%
11
CHEE 4039 Advanced Computational Methods Q1 pg 12
1) Look for
Component List tab
2) Click Add
12
CHEE 4039 Advanced Computational Methods Q1 pg 13
1) In the Component
List, type Nitrogen and
click Add
13
CHEE 4039 Advanced Computational Methods Q1 pg 14
1) Click Fluid
Packages tab
2) Click Add
14
CHEE 4039 Advanced Computational Methods Q1 pg 15
15
CHEE 4039 Advanced Computational Methods
16
CHEE 4039 Advanced Computational Methods Q1 pg 17
17
CHEE 4039 Advanced Computational Methods Q1 pg 18
1) Name inlet as
1
2) Name
outlet as 2
3) Name
Energy as
18
Q1
CHEE 4039 Advanced Computational Methods Q1 pg 19
1) For polytropic
efficiency, enter the
value of 75
19
CHEE 4039 Advanced Computational Methods Q1 pg 20
20
CHEE 4039 Advanced Computational Methods Q1 pg 21
Double-click stream 1, go to
Worksheet-Compositions tab, key in mole
fraction of nitrogen as 1.
1) Double click
stream 1
1) Mole fraction of
Nitrogen =1
21
CHEE 4039 Advanced Computational Methods Q1 pg 22
3) Name outlet
as 3
22
CHEE 4039 Advanced Computational Methods Q1 pg 23
1) Delta P is 0
23
CHEE 4039 Advanced Computational Methods Q1 pg 24
Go to Worksheet-Conditions tab,
key in 40oC as the T for stream 3.
1) Go to
worksheet 2) Stream 3
tab T = 40 C
24
CHEE 4039 Advanced Computational Methods Q1 pg 25
4) Name 3) Name
Energy as outlet as 4
Q2
25
CHEE 4039 Advanced Computational Methods Q1 pg 26
1) Polytropic
efficiency =75
26
CHEE 4039 Advanced Computational Methods Q1 pg 27
At Worksheet-Conditions tab,
key in 1600kPa as the P for stream 4.
1) Go to
worksheet 2) Stream 4
tab Pressure is 16
bar
27
CHEE 4039 Advanced Computational Methods Q1 pg 28
Optimizer
To find the operating conditions which minimize or maximize an
Objective Function
Primary Variables
These are flowsheet variables whose values are manipulated in order to
minimize (or maximize) the objective function.
You set the upper and lower bounds for the primary variables, which are
used to set the search range.
Objective Function
This is the function which is to be minimized or maximized.
The function has to be defined within the Spreadsheet.
This allows the user a great deal of flexibility in defining the function.
Constraint Functions
Inequality and equality functions are defined in the Spreadsheet.
In solving the Objective Function, the Optimizer must also meet any
constraints that are defined by the user.
CHEE 4039 Advanced Computational Methods Q1 pg 29
Optimizer
Target: Find the optimum (to minimize compressor power)
mid-stage pressure, P2
Primary Variables: Mid-stage pressure, P2
Objective function: To minimize Q1
Constraint Functions: Q1=Q2
Nitrogen,
1kmol/hr 40C
16 bar
1 bar and 25C, P2 unknown
No
pressure
drop Polytropic efficiency at 75%
1) Go to
Home tab
30
CHEE 4039 Advanced Computational Methods Q1 pg 31
1) Leave it as
Original
31
CHEE 4039 Advanced Computational Methods Q1 pg 32
3) Select the
pressure of stream
2
2) Click Add
32
CHEE 4039 Advanced Computational Methods Q1 pg 33
3) Click
Spreadsheet
33
CHEE 4039 Advanced Computational Methods Q1 pg 34
1) Click Add
Import
34
CHEE 4039 Advanced Computational Methods Q1 pg 35
2) Name it as A1
35
CHEE 4039 Advanced Computational Methods Q1 pg 36
2) Name it as A2
36
CHEE 4039 Advanced Computational Methods Q1 pg 37
2) Name it as A3
37
CHEE 4039 Advanced Computational Methods Q1 pg 38
1) Close it when
all are done
38
CHEE 4039 Advanced Computational Methods Q1 pg 39
3) Select =
2) Select 4) Select A3
A2
39
CHEE 4039 Advanced Computational Methods Q1 pg 40
2) Click Start
40
40
CHEE 4039 Advanced Computational Methods Q1 pg 41
1) Optimum P of
stream 2
41
CHEE 4039 Advanced Computational Methods Q1 pg 42
42
CHEE 4039 Advanced Computational Methods Q1 pg 43
Your tasks
a) What if there is no inter-stage cooling?
b) What if your objective function is changed to minimize Q
in which Q=Q1+Q2?