pengendalian proses

43
Pengendalian Process (Process Control) Presented by : Achmad Chafidz M. S., S.T., M.Sc. Chemical Engineering Department, Semarang State University Universitas Negeri Semarang (UNNES) Semester Genap 2015/2016 Chemical Engineering Course (undergraduate)

Transcript of pengendalian proses

Page 1: pengendalian proses

Pengendalian Process(Process Control)

Presented by:

Achmad Chafidz M. S., S.T., M.Sc.

Chemical Engineering Department, Semarang State University

Universitas Negeri Semarang (UNNES)Semester Genap 2015/2016

Chemical Engineering Course (undergraduate)

Page 2: pengendalian proses

1. Thomas E. MarlinProcess Control, Designing Processes and Control System for Dynamic Performance, 2nd edition, 2000, McGraw-Hill International

2. Dale E. SeborgProcess Dynamics and Control, 2nd edition, 2004, John Wiley & Sons, Inc.

3. William L. LuybenProcess modeling, simulation, and control for chemical engineers, 2nd edition, 1990, McGraw-Hill International

Handbooks

Page 3: pengendalian proses

Outline of the lesson.

• Reasons why we need dynamic models

• Six (6) - step modelling procedure

• Many examples

- mixing tank

- CSTR

- draining tank

CHAPTER 3 : MATHEMATICAL

MODELLING PRINCIPLES

Page 4: pengendalian proses

WHY WE NEED DYNAMIC MODELS

Feed material is delivered periodically, but the process

requires a continuous feed flow. How large should should

the tank volume be?

We must provide

process flexibility

for good

dynamic performance!

Time

Periodic Delivery flow

Continuous

Feed to process

Page 5: pengendalian proses

WHY WE NEED DYNAMIC MODELS

The cooling water pumps have failed. How long do we have

until the exothermic reactor runs away?

Process dynamics

are important

for safety!

L

F

T

A

time

Temperature

Dangerous

Page 6: pengendalian proses

WHY WE DEVELOP MATHEMATICAL MODELS?

T

A

Process

Input change,

e.g., step in

coolant flow rate

Effect on

output

variable

• How far?

• How fast

• “Shape”

How does the

process

influence the

response?

Math models

help us answer

these questions!

Page 7: pengendalian proses

SIX-STEP MODELLING PROCEDURE

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

T

A

- Specific design- Specific numerical values – “at what time will theliquid in the tank overflow”- Functional relationship – “How would the flowrate and tank volume influence the time that theoverflow will occur”

Page 8: pengendalian proses

SIX-STEP MODELLING PROCEDURE

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

T

A

• Sketch process & identity the system

• Identify variables of interest

• Collect data & state assumptions

Variable(s) are the

same for any

location within

the system!

Examples of variable selection

liquid level total mass in liquid

pressure total moles in vapor

temperature energy balance

concentration component mass

Page 9: pengendalian proses

SIX-STEP MODELLING PROCEDURE

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

• What type of equations do we use first?

Conservation balances for key variable

• How many equations do we need?

Degrees of freedom = NV - NE = 0

• What after conservation balances?

Constitutive equations, e.g.,

Q = h A (T)

rA = k 0 e -E/RT

Not fundamental, based on empirical data

Page 10: pengendalian proses

SIX-STEP MODELLING PROCEDURE

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

CONSERVATION BALANCES

Overall Material

out massin massmass of onAccumulati

Component Material

mass component

of generation

out mass

component

in mass

component

mass component

of onAccumulati

Energy*

* Assumes that the system volume does not change

Page 11: pengendalian proses

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

CONSERVATION BALANCES

SIX-STEP MODELLING PROCEDURE

s

outin

W-Q

KE PE HKE PE HKE PE U

onAccumulati

Energy*

Which can be written for a system with constant volumeas:

Page 12: pengendalian proses

SIX-STEP MODELLING PROCEDURE

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

Our dynamic models will involve

differential (and algebraic) equations

because of the accumulation terms.

AAAA VkCCCF

dt

dCV )( 0

With initial conditions

CA = 3.2 kg-mole/m3 at t = 0

And some change to an input

variable, the “forcing function”, e.g.,

CA0 = f(t) = 2.1 t (ramp function)

Page 13: pengendalian proses

SIX-STEP MODELLING PROCEDURE

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

We need to solve simple models analytically

to provide excellent relationship between

process and dynamic response, e.g.,

0tfor

)e(K)C()t(C)t(C/t

AtAA

100

Many results will have the same form!

We want to know how the process

influences K and , e.g.,

VkF

V

kVF

FK

Steady-state gain Time constant

Page 14: pengendalian proses

SIX-STEP MODELLING PROCEDURE

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

We can solve complex models numerically,

e.g.,

20 AAA

A VkCCCFdt

dCV )(

Using a difference approximation for the

derivative, we can derive the Euler method.

1

20

1

n

AAAAA

V

VkCCCFtCC

nn

)()(

Other methods include Runge-Kutta and

Adams.

Page 15: pengendalian proses

SIX-STEP MODELLING PROCEDURE

1. Define Goals

2. Prepare

information

3. Formulate

the model

4. Determine

the solution

5. Analyze

Results

6. Validate the

model

• Check results for correctness

- sign and shape as expected

- obeys assumptions

- negligible numerical errors

• Plot results

• Evaluate sensitivity & accuracy

• Compare with empirical data

Page 16: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Textbook Example 3.1: The mixing tank in the figure has

been operating for a long time with a feed concentration of

0.925 kg-mole/m3. The feed composition experiences a step

to 1.85 kg-mole/m3. All other variables are constant.

Determine the dynamic response.

(We’ll solve this in class.)

F

CA0VCA

Page 17: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Page 18: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

The equations are derived based on fundamentalprinciples, which categorized into: conservation andconstitutive.

General lumped-parametersystem

The conservation balances are relationships thatare obeyed by all physical systems and valid forchemical process

The conservation equations most often used inprocess control are: material (overall andcomponent), energy, and momentum.

Page 19: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Page 20: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Some examples of constitutive equations:

Page 21: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Model Formulation

Since this problem involves concentrations, overall and component balanceswill be prepared

The overall material balances for an increment t is:

Page 22: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

This result, stated as an assumption hereafter, will be used for all tanks withoverflow.The next step is to formulate a material balance on component A. Since thetank is well-mixed, the tank and outlet concentration are the same.

Page 23: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Page 24: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Mathematical solution

Page 25: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Mathematical solution with Integrating factor

Page 26: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Page 27: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Page 28: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Page 29: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Page 30: pengendalian proses

MODELLING EXAMPLE 3.1. MIXING TANK

Page 31: pengendalian proses

MODELLING EXAMPLE 3.2. CSTR

The dynamic response of a continuous-flow. Stirred-tank chemical reactor(CSTR) will be determined in this example.

Page 32: pengendalian proses

MODELLING EXAMPLE 3.2. CSTR

OR

Page 33: pengendalian proses

Time constant()

BESAR berarti respon dinamiknya LAMBAT

KECIL berarti respon dinamiknya CEPAT

Process gain (K)

Perubahan output (respon) dibagi perubahan input

Karakteristik Model

33

Solusi dengan Faktor Integral

Solusi Eksak

Solusi dengan Transformasi LAPLACE

3 Solusi Model Dinamik

Page 34: pengendalian proses
Page 35: pengendalian proses
Page 36: pengendalian proses
Page 37: pengendalian proses

MODELLING EXAMPLE 3.3. TWO CSTRs

AA kCr

BA

F

CA0V1CA1

V2CA2

Two isothermal CSTRs are initially at steady state and

experience a step change to the feed composition to the

first tank. Formulate the model for CA2. Be especially

careful when defining the system!

(We’ll solve this in class.)

Page 38: pengendalian proses

MODELLING EXAMPLE 3.3. TWO CSTRs

Dynamic response for example 3.3

Page 39: pengendalian proses

MODELLING EXAMPLE 3.5. N-L CSTR

Textbook Example 3.5: The isothermal, CSTR in the figure

has been operating for a long time with a constant feed

concentration. The feed composition experiences a step.

All other variables are constant. Determine the dynamic

response of CA.

(We’ll solve this in class.)

2AA kCr

BA

F

CA0VCA

Non-linear!

Page 40: pengendalian proses

MODELLING EXAMPLE 3.5. N-L CSTR

We solve the linearized model analytically and the non-linear

numerically.Deviation variables

do not change the

answer, just

translate the values

In this case, the

linearized

approximation is

close to the

“exact”non-linear

solution.

Page 41: pengendalian proses

MODELLING EXAMPLE 3.6. DRAINING TANK

Textbook Example 3.6: The tank with a drain has a

continuous flow in and out. It has achieved initial steady

state when a step decrease occurs to the flow in. Determine

the level as a function of time.

Solve the non-linear and linearized models.

Page 42: pengendalian proses

MODELLING EXAMPLE 3.6. DRAINING TANK

Small flow change:

linearized

approximation is good

Large flow change:

linearized model is

poor – the answer is

physically impossible!

(Why?)

Page 43: pengendalian proses