MPC in Statoil Stig Strand specialist MPC Statoil

  • Slides: 27
Download presentation
MPC in Statoil Stig Strand, specialist MPC Statoil Research Center 93 SINTEF Automatic Control

MPC in Statoil Stig Strand, specialist MPC Statoil Research Center 93 SINTEF Automatic Control 91 -93 Dr. ing 1991: Dynamic Optimisation in State Space Predictive Control Schemes

MPC solver DV Set point Controlled variable, optimized prediction u Manipulated variable, optimized prediction

MPC solver DV Set point Controlled variable, optimized prediction u Manipulated variable, optimized prediction Current MV v CV Process model y t Prediction horizon CV soft constraint: y < ymax + RP • MV blocking size reduction 0 <= RPmax • CV evaluation points size reduction w*RP 2 in objective • CV reference specifications tuning flexibility set point changes / disturbance rejection • Soft constraints and priority levels feasibility and tuning flexibility

MPC Solver - Control priorities 1. MV rate of change limits 2. MV high/low

MPC Solver - Control priorities 1. MV rate of change limits 2. MV high/low Limits 3. CV hard constraints (”never” used) 4. CV soft constraints, CV set points, MV ideal values: Priority level 1 5. CV soft constraints, CV set points, MV ideal values: Priority level 2 6. CV soft constraints, CV set points, MV ideal values: Priority level n 7. CV soft constraints, CV set points, MV ideal values: Priority level 99 Sequence of steady-state QP solutions to solve 2 – 7 Then a single dynamic QP to meet the adjusted and feasible steady-state goals

MPC variables • Controlled variable (CV) − Set point, high and low limits (constraints)

MPC variables • Controlled variable (CV) − Set point, high and low limits (constraints) • Manipulated variable (MV) − High and low limit, rate of change limit, ideal value (desired, set point) − Acts normally on a basic PID controller set point • Disturbance variable (DV) − Measurable, affects the CVs Set point Controlled variable, optimized prediction Manipulated variable, optimized prediction Current t Prediction horizon

MPC linear models

MPC linear models

MPC – nonlinear models • Open loop response is predicted by non-linear model Ø

MPC – nonlinear models • Open loop response is predicted by non-linear model Ø MV assumption : Interpolation of optimal predictions from last sample • Linearisation by MV step change Ø One step for each MV blocking parameter (increased transient accuracy) • QP solver as for experimental models (step response type models) • Closed loop response is predicted by non-linear model • Iterate solution until satisfactory convergence

Depropaniser example

Depropaniser example

Process Control – an overview Planning Scheduling (days, weeks) Real Time Optimisation (RTO, MPC)

Process Control – an overview Planning Scheduling (days, weeks) Real Time Optimisation (RTO, MPC) (hours) Supervisory Control Model based multivariable control (MPC) (minutes) Basic Control (PCS) (PID, FF, . . ) (seconds) 8 - MPC/RTO MPC Basic Control FC Manual Control

PID compared to Model Predictive Control High limit CV 1 SPs and Limits Low

PID compared to Model Predictive Control High limit CV 1 SPs and Limits Low limit CV 1 SP Set point CV 2 PV PID CO CVs MPC MVs Model PID controller MPC controller 1 degree of freedom More degrees of freedom (# of MVs) Controls PV to a SP. Controls CVs to their SP or limits Has no prediction capability Has full prediction capability SP PV PID CO

MPC – Model Predictive Control • Use process measurements and process models to predict

MPC – Model Predictive Control • Use process measurements and process models to predict the future • Calculate the optimal control actions to meet the control objectives • Often uses soft-sensors/inferential models when e. g. quality is un-measured These are developed using online analyzer and/or laboratory samples with historic process data *MPC – Model Predictive Control

Contributions of MPC • Flexible, implements decoupling, feedback and feed-forward • Improved process response

Contributions of MPC • Flexible, implements decoupling, feedback and feed-forward • Improved process response to feed variations • Improved product quality control • Maximise capacity, maximise profit, reduce cost • Respect process constraints related to equipment or environment • Increased process regularity y y spec y y ref y y Basic Control y spec MPC ref spec y RTO – DRTO - MPC y ref

MPC in Statoil

MPC in Statoil

PROCESS CONTROL ”The SEPTIC story” • The in-house developed SEPTIC MPC tool was established

PROCESS CONTROL ”The SEPTIC story” • The in-house developed SEPTIC MPC tool was established in 1997 and has continuously been improved since then, securing state-of-the-art technology • The process control group at R&D is responsible for SEPTIC, and works with Statoil customers only • The philosophy with SEPTIC is to implement MPC applications together with the users, which have resulted in; − Flexible and quick installations − Cheaper solutions than using external vendors − Non-bureaucratic way of work − Building in-house competence • In 2013 there are 90 (+/-) SEPTIC based applications are installed in Statoil

#2 Åsgard Norne #7 Heidrun Snøhvit Sept-2011: 80 Applications Mongstad Kollsnes #22 #5 Gullfaks/Tordis

#2 Åsgard Norne #7 Heidrun Snøhvit Sept-2011: 80 Applications Mongstad Kollsnes #22 #5 Gullfaks/Tordis #2 #25 Kårstø #17 Kalundborg

Implementation • Operation knowledge – benefit study? or strategy? MPC project • Site personnel

Implementation • Operation knowledge – benefit study? or strategy? MPC project • Site personnel / Statoil R&D joint implementation project • (MPC computer, data interface to DCS, operator interface to MPC) • MPC design MV/CV/DV • DCS preparation (controller tuning, instrumentation, MV handles, communication logics etc ) • Control room operator pre-training and motivation • Product quality control Data collection (process/lab) Inferential model • MV/DV step testing dynamic models • Model judgement/singularity analysis remove models? change models? • MPC pre-tuning by simulation MPC activation – step by step and with care – challenging different constraint combinations – adjust models? • Control room operator training • MPC in normal operation, with at least 99% service factor • Benefit evaluation? • Continuous supervision and maintenance • Each project increases the in-house competence increased efficiency in maintenance and new projects

MPC applications in Statoil, examples • Oil refining (Mongstad and Kalundborg) Ø Distillation columns

MPC applications in Statoil, examples • Oil refining (Mongstad and Kalundborg) Ø Distillation columns Ø Product blending (gasoline, gas oil) Ø Cracking, reforming and hydrotreating Ø Heat exchanger network (RTO) Ø Multi-unit optimisation (RTO/DRTO) • Gas processing (Kårstø, Kollsnes, Snøhvit) Ø Distillation Ø Gas quality control Ø Pipeline pressure control Ø Optimisation • Offshore production Ø Extended slug control Ø Crude blending Ø Production optimisation

Oil refining at Mongstad

Oil refining at Mongstad

Planning and control layers in. SYSTEMS oil refining INTEGRATION OF REFINERY CORPORATE PLANNING MONTHS

Planning and control layers in. SYSTEMS oil refining INTEGRATION OF REFINERY CORPORATE PLANNING MONTHS MULTI-PERIOD REFINERY PLANNING FUNCTIONS WEEKS PRODUCTION SCHEDULING DAYS PRODUCTION CAMPAIGN & ORDER EXECUTION PLANT OPTIMIZATION STEADY-STATE OR DYNAMIC MULTI-UNIT OPTIMIZATION FUNCTIONS HOURS UNIT OPTIMIZER EQUIPMENT OPTIMIZER ADVANCED CONTROL SYSTEM CONSTRAINT CONTROL MULTIVARIABLE CONTROL REGULATORY SYSTEM QUALITY CONTROL MINUTES DYNAMIC FUNCTIONS SECONDS

Mongstad Refinery – Septic MPC & RTO TROLL COND. Vestprosess LPG (Propane / Butane)

Mongstad Refinery – Septic MPC & RTO TROLL COND. Vestprosess LPG (Propane / Butane) Splitter 150 t/h OSEBERG NGL C 5+ Utility (steam & FG) Overhead Light Naph. CRUDE UNIT 1060 t/h Naphtha REF. 1 A-400 49 Medium Naph. Gasoline Reformer 1 49 t/h Reformate A-100 REF. 2 A-1400 100 Heavy Naphtha Amine Isomerate ISOM A-1200 Isomerisation 20 t/h 20 MEROX A-500 90 1000 t/h Light Gasoil Sour Heavy Naphtha. Jet / DGK Kero/Merox 87 t/h Light Gasoil A-5100 MGH 135 Treated Gasoil Hydrotreater 165 t/h Water Heavy Gasoil Wide range Gasoil A-5000 Poly 44 t/h A-15/16 CRUDE OIL LPG Buffercut Residue RFCC Cracker A-4700 Propene 27 t/h 350 Cracker Naph. HDT Light Cycleoil A-1900 IMPORTED RESIDUE HDT Decant Oil 165 Notation: Classification: Internal 2011 -10 -03 A-800 Coker Distill. 90 Treated/Desulph. RCCNA 85 LCO Hydrotr. 85 t/h. COKER Green Coke Propene A-5200 RCCNA Hydrotr. 190 t/h. LCO A-600 Delayed Coker 165 t/h Polygasoline RCC 400 t/h Blending components CAT. POLY 50 Treated LCO/CMG 93 Coker Napht. & Coker Light Gasoil t/h Coker Medium Gasoil 27 Coker Heavy Gasoil A-700 Calciner 27 t/h Running Application Calcined Coke Green Coke Implementation ongoing Future Application 19 - Storage and Blending Kerosene Reformer 2 100 t/h Gasoil

SEPTIC applications Mongstad 2014 Classification: Internal 2011 -10 -03 20 -

SEPTIC applications Mongstad 2014 Classification: Internal 2011 -10 -03 20 -

Crude distillation column #MV: 27 #CV: 45

Crude distillation column #MV: 27 #CV: 45

RCCOPT Mongstad (Cat Cracker Optimiser) RCCOPT 21 CV / 10 MV Catalytic Cracker dynamic

RCCOPT Mongstad (Cat Cracker Optimiser) RCCOPT 21 CV / 10 MV Catalytic Cracker dynamic optimisation Profit maximisation wrt cost of feeds and product values MPCKRA 20 CV / 12 MV reactor / regenerator MPCDES MPCABS MPCBUT 10 CV / 12 MV main fractionator T-1509 11 CV / 9 MV LE (FG, LPG, LNAF) MPC 1900 MPC 5200 ? CV / ? MV LCO hydrotreating (LCO, HGO, Co. MGO) 10 CV / 2 MV naphtha desulphurization MPCPRO MPC 5000 4 CV / 4 MV LPG C 3/C 4 splitter ? CV / ? MV Cat poly unit

RCCOPT Mongstad (Cat Cracker Optimiser)

RCCOPT Mongstad (Cat Cracker Optimiser)

RCCOPT Mongstad (Cat Cracker Optimiser) Objective function (Profit)

RCCOPT Mongstad (Cat Cracker Optimiser) Objective function (Profit)

RCCOPT Mongstad (Cat Cracker Optimiser) Marginal values (profit sensitivities of constraints)

RCCOPT Mongstad (Cat Cracker Optimiser) Marginal values (profit sensitivities of constraints)

RCCOPT Mongstad (Cat Cracker Optimiser) Implementation • Process responses fairly linear within the acceptable

RCCOPT Mongstad (Cat Cracker Optimiser) Implementation • Process responses fairly linear within the acceptable operation window, steady-state modelling from 4 -hours averaged process data for the last 4 years of operation • Objective function is nonlinear due to quality-dependent value of product flows • Prices are updated weekly by planning department when rerunning the refinery LP. Much effort has been spent on consistency between LP and RCCOPT s. t. the price set used in RCCOPT contributes to a global refinery optimisation rather than a suboptimal local optimum. • The first version of RCCOPT was made 15 years ago, but was never in closed loop of several reasons, the most important being pricing mechanisms and model discrepancy issues. • The current RCCOPT application development started in June 2011, was in advisory mode from Dec 2011 till April 2012, and has been in closed loop since then. • RCCOPT is currently tightly coupled to 5 standard MPC applications, communicating control signals forth and back. The models are dynamic, and the application executes once per minute. • The benefit is estimated to 35 - 60 MNOK per year.

MPC in Statoil Stig Strand Specialist stra@statoil. com Tel: +4748038734 www. statoil. com

MPC in Statoil Stig Strand Specialist stra@statoil. com Tel: +4748038734 www. statoil. com