Advanced
The third loop: pressure, and how loops interact
Before you start
Pressure moves in seconds. Level moves in minutes. They share a vessel.
Switch the gas cap on and a third controller appears: pressure, acting on the gas outlet valve. Gas released by the feed collects above the liquid and raises pressure; opening the valve vents it away.
The first thing to know is the timescale. Pressure responds in seconds where level takes minutes. Gains that feel gentle on a level loop are violent here, which is why this loop starts with a smaller Kp and no derivative at all.
The second thing is that the three loops are not independent. The gas cap is whatever volume the liquid leaves behind, so draining liquid enlarges the gas space and drops the pressure, and a pressure excursion pushes back on how easily the liquid outlets can discharge. Three separate single-loop controllers are each solving part of one coupled problem.
There is a process reason to keep pressure steady beyond the equipment rating. A sharp pressure drop makes gas break out of the liquid inside the vessel, called flashing, which stirs the liquid and corrupts the volumetric measurements the whole well test depends on.
Your task
- The gas cap is enabled and the well starts making far more gas per cubic metre of oil at 40 seconds (a rising gas-oil ratio, or GOR).
- Hold pressure through the surge without tripping on pressure high-high.
- Watch the level loops while you do it. If pressure swings, look at whether the liquid levels moved with it.
Configure both controllers before starting. Gains are locked during the attempt.
SEP-101 horizontal separator with gas, oil, and water. True total level 0.0 percent; measured total level 0.0 percent. True interface 0.0 percent; measured interface 0.0 percent. Total inlet 0.0 cubic metres per hour; oil outlet 0.0 cubic metres per hour; water outlet 0.0 cubic metres per hour. Actual oil valve 0.0 percent; actual water valve 0.0 percent. Safety: Filling: low-level protection bypassed.
SEP-101 · engineering fallback
Separator process cutaway
- Total true
- 0.0%
- Total measured
- 0.0%
- Total SP
- 50.0%
- Interface true
- 0.0%
- Interface measured
- 0.0%
- Interface SP
- 20.0%
- Total inlet
- Stopped / 0.0 m³/h
- Oil outlet
- Stopped / 0.0 m³/h
- Water outlet
- Stopped / 0.0 m³/h
- Oil command
- 0.0%
- Oil actual
- 0.0%
- Water command
- 0.0%
- Water actual
- 0.0%
- Active safety
- Filling: low-level protection bypassed
2D engineering fallback · process values and safety logic remain fully active.
Total level / oil valve
More valve opening → more oil out → lower total level
- Total level process value
- 0.0%
- Total level measured value
- 0.0%
- Total level setpoint
- 50.0%
- Oil valve command
- 0.0%
- Oil valve actual position
- 0.0%
- P / I / D
- 0.0 / 0.0 / 0.0
Advanced settings
Interface / water valve
More valve opening → more water out → lower interface
- Interface process value
- 0.0%
- Interface measured value
- 0.0%
- Interface setpoint
- 20.0%
- Water valve command
- 0.0%
- Water valve actual position
- 0.0%
- P / I / D
- 0.0 / 0.0 / 0.0
Advanced settings
Pressure / gas valve
More valve opening → more gas out → lower pressure
- Pressure process value
- 0.99 barg
- Pressure measured value
- 0.99 barg
- Pressure setpoint
- 8.00 barg
- Oil valve command
- 0.0%
- Oil valve actual position
- 0.0%
- P / I / D
- 0.0 / 0.0 / 0.0
Advanced settings
Synchronized historian
Live control trends
Oil/water interface
Truth, LT-102, SP and protection limits · %Phase flows
Feed and phase flows · m³/h; water cut · %Gas cap pressure
Truth, PT-101, SP and protection limits · bargGas flows
Gas in and out of the cap · Sm³/hValve response
Commands and actual positions · %Four synchronized trends compare both controlled levels, phase flows, water cut, and both valve responses.
Debrief
Run the exercise to see how you did.