Académique Documents
Professionnel Documents
Culture Documents
Ming Tham
Scope
What are Numerical Methods?
Nature of Numerical Methods
Important Numerical Methods
finding roots of equations
solving sets of algebraic equations
solving Ordinary Differential Equations (ODEs)
SIMULINK
START
GUESS
SOLUTION
NO
SOLVED?
5) Stop
YES
STOP
School of Chemical Engineering and Advanced Materials
Newcastle University
Numerical Methods
Desired characteristics:
accurate
stable
fast
easy to understand and implement
applicable to a large class of similar problems (have utility)
Numerical Stability
Describes how errors in the input data propagate
through the algorithm
In a stable method,
the errors due to the approximations get smaller as
the computation proceeds
In an unstable method,
any errors in processing get bigger as the
computation proceeds
Useful in:
process optimisation
vapour-liquid-equilibria
Useful in:
steady-state material and energy balances
function (curve) fitting
interpolation
10
Solving ODE
ODEs
Problem type:
Given dy/dt = F(y, u, t), determine how y changes
with changes in u and t
Will cover solution of single ODEs as well as sets of
ODEs
Useful in
dynamic material and energy balances
simulation of dynamical systems
process control
11
SIMULINK
SIMULINK is part of the MATLAB programming
environment
Visual, drag-and-drop interface for performing
simulations of dynamical systems
Will be used in Stage 2 through to Stage 4
12
13