What an LNG process control engineer taught us about chiller plants

What an LNG process control engineer taught us about chiller plants

What an advanced process control engineer from the LNG world taught us about our own vocabulary, and why a chilled water plant is a harder optimization problem than it looks.

Welcome to edition nine. We recently had a long conversation with an engineer who has built his career in advanced process control (APC) on LNG plants and large manufacturing facilities. On a plant that size, he pointed out, a 1 or 2 per cent energy saving is worth millions of dollars a year. That is why the process industries have run optimisation software since the early 1980s.

APC also has something building energy optimisation lacks: a shared set of terms for what you can move, what moves on its own, and what has to stay inside its limits. So this edition borrows them, first to describe our approach, then to explain why the best setpoint on a chilled water plant often sits in the middle of the range, not at a limit.

Three letters that do most of the work

APC sorts every variable in a process into one of three buckets.

  • DV, disturbance variable. In APC: changes the process, but the controller can't move it. It is measured and planned around. In a chilled water plant: cooling load, wet bulb and dry bulb, the site's chilled water leaving temperature, equipment availability, time of day and season.
  • MV, manipulated variable. In APC: a handle the optimiser is allowed to move, usually a setpoint. In a chilled water plant: condenser water supply temperature and flow setpoints, load share between chillers, and (in stage two) the thresholds for staging equipment on and off.
  • CV, controlled variable. In APC: an output held at a target or kept inside limits. In a chilled water plant: fan and pump speeds, chilled and condenser water flows and temperatures, chiller lift, minimum turndown, maximum amps, equipment kW.

Two more terms complete the picture. The objective is the single number the optimiser is trying to push down. For us, that is usually total plant kW. The constraints are the CV limits: the minimum flow through an evaporator, the maximum differential pressure across a pump, or the lowest condenser water temperature a chiller will tolerate. A candidate that breaks one is thrown out, however little energy it uses.

Note that fan and pump speeds are CVs, not MVs. We never write a speed. We write a setpoint, and the plant's own PID loops turn it into a speed.

That puts our work in the same layer as model predictive control (MPC) on a process plant. Below it, PID loops hold flows, pressures and levels: in the distributed control system (DCS) on a process plant, and in the building management system (BMS) on ours. Our strategy sits above them as setpoint tables and reset curves written natively into the BMS.

Control layers: optimisation sits above the PID loops in the DCS or BMS

How the process industry does it

MPC, the core of modern APC, traces back to Dynamic Matrix Control, which Charles Cutler and Brian Ramaker presented at Shell in 1979 (Control Global). Its models come from step tests: bump each MV in turn and record how every CV responds. The result is a linear model, where each CV moves in proportion to each MV.

That makes the steady-state optimisation a linear program (LP) or a quadratic program, cheap enough that almost every commercial MPC package re-solves it at every control cycle.

An LP's best answer sits at a corner of the feasible region, where several constraints meet. On a process plant, the optimiser pushes the unit up against the right limits: maximum throughput, furnace temperature, column pressure. Cutler described the early Shell work in exactly those terms: the optimisation "used up all its degrees of freedom at some combination of constraints."

Feedback does the rest. Every cycle, the controller compares what it predicted with what it measured and carries the difference into the next solve. Errors in the model's gains get corrected a minute at a time, which is why Cutler could say that industrial models don't need to be particularly accurate for the optimisation to work.

Then there is staging. A refrigeration compressor on an LNG plant can draw tens of megawatts, and short cycling risks real damage. As the engineer we spoke with put it, you would never let the optimizer, or even the automation, decide when to start one. An operator does, and the optimizer works around whatever equipment is running.

Why a chilled water plant is harder to optimize

Now put a chiller plant through the same lens. Chillers, pumps and cooling tower fans each have four properties that matter to an optimizer:

  • It is on or off. A yes or no decision, not a number on a dial.
  • When it is on, it has a floor. A chiller has a minimum stable load, and a pump or fan has a minimum speed.
  • Its efficiency is curved. A chiller's COP changes with part load and lift. Fan and pump power rise roughly with the cube of speed.
  • It changes the others. Tower fan speed sets condenser water temperature, which sets chiller lift and efficiency, which sets the heat going back to the towers.

Put several of each into a real plant and you get a problem that is high-dimensional (every machine adds variables), nonlinear (because of the curves) and discontinuous (because of the gap between off and the turndown floor).

The numbers grow fast. A plant with four chillers, four cooling towers, four condenser water pumps and four chilled water pumps has 16 on/off decisions: 65,536 combinations, each with its own continuous problem of speeds, setpoints and load share. Formally, this is non-convex mixed-integer nonlinear programming, which is NP-hard in general: no known method is guaranteed to find the best answer quickly as the problem grows.

The practical consequence is local optima. Think of each equipment combination as its own valley. Tune speeds and setpoints until energy stops falling, and you reach the bottom of that valley. But a different combination, say one more chiller at lower load with the towers running slower, can sit in a deeper valley you never visited. Hand tuning can't see it, and neither can most gradient-based optimisation methods.

Local versus global optimum: each equipment combination is its own valley

Why our models have to be accurate

This is where the industrial comparison breaks down.

On a process plant, the optimum sits against the constraints and feedback corrects the model every minute. On a chilled water plant, many of the most valuable optima sit in the middle of the operating range.

Condenser water temperature is the clearest case, and the one we covered in June. Run the towers harder and the chillers use less power, but the fans use more. Total plant power traces a U-shape against the condenser water setpoint. Finding the bottom of a curve takes its shape, not only its slope, so the chiller, tower and pump models all have to be right.

The second difference is timing. We solve the problem in advance and hand over the answer as BMS logic. The BMS PID loops hold the setpoints we chose, but whether those are the right setpoints depends on the models. That trade works because buildings move slowly. Load and wet bulb drift over hours, and a few minutes off the best setpoint costs some kWh, not a damaged compressor.

So we fit a model to every chiller, pump and cooling tower from the plant's own BMS history, with no step tests, and check each one against the plant's energy balance before it goes near an optimizer. In a chiller plant, the setpoints are only as good as the model.

What we tried first

Our first attempt put every on/off decision and every continuous setpoint into a single search, using shuffled complex evolution (SCE-UA). Duan, Sorooshian and Gupta developed it in 1992 for hydrological models with many local optima. It runs several populations of candidates in parallel and shuffles them, so the search can climb out of one valley to find a deeper one.

It suited the problem, but we were asking one optimizer to do two different jobs. Fix the equipment combination, and what remains is a smaller, smoother continuous problem that an optimizer can solve reliably and quickly. The on/off decisions become a separate problem, where a second optimizer can count what it costs to start and stop a machine. Splitting the problem this way let us tune plants much more finely. Both stages now use particle swarm optimisation.

Stage one: treat staging as a disturbance

In the first stage, we temporarily treat equipment on/off status the way industry treats its compressors: as a DV, outside the optimizer's control. Freezing it is what separates the on/off decisions from the continuous ones.

The Load Balancer, our first stage, is a nested loop:

  • For each combination of equipment that could be running
    • for each chilled water leaving temperature the site uses
      • for each wet bulb, in steps of about 1 to 2°F (0.5 to 1°C)
        • for each cooling load that combination can carry:
          • the optimisation algorithm proposes candidate setpoints
          • a custom plant model calculates every flow, temperature, speed and kW
          • keep the lowest-energy answer that holds every CV inside its limits

Two things keep that manageable. Identical chillers collapse: eight identical machines have 255 running combinations, but only eight distinct capacity stages. And each cell of the grid starts from its neighbour's answer.

The output is a map. For every combination of conditions and equipment, it holds the best continuous setpoints (condenser water temperature and flow, and load share between chillers) and the resulting plant kW. In APC terms, this is the steady-state target calculation, solved in advance for the whole operating space. It is close to what control theorists call explicit MPC.

The map has one blind spot, by design: it ignores the cost of switching between stages. That is the job of stage two.

Stage two: staging, with the operator's caution built in

Many of the large US plants we work with have operators on site around the clock deciding when chillers run. In Australia, the BMS usually stages equipment automatically. Either way, staging deserves its own treatment.

The Staging Optimizer's MVs are the stage-up and stage-down setpoints for every stage, each a fraction of that stage's capacity. It simulates a full year of the plant's actual load and weather history, following the same rules as BMS staging logic (hysteresis included), and reads plant kW straight from the stage one map. The optimisation algorithm adjusts the setpoints and the year runs again until the answer stops improving. If a stage's setpoint trends to zero, that stage drops out of the sequence.

With time in the picture, wear can be counted: starts and stops, runtime, short cycles and runtime balance, each as a ratio to the plant's history. We use energy plus the mechanical metrics to determine optimal staging setpoints, because now the problem is not simply an energy trade-off between equipment.

The result is a Pareto front: a set of strategies where you can't save more energy without adding wear. The site team picks the point, which keeps the decision with the people responsible for the equipment, as industry does. The difference is that they now choose from a curve with a number on every point.

Where the comparison lands

  • Process model, built from step tests → custom machine-learning plant model of every chiller, pump and tower, fitted to BMS history
  • Steady-state target calculation → stage one Load Balancer operating map
  • Explicit MPC → setpoint tables and reset curves solved in advance
  • Operator-led staging → stage two Staging Optimizer, with the client choosing the energy and wear trade-off
  • Performance monitoring → our Remote Witness tool, checking that the plant follows the strategy
  • Model maintenance → seasonal or annual re-tuning

The differences come from the plants. A process plant's optimum sits on its constraints and its disturbances move in seconds. A chilled water plant's optimum often sits mid-range and its disturbances move over hours. We think HVAC would gain as much from the shared vocabulary as from the methods. When an owner, a consultant and a controls contractor agree which variables are DVs, MVs and CVs, the conversation about what an optimizer may touch gets much shorter.

If you work in process control and see something we have wrong, or you run a critical cooling plant and want to see how your DVs, MVs and CVs map out, send us a message. We read every one.

Iain Stewart

Cofounder & CEO, Exergenics

www.exergenics.com

‍