ISA Interchange

Welcome to the official blog of the International Society of Automation (ISA).

This blog covers numerous topics on industrial automation such as operations & management, continuous & batch processing, connectivity, manufacturing & machine control, and Industry 4.0.

The material and information contained on this website is for general information purposes only. ISA blog posts may be authored by ISA staff and guest authors from the automation community. Views and opinions expressed by a guest author are solely their own, and do not necessarily represent those of ISA. Posts made by guest authors have been subject to peer review.

All Posts

How to Use Simulation and Virtual Plants for Process Improvement

 

The following tip is from the ISA book by Greg McMillan and Hunter Vegas titled 101 Tips for a Successful Automation Career, inspired by the ISA Mentor Program. This is Tip #62, and was written by Greg.

 

During my career, modeling has been an essential part of developing a better understanding of opportunities and a better control system. I have built simulations in IBM’s Continuous Simulation Modeling Program (CSMP), Raytheon’s Advanced Continuous Simulation Language (ACSL), Microsoft’s Visual Basic, Hyprotech’s HYSYS, Emerson’s DeltaV, and MYNAH Technologies’ MiMiC. most cases I focused on the unit operations where control system innovation was possible and beneficial.

I tackled all types of unit operations except for distillation. I avoided this unit operation because my associate Terry Tolliver was the world’s best in simulating and controlling all types of columns. My initial applications were in the modeling and control of difficult compressor surge control, furnace pH control, and strong acid-base pH control. In these applications the process response was so fast and/or extreme that simulations were the only way to safely analyze the response and test a solution.

 

One compressor I modeled could accelerate to the point of rotor damage within a few seconds once in surge. Because the compressor was responsible for all of an intermediate’s production and rotors were one of a kind, the compressor could not be allowed to go into surge. A derivative module was installed that detected a high rate of change of speed and shut down the compressor before axial thrust was even measured. Simulation was the key to understanding how compressor surge was an incredibly fast phenomenon, like falling off a cliff.

Compressors in two other applications were not as difficult to model but operations would often trigger a surge and have to shut down the compressors that were being manually brought online. In both cases, Operations insisted that automatic start-up was not possible because manual start-up was so difficult and unpredictable. I prototyped and demonstrated by dynamic simulation the automated start-up of the compressor flow, pressure, speed, and surge controllers. The go-ahead was given and the control systems thereafter provided faster and much more consistent start-ups with no surge. For difficult control problems, I built dynamic first principle models that integrated ordinary differential equations (ODE) for charge, component, energy, material, and momentum balances as documented in Appendix F. Today, for common unit operations you can graphically drag and drop in modeling objects instead of writing and programming the ODE.

Via a test, an auto or adaptive tuner, model predictive controller, or rapid modeler module can identify the dynamics for a given combination of a process input and output. The test typically consists of a momentary step change in a flow, often by a step change in a PID setpoint or output. The identified deadtime, process gain, and process time constant can be used to provide an experimental model. This model is linear and may not reflect all the interactions and effects of operating conditions, but it may be more accurate than the first principle model for operation at the test conditions.

Concept: Experimentation on actual processes is limited at best. Changes in operating points often require documentation and approval. New control systems must improve and not hinder plant performance from the “get-go.” First principle and experimental models can provide a virtual plant to develop and demonstrate new strategies and provide implementation details and expected benefits.

Details: Building and using first principle models based on the conservation of energy, mass, and momentum will help you to develop a deeper understanding of process interactions and dynamics. Process Flow Diagram (PFD) types of dynamic simulators excel at capturing the complexities of process relationships and are useful for detailing the effect of process conditions on process gains. Advanced Modeling Objects (AMO) are more easily integrated than PFD simulations into a virtual plant and offer more realistic dynamics by the inclusion process deadtime, batch and startup responses, and automation system responses.

Experimental models obtained from auto and adaptive tuners, model predictive controllers, and rapid modeler modules offer accurate process dynamics for the test conditions. See the ISA Interchange posts: What Are the Pro and Cons of Different Types of Dynamic Process Simulators? and What Is the Best Approach in Developing a Dynamic Process Model? For more details on the relative merits of simulators, fidelity levels, and the steps for constructing first principle models for the virtual plant described in Tip #99 and the “Checklist for a Virtual Plant” in Appendix C.

 

Watch-outs: Steady-state models are only useful for finding gains of self-regulating processes. Most PFD simulators do not extend equilibrium relationships to the driving force equations needed for dynamics. PFD dynamic simulators are notorious for having insufficient deadtime in the model due to the lack of transportation delays, mixing delays, valve backlash and stiction, sensor lags, measurement update times, and signal filters. Nearly all first principle simulators treat volumes as completely mixed and ignore injection delays from dip tubes. For volumes with less than perfect mixing and small reagent or reactant flows, the process deadtime is an order of magnitude or more too low. For fast processes such as liquid pressure and flow, modeling transmitter damping, scan rates, and PID execution times is crucial for getting the dynamics right.

Experimental models can break down due to process interactions and nonlinearities. Experimental models are generally not valid for start-up, shutdown, and abnormal conditions. Backlash and stiction must be modeled to show limit cycles and loop deadtime as the PID output signal works through the deadband, resolution, and threshold sensitivity of the control valve. The PID algorithm in a distributed control system (DCS) is sophisticated and proprietary, representing many engineering years of effort. The PID emulated in dynamic simulators generally does not capture all of the features of the DCS PID. In particular, external-reset feedback, a powerful tool, must be included. For these and many other reasons, the use of the actual DCS configuration in a virtual plant environment (Tip #99) is essential.

Exceptions: Simulations involving computational fluid dynamics and partial differential equations are presently beyond the capability of the automation engineer.

Insight: First principle models and experimental models used.

 

About the Author
Gregory K. McMillan, CAP, is a retired Senior Fellow from Solutia/Monsanto where he worked in engineering technology on process control improvement. Greg was also an affiliate professor for Washington University in Saint Louis. Greg is an ISA Fellow and received the ISA Kermit Fischer Environmental Award for pH control in 1991, the Control magazine Engineer of the Year award for the process industry in 1994, was inducted into the Control magazine Process Automation Hall of Fame in 2001, was honored by InTech magazine in 2003 as one of the most influential innovators in automation, and received the ISA Life Achievement Award in 2010. Greg is the author of numerous books on process control, including Advances in Reactor Measurement and Control and Essentials of Modern Measurements and Final Elements in the Process Industry. Greg has been the monthly "Control Talk" columnist for Control magazine since 2002. Presently, Greg is a part time modeling and control consultant in Technology for Process Simulation for Emerson Automation Solutions specializing in the use of the virtual plant for exploring new opportunities. He spends most of his time writing, teaching and leading the ISA Mentor Program he founded in 2011.

 

Connect with Greg
LinkedIn

 

Hunter Vegas, P.E., holds a B.S.E.E. degree from Tulane University and an M.B.A. from Wake Forest University. His job titles have included instrument engineer, production engineer, instrumentation group leader, principal automation engineer, and unit production manager. In 2001, he joined Avid Solutions, Inc., as an engineering manager and lead project engineer, where he works today. Hunter has executed nearly 2,000 instrumentation and control projects over his career, with budgets ranging from a few thousand to millions of dollars. He is proficient in field instrumentation sizing and selection, safety interlock design, electrical design, advanced control strategy, and numerous control system hardware and software platforms.

 

Connect with Hunter
LinkedIn

 

Greg McMillan
Greg McMillan
Greg McMillan has more than 50 years of experience in industrial process automation, with an emphasis on the synergy of dynamic modeling and process control. He retired as a Senior Fellow from Solutia and a senior principal software engineer from Emerson Process Systems and Solutions. He was also an adjunct professor in the Washington University Saint Louis Chemical Engineering department from 2001 to 2004. Greg is the author of numerous ISA books and columns on process control, and he has been the monthly Control Talk columnist for Control magazine since 2002. He is the leader of the monthly ISA “Ask the Automation Pros” Q&A posts that began as a series of Mentor Program Q&A posts in 2014. He started and guided the ISA Standards and Practices committee on ISA-TR5.9-2023, PID Algorithms and Performance Technical Report, and he wrote “Annex A - Valve Response and Control Loop Performance, Sources, Consequences, Fixes, and Specifications” in ISA-TR75.25.02-2000 (R2023), Control Valve Response Measurement from Step Inputs. Greg’s achievements include the ISA Kermit Fischer Environmental Award for pH control in 1991, appointment to ISA Fellow in 1991, the Control magazine Engineer of the Year Award for the Process Industry in 1994, induction into the Control magazine Process Automation Hall of Fame in 2001, selection as one of InTech magazine’s 50 Most Influential Innovators in 2003, several ISA Raymond D. Molloy awards for bestselling books of the year, the ISA Life Achievement Award in 2010, the ISA Mentoring Excellence award in 2020, and the ISA Standards Achievement Award in 2023. He has a BS in engineering physics from Kansas University and an MS in control theory from Missouri University of Science and Technology, both with emphasis on industrial processes.

Books:

Advances in Reactor Measurement and Control
Good Tuning: A Pocket Guide, Fourth Edition
New Directions in Bioprocess Modeling and Control: Maximizing Process Analytical Technology Benefits, Second Edition
Essentials of Modern Measurements and Final Elements in the Process Industry: A Guide to Design, Configuration, Installation, and Maintenance
101 Tips for a Successful Automation Career
Advanced pH Measurement and Control: Digital Twin Synergy and Advances in Technology, Fourth Edition
The Funnier Side of Retirement for Engineers and People of the Technical Persuasion
The Life and Times of an Automation Professional - An Illustrated Guide
Advanced Temperature Measurement and Control, Second Edition
Models Unleashed: Virtual Plant and Model Predictive Control Applications

Related Posts

Checking In With Mimo, ISA's Large Language Model Trained on ISA Content

Over the summer of 2024, the International Society of Automation (ISA) announced a large language model (...
Kara Phelps Nov 15, 2024 7:00:00 AM

Ask the Automation Pros: The Use of Artificial Intelligence in Process Control

The following discussion is part of an occasional series, "Ask the Automation Pros," authored by Greg McM...
Greg McMillan Nov 12, 2024 4:30:00 PM

Protecting Electrical Terminal Blocks From Tampering

Electrical terminal blocks are a common sight in the automation world. Usually mounted on DIN rail in ind...
Anna Goncharova Nov 8, 2024 10:30:00 AM