APC Engineering Papers

Advanced Process Control (APC) engineering papers from the Burnaby Refinery, and friends!

Night view of the Burnaby Refinery with the Burrard Inlet and mountains in the background.

Collaborators: [Control Consulting Inc] [Stiperstone Analytics] [UBC DAIS Lab]


How do we make it easier to condition steady-state gain matrices?

Upcoming presentation at AdCONIP 2022!
A simple discretization scheme for gain matrix conditioning
Daniel L. O'Connor, Lim C. Siang, Shams Elnawawi. 7th International Symposium on Advanced Control of Industrial Processes (AdCONIP), (2022). Accepted. [arXiv] [Slides]
A simple discretization scheme for gain matrix conditioning

Coming soon! Upcoming presentation at AdCONIP 2022.

Abstract
In industrial model predictive controllers (MPCs), models generated from regression-based system identification methods typically contain small or even physically non-existent degrees of freedom. Control issues can arise when the steady-state optimizer uses these small degrees of freedom to calculate targets for plant operation due to matrix ill-conditioning. Mathematical techniques like Relative Gain Array (RGA) and Singular Value Decomposition (SVD) are helpful for analyzing controller gain interactions and identifying conditioning issues, which can be corrected relatively easily in small models. However, these techniques are difficult and tedious to apply for larger, more complex models. This paper describes a novel, non-iterative, RGA-based, binning technique for discretizing the gain matrix and quickly solving 2$\times$2 conditioning issues for any model size, while guaranteeing gain adjustments below a certain threshold. Higher order interactions are also discussed.

How do we visualize and diagnose faults in APC applications?

Interactive visualization for diagnosis of industrial Model Predictive Controllers with steady-state optimizers
Shams Elnawawi, Lim C. Siang, Daniel L. O’Connor, and R. Bhushan Gopaluni. Control Engineering Practice, 121 (2022), 10506. [PDF] [URL]
Interactive visualization paper graphical abstract
Abstract
Model Predictive Controllers (MPCs) are widely used in the process industries and are typically implemented with an integrated Linear Program (LP) optimizer in the form of two-stage LP-MPC systems. Despite significant control-theoretic advances in MPC design and performance evaluation in academia, there is still a gap in addressing operational issues in real-world MPC controllers. In particular, engineers and operators responsible for sustaining MPCs often need to interpret the LP solution to understand the controller’s actions. Without easy interpretability, it is difficult to troubleshoot MPCs especially for large-dimensional controllers. To alleviate this difficulty, a systematic approach that facilitates LP solution diagnostics using tools from data visualization and process control is developed. The ‘partial pivoting’ operation – an industrial practice that has seen limited exposure in academic literature – is discussed in detail with regards to its role in LP solution diagnosis. Typical workflows for diagnosing problematic controllers are used in conjunction with data visualization principles to guide the design of new tools focused on visualizing variable constraint data that facilitate the diagnosis process. These proposed tools are designed using Munzner’s “Nested Model” as a guiding framework for visualization design and evaluation. The use of these tools is demonstrated in multiple industrial examples, with comparison to current industrial methodologies.

How do we leverage analytics in refining and process control?

Analytics Cheatsheets: [Spotfire] [Seeq]

Self-service analytics and the processing of hydrocarbons
Lim C. Siang, Shams Elnawawi, Darren Steele. Digital Chemical Engineering, 3 (2022), 100021. [PDF] [Video] [URL]
Self-service analytics and the processing of hydrocarbons
Abstract
This paper describes the use of self-service analytics on time series process data for the troubleshooting and optimization of refinery operations in the context of data visualization principles and best practices. Refining-relevant examples are used to demonstrate how end-users can access real-time and historical process data and apply the following analytics operations across several refining functions, including (1) incident troubleshooting -- identifying periods of interest and methods available to investigate related plant data, patterns, events and disturbances leading up to the incident, and (2) data cleansing -- filtering sensor data to remove outliers and bad quality data, splicing and aligning data streams for more accurate analysis and to improve the confidence in the outputs of subsequent analysis, such as the outputs of multivariate, regression-based system identification. The paper also provides examples of how ad hoc analyses can be scaled up to plantwide analytics and evolve into routine, automated tasks. The importance of analytic provenance and collaboration in sharing new insights from data is also discussed. To address the human factors associated with self-service analytics innovation, the paper concludes with lessons learnt, observations and adaptations compared to the traditional "business-as-usual" approaches, best practices for data governance, and the implications for engineers that operate in a safety-critical environment.

How do we teach process control in practice?

Work in progress!
Introduction to APC basics for refinery engineers
Lim C. Siang, Shams Elnawawi. GitHub Repository, (2022). [GitHub]

See GitHub repo!

Proposal recently funded by UBC TLEF 2022 ($50,000 over 2 years)
Translating Process Control Theory into Practice – An Innovative, Real-time, Online Simulation Approach to Digital Learning
Lim C. Siang, Shams Elnawawi, Bhushan Gopaluni. UBC Teaching and Learning Enhancement Fund (TLEF) Proposal, (2022). [URL]
UBC TLEF Process Control
Animation from 2018 TLEF project.
Abstract
The undergraduate process control curriculum is typically designed with an abstract and mathematically rigorous approach, emphasizing process modeling and analysis, but with limited coverage of industrial process control design. A recent 2015 AIChE survey discussed these curriculum concerns, and urged institutions to equip students with a better ability to translate control theory into practice. In line with APSC's Strategic Plan towards the University for the Future and delivering leading-edge digital teaching, we propose the development of a novel, open-source, web-based process control simulator. This innovative platform will allow students to interact with a virtual plant that is fully instructor-customizable, in a flexible manner that covers the full spectrum of control tasks including step tests, systems identification, and controller design. This advanced educational tool will equip students with digital skills to prepare for the Future of Work, and provide valuable experiential learning opportunities on control engineering practice.