Mathematical Models for Simulation, Control and Testing

Slides:



Advertisements
Similar presentations
PID Controllers and PID tuning
Advertisements

Dynamic Energy Balance. Last time: well-mixed CSTR w/flow & reaction for multiple reactions: rxn #
ORDINARY DIFFERENTIAL EQUATIONS (ODE)
PID Control -1 + Professor Walter W. Olson
CHE 185 – PROCESS CONTROL AND DYNAMICS
Development of Dynamic Models Illustrative Example: A Blending Process
A Comparative Study Of Deterministic And Stochastic Optimization Methods For Integrated Design Of Processes Mario Francisco a, Silvana Revollar b, Pastora.
Chapter 8. The PID Controller Copyright © Thomas Marlin 2013
THEORETICAL MODELS OF CHEMICAL PROCESSES
CSE 425: Industrial Process Control 1. About the course Lect.TuLabTotal Semester work 80Final 125Total Grading Scheme Course webpage:
Proportional/Integral/Derivative Control
CHAPTER II PROCESS DYNAMICS AND MATHEMATICAL MODELING
Offset Free Tracking with MPC under Uncertainty: Experimental Verification Audun Faanes * and Sigurd Skogestad † Department of Chemical Engineering Norwegian.
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 19.
DYNAMIC BEHAVIOR AND STABILITY OF CLOSED-LOOP CONTROL SYSTEMS
Temperature Controller A model predictive controller (MPC) based on the controller proposed by Muske and Rawlings (1993) is used. For the predictions we.
Objectives Discuss final project deliverables Control Terminology
Høgskolen i Telemark Control of Biogas Reactors Telemark University College Presentation at "Servomøtet", Trondheim, October 2015 Finn Aakre Haugen.
Objectives Finish DOAS Control Terminology Types of controllers
© 2014 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 30.
President UniversityErwin SitompulSMI 1/1 Dr.-Ing. Erwin Sitompul President University Lecture 1 System Modeling and Identification
Lecture Objectives: Define the final project Deliverables and Grading policy Analyze factors that influence accuracy of our modeling study Learn about.
Lecture 2: Mathematical Modeling Copyright © Thomas Marlin 2013 The copyright holder provides a royalty-free license for use of this material at non-profit.
© 2014 Evoqua Water Technologies LLC INTRODUCING THE CAPTIVATOR George Smith; Director of Biological Processes.
Lesson 19: Process Characteristics- 1 st Order Lag & Dead-Time Processes ET 438a Automatic Control Systems Technology lesson19et438a.pptx 1.
Announcements Next class is the course evaluation
Transfer Functions Chapter 4
Estimation of the critical temperature ratio
Presentation at NI Day April 2010 Lillestrøm, Norway
Comparison of nonlinear model-based controllers and gain-scheduled Internal Model Control based on identified model Esmaeil Jahanshahi and Sigurd Skogestad.
Model-based Predictive Control (MPC)
CHAPTER VI BLOCK DIAGRAMS AND LINEARIZATION
Introduction to process control
Course PEF3006 Process Control Fall 2017 Lecture: Process dynamics
Course IIA1117 Control Engineering Fall 2017 Plant-wide control
State estimation (Kalman filter)
Model-based Predictive Control (MPC)
Tuning of PID controllers
Av Finn Aakre Haugen IA3112 Automatiseringsteknikk og EK3114 Automatisering og vannkraftregulering Høstsemesteret 2017 Gain scheduling.
Tuning of PID controllers
Controller Tuning: A Motivational Example
Lecture Objectives: Discuss HW2
Dynamic Behavior of Ideal Systems
Model-based Predictive Control (MPC)
Model-based Predictive Control (MPC)
Course PEF3006 Process Control Fall 2018 Lecture: Process dynamics
Enhanced Single-Loop Control Strategies
Course PEF3006 Process Control Fall 2018 PID Control
State estimation (Kalman filter)
Christoph J. Backi and Sigurd Skogestad
Introduction to process control
IA3112 Automatiseringsteknikk Høsten 2018
IA3112 Automatiseringsteknikk Høsten 2017
Course IIA1117 Control Engineering Fall 2017 Cascade control
Averaging (or equalizing) level control
Course IIA1117 Control Engineering Fall 2018 Cascade control
Course IIA1117 Control Engineering Fall 2018 Plant-wide control
Av Finn Aakre Haugen IA3112 Automatiseringsteknikk og EK3114 Automatisering og vannkraftregulering Høstsemesteret 2018 Gain scheduling.
Course PEF3006 Process Control Fall 2017 Feedforward Control
Energy performance and Carbon emissions Assessment and Monitoring tool
How a control system may become unstable
Averaging (or equalizing) level control
Course IIA1117 Control Engineering Fall 2018 Ratio control
Course IIA1117 Control Engineering Fall 2017 Ratio control
Interacting vs. Noninteracting Systems
Averaging (or equalizing) level control
PROCESS DYNAMICS AND CONTROL Fourth Year by Dr. Forat Yasir AlJaberi
How a control system may become unstable
Controller Tuning Relations
Course PEF3006 Process Control Fall 2017 PID Control
Presentation transcript:

Mathematical Models for Simulation, Control and Testing Nordisk drifts- og vedlikeholdsmøte Oslofjordmuseet, 14th - 15th September 2017 Mathematical Models for Simulation, Control and Testing Finn Aakre Haugen Finn Aakre Haugen, VEAS

Consultant at VEAS (part-time position) My background: Consultant at VEAS (part-time position) Docent at University College of Southeast Norway (Høgskolen i Sørøst-Norge), campus Porsgrunn MSc in Engineering Cybernetics PhD with thesis "Optimal design, operation and control of an anaerobic digestion reactor" Finn Aakre Haugen, VEAS

Finn Aakre Haugen, VEAS

Three applications of modelling at VEAS: Compliant level control of inlet basin (magazine) Temperature control of biogas reactor Control of combined tunnel system Finn Aakre Haugen, VEAS

Modeling and simulation of the inlet basin of the VEAS WWTP. Application 1: Modeling and simulation of the inlet basin of the VEAS WWTP. Aim: Smooth WWTP inflow with compliant level control of basin (PID/MPC). Finn Aakre Haugen, VEAS

Application 1 continued: The inlet basin (magazine): Finn Aakre Haugen, VEAS

Application 1 continued: Practical tests with suggested model-based "Skogestad" PI tuning (tested on simulator in LabVIEW): At present, with more or less "random" PI settings: Model-based PI settings = improvement! (Smoother pump flow) Finn Aakre Haugen, VEAS

Application 1 continued: Practical tests with suggested MPC (tested on simulator in LabVIEW+MATLAB): At present, with more or less "random" PI settings: MPC is also an improvement! Finn Aakre Haugen, VEAS

Application 1 continued: The mathematical model which is used for PI tuning, MPC, and simulation: A mechanistic model (a first order differential equation) based on material balance of the liquid, assumed as water, in the inlet basin: dh/dt = [Fin - Fpump]/A where the net unknown inflows are estimated with a Kalman Filter (which is a model-based soft sensor). Finn Aakre Haugen, VEAS

Application 1 continued: The principle of MPC: Continuously calculating the control signal (u_LC) as the solution to the following optimization problem: In this application, the fmincon optimization function in Matlab was used. Result: Smoother flow u_LC, and more compliant level h, is obtained with larger cost C2. Finn Aakre Haugen, VEAS

ySP ypred u Principle of MPC: The optimal control signal applied to the actuator. Calculated, but not applied to the process. ySP The optimal control sequence is calculated by the MPC. ypred u(2) u u(0) u(1) Now! Future For example: Np = 20 (samples) Finn Aakre Haugen, VEAS

Application 1 continued: Kc = 1/(2*Ki*Tc) og Ti = 2*Tc [s] PI controller tuning of the level controller with Skogestad's rules for "integrator without time-delay": Kc = 1/(2*Ki*Tc) og Ti = 2*Tc [s] where Ki = 1/A and Tc is the specified (adjustable) time-constant of the closed loop system. Result: Smoother flow u_LC, and more compliant level h, is obtained with larger Tc. Finn Aakre Haugen, VEAS

Application 2 (by PhD candidate Shadi Attar et al.): Model-based PI controller tuning and simulator-based testing of a new temperature control design of the biogas reactors at VEAS Finn Aakre Haugen, VEAS

The temperature control system where the controller TC must be tuned: Application 2: The temperature control system where the controller TC must be tuned: Finn Aakre Haugen, VEAS

Application 2 continued: Operation sequence of each reactor: Filling Phase (45 min): Pumping raw sludge to reactor from raw-sludge storage tank, and also pumping digested sludge through heat exchangers. Note: In the current reactor operation regime, heat can be added to the reactor only in the filling phase. Holding Phase (120 min): Circulating digested sludge and no new feed flow for sludge hygeinisation purposes. Reactor sludge is retained at minimum 55 °C for minimum of 2h. Emptying phase (15 min): Transferring the hygienised digested sludge to a buffer tank. Finn Aakre Haugen, VEAS

Application 2 continued: The following mathematical model is used for simulation of the biogas reactor: A mechanistic model (a first order differential equation) based on energy balance of liquid in the reactor (assuming homogeneous conditions and water): Finn Aakre Haugen, VEAS

Application 2 continued: Front panel of the LabVIEW-based simulator: Finn Aakre Haugen, VEAS

Application 2 continued: Small part of block diagram of the LabVIEW-based simulator: Finn Aakre Haugen, VEAS

Application 2 continued: For the controller tuning the following "integrator with time-delay" model is used: Skogestad PI settings: (These theoretically derived PI settings works well in practice.) Finn Aakre Haugen, VEAS

Application 3 (which is in its very beginning): Conceptual simulation and model-based predictive control (MPC) of the combined tunnel system of VEAS with these main aims: Reduction of overflow into the Oslo Fjord at large loads. Smoother inflow into the WWTP (WRRF) at normal loads. Finn Aakre Haugen, VEAS

Finn Aakre Haugen, VEAS

The preliminary model for the simulator and the MPC is based on: Application 3 cont.: The preliminary model for the simulator and the MPC is based on: Mass balance of each magazine Hydraulic transportation of liquid as transportation time (time delay) in series with time lags (critically damped or overdamped second-order transfer functions). The model must be adapted to real data. The model should - eventually - include predictions of tunnel inflows from precipitations sensors and sewage system model(s). Finn Aakre Haugen, VEAS

Final comments: Quite simple mechanistic mathematical models can be very useful in practical applications. Can we make more use of models in our plants? Finn Aakre Haugen, VEAS