Professional Documents
Culture Documents
Riezqa Andika
Simulation/Process Simulation?
▪ Simulation
Use of a computer program to quantitatively model
the characteristic equations of a process.
▪ Process Simulation
Apply Simulation to Chemical Process
- Steady State .vs. Dynamic state
- Design, Operation
▪ Model
A Model is an Abstraction of Reality that we use to
help gain understanding of an entity.
Principle
W. Edwards Deming
George Box
Steady and Dynamic Simulation
⚫ Steady-State Modeling: Input – Output = 0
FV Solution Space
x F(x) •Design
F •Operation
xs •Optimization
xi
F(x)=0
FL
F = FV + FL 0 Simulation Taken Time
or Number of Iteration
Rating/Dynamics Tab
▪ Sizing the heat exchanger (1165 ft3; 315 ft3) (33m3; 9m3)
Tray Spacing?
Diameter?
Internals
(ex:Weir
Height)?
etc.? Cv? ? Cv?
Cv?
Cv?
Heuristics/Rule of Thumb
Heuristics/Rule of Thumb
Heuristics/Rule of Thumb
Pressure Flow Specs
▪ Material Streams
• Pressure specification
• Flow specification
▪ Equipment
• Fixed Pressure drop
• Pressure/Flow equation
• Resistance calculation (for valves)
• Conductance Calculation (for process equipment)
Process Control
Designing Controller
Riezqa Andika
How to Make Pairing?
TT
Which one more suitable to control reboiler duty? A tray temperature, steam
flow, or else?
How to Make Pairing?
FT
Which one more suitable to control reboiler duty? A tray temperature, steam
flow, or else?
How to Make Pairing?
FT
Which one more suitable to control reboiler duty? A tray temperature, steam
flow, or else?
How to Make Pairing?
TT
Which one more suitable to control reboiler duty? A tray temperature, steam
flow, or else?
An Equipment Scale Pairings (Distillation Column)
Open-loop control
Closed-loop control
The Relative Gain
where:
𝜕𝑖 /𝜕𝑗 is the open-loop gain with all other control loop open
𝑢
𝜕𝑖 /𝜕𝑗 is the closed-loop gain with all other control loop closed
𝑢
Relative Gain Calculation for 2×2 System
▪ Steady-state model
y1 = K11u1 + K12u2 y2 = K21u1 + K22u2
▪ Open-loop gain
𝜕𝑖 /𝜕𝑗 = 𝐾11
𝑢2 =0
▪ Closed-loop gain
𝐾
𝑦2 = 0 ➔ 𝑢2 = − 𝐾21 𝑢1
22
𝐾12 −𝐾21 𝜕𝑦1 𝐾12 −𝐾21
𝑦1 = 𝐾11 1 − 𝑢1 ➔ = 𝐾11 1 −
𝐾11 𝐾22 𝜕𝑢1 𝑦 =0 𝐾11 𝐾22
2
▪ Relative gain
𝜕𝑦1 /𝜕𝑢1 𝑢2 =0 𝐾11 1
λ11 = = 𝐾 −𝐾 = 𝐾 −𝐾
𝜕𝑦1 /𝜕𝑢1 𝑦2 =0 𝐾11 1− 𝐾12 𝐾 21 1− 𝐾12 𝐾 21
11 22 11 22
The Relative Gain Array
▪ Definition
▪ RGA
▪ RGA
▪ Pairing rules
a. λij = 1: pair u1 and y1
b. λij < 0: do not pair u1 and y1
c. λij = 0: do not pair u1 and y1
d. 0 < λij < 1: pair u1 and y1 if λij is “close” to 1
e. λij > 1: pair u1 and y1 if λij is “close” to 1
▪ Caveat
RGA is based only on steady-state information and neglects process dynamics
PID Control
Riezqa Andika
Flowchart for Controller Selection
Controller Library
PID Controller
Proportional
E SP
= Set point
MV + Integral
+
= controller output - CV =
Derivative Controlled
variable
Note: Error = E SP - CV sensor
Final
Process
element
variable
PROCESS
Basic of the PID Controller
where:
OP(t) = controller output value
E(t) = error between controller setpoint and process variable
▪ Ziegler-Nichols
▪ Tyerus-Luyben
▪ Cohen-Coon
▪ Ciancone and Marline
▪ Etc.
Controller Tuning - Recommendations
Step 1
With the loop in automatic mode, enter a new set point a small amount
above or below the set point at which you want to tune. Allow the loop to
stabilize.
Step 2
Place the loop in manual mode, the loop must continue to be stable.
Step 3
Turn off integral and derivative action (set them to zero), and set
proportional to a small value.
Step 4
Place the controller in automatic mode.
Zeigler-Nichols Continuous Steps
Step 5
Change the set point (SP) to your operating set point, an offset should occur
in the process variable (PV).
Step 6
Increase the gain until the loop starts oscillating.
Step 7
Record the gain as your ultimate gain (Ku).
Step 8
Record the resulting period as the ultimate period (Pu).
Zeigler-Nichols Continuous Steps
Step 9
Calculate Kp, Ti, and Td using the following table:
Kp Ti Td
P 0.50 KU — —
PI 0.45 KU Pu /1.2 —
PID 0.60 KU Pu /2 Pu /8
Ultimate Gain and Ultimate Period
Ultimate Gain and Ultimate Period
Ultimate Gain: It's the gain when the system starts to oscillate.
Zeigler-Nichols Continuous Steps
Step 1
Create a disturbance (ΔCV) -- Step Function the system input
Step 2
Record this on a Reaction Curve (Graph)
Step 3
Draw a line tangent to the rising part of the response curve. This line defines
the lag time (L) and rise time (T) values.
Lag time is the time delay between the controller output and the CV
response
Zeigler-Nichols Step Method
Step 4
Calculate the slope of the curve (Refer to example on next few slides)
Step 5
Calculate the PID constants (Refer to example on next few slides)
Zeigler-Nichols Step Method