Lecture 1 (Introduction)
Lecture 1 (Introduction)
Simulation
The model represents the system itself, whereas the simulation
represents the operation of the system over time.
Model: Mathematical characterization of a physical system
https://www.youtube.com/watch?v=FOVk9GVphGo
1
Modeling
➢ Modeling is the process of producing a model.
➢ A model is a representation of the construction and
working of some system of interest.
➢ A model is similar to but simpler than the system it
represents.
➢ One purpose of a model is to enable the analyst to predict
the effect of changes to the system.
2
Simulation
• Simulation is the reproduction of the
operation of a real-world process or
system over time.
• The act of simulating something first requires
that a model be developed; this model
represents the key characteristics or
behaviors/functions of the selected physical
or abstract system or process
3
Course Objectives
To enable you to:
4
Course References
6
What does “Model” mean?
• Representation of a physical system by
mathematical equations
• (Models at their best are no more than approximation
of the real process )
• Equations are based on fundamental laws of
physics (conservation principle, transport
phenomena, thermodynamics and chemical
reaction kinetics).
7
What does “Simulation”
mean?
• Solving the model equations analytically
or numerically.
• Modeling & Simulation are valuable tools: safer
and cheaper to perform tests on the model using
computer simulations rather than carrying
repetitive experimentations and observations on
the real system.
8
System
Boundary
Classification based on
System
thermodynamic Suroundings
principles
Empirical
Theoretical Semi-empirical
based on experimental
based on fundamental plant data.
principles
11
Why Dynamic Behaviour?
A subject of great importance for the:
1. Study of operability and controllability of
continuous processes subject to small
disturbances
2. Development of start-up and shut-down
procedures
3. Study of switching continuous processes from
one steady-state to another
4. Analysis of the safety of processes subject to
large disturbances
5. Study of the design and operation procedures
for intrinsically dynamic processes 12
(batch/periodic/separation)
Systematic Model Building
1. Problem definition (inputs, outputs, etc.)
13
7. Validate the model (compare with experiments)
Ingredients of Process Models
1. Assumptions
– Time, spatial characteristics
– Flow conditions
3. Initial conditions
4. Boundary conditions
5. Parameters 14
Process Classification:
Batch vs. Continuous
Batch:
➢feedstocks for each processing step (i.e.,
reaction, distillation) are charged into the
equipment at the start of processing; products
are removed at the end of processing
0.70
[A]
0.60 [C]
Concentrations [mol/m3]
[D]
0.50 [B]
0.40
0.30
0.20
0.10
0.00
0.0 100.0 200.0 300.0 400.0 500.0 600.0
Time [s] 16
Variations on Batch Operation
Semi-batch (fed-batch):
• One or more feedstocks to a batch unit
operation to be added during the batch
Semi-continuous:
• Some products are removed during the batch
17
Process Classification:
Batch vs. Continuous
Continuous:
➢Involve continuous flows of material from one
processing unit to the next
18
Continuous Example: PFR
Fc, Tcin
r
pFin, Tf in, vin
z
19
Variations on
Continuous Operation
Periodic:
• Continuous processes subjected to a periodic (e.g.,
sinusoidal or square wave) variation of one or more of
the material/energy input streams
Industrially Important Examples
• Periodic adsorption – periodic conditions
(pressure/temperature) regulates preferential adsorption
and desorption of different species over different parts of
the cycle
• Periodic catalytic reaction – involves variation of feed
composition; under certain conditions the average
performance of the reactor is improved
20
Lumped vs. Distributed
Lumped Operations:
(Almost) perfect mixing – at any particular time
instant, the values of operating conditions are
(approximately) the same at all points within
the unit
Distributed Operations:
Imperfect mixing will result in different
operating conditions at different points even at
the same time → existence of distributions of
conditions over spatial domains
21
Lumped vs. Distributed:
Mathematical Considerations
Lumped Operations:
• Characterised by a single independent variable
(time)
• Their modelling can be effected in terms of
ordinary differential equations (ODEs)
Distributed Operations:
• Introduce additional independent variables
(e.g., one or more spatial co-ordinates, particle
size, molecular weight, etc.)
• Involves partial differential equations (PDEs) in
time
22
Lumped vs. Distributed:
How do I decide?
Deciding on whether to model a system
as lumped or distributed operations is a
matter of judgement for the modeller.
Must Consider:
• Objectives of the model being constructed
(control, optimisation, operating procedures)
• Required predictive accuracy
• Information available for model validation
23
Conservation Laws
Mathematical Modelling:
– Encoding physical behaviour as a set of
mathematical relations
– Involves application of fundamental
physical laws
– Consider a subset of the universe as a
system of interest – the position of the
boundary separating the system and its
surroundings may vary with time
24
Conservation Laws:
General Form
Conservation laws describe the variation of
the amount of a “conserved quantity” within
the system over time:
25
Conserved Quantities
26
Conservation Laws:
Comments
• Conservation laws provide a simple and systematic “balance”
• With a generation term, conservation laws may be written for
any physical quantity
• The usefulness of a particular law depends on whether or not
we possess the necessary physical knowledge to quantify each
term
• Often, the rate of generation of one quantity is related to the
rate of generation (or consumption) of another – this may affect
the quantities to which we can apply a conservation law
– e.g., A⎯
⎯→ B
rate of rate of
generation = consumptio n
of B of A
– If we cannot characterise the either rate, a conservation law will
not prove to be useful
– A conservation law on (A+B) will since it does not involve a 27
generation term
Distributed Systems:Microscopic balance
28
Perfect Mixing Assumption
29
Macroscopic balance
30
Accumulation Terms in
Conservation Laws
Extensive variables: mass, volume
32
Conservation Laws:
Energy
Accumulation: takes account of all forms of energy
Internal energy random movement of molecules/atoms of fluid;
intermolecular/interatomic forces
dV
− Patm = work imparted to system
dt
35
Next Lecture
• Elements of conservations laws:
– Transport rates:bulk and diffusion flow;
– Thermodynamic relations;
– Phase equilibria
– Chemical kinetics
– Control laws
• Degree of freedom
• Modeling of lumped parameter chemical
systems
36