Advanced
Slugs, and the limits of feedback
Before you start
A reactive controller always arrives late. Learn what to do about that.
A slug is a body of liquid that arrives all at once, from the pipeline rather than from the well's average rate. Total feed jumps and the water fraction jumps with it.
Feedback control cannot anticipate. A PID only acts on error that has already appeared, so by the time the level has risen enough to command the valve open, the slug is already inside the vessel. A reactive controller is always late to a slug, not because it is badly tuned, but because of what feedback is.
What decides the outcome is whether the vessel has the surge volume (the spare capacity between the operating level and the trip) to absorb what arrived, and whether the valve has the capacity to pass it before the level reaches its trip. Tuning changes how gracefully you use that room. It does not create more of it.
There is a genuine choice here. Holding the level tightly passes the slug straight downstream; letting the level move absorbs it and protects whatever is next in the train. Field practice often prefers the second: the vessel is used as a buffer rather than a setpoint. It is called averaging level control, and it is the right answer more often than trainees expect.
Your task
- The slug arrives at 35 seconds and lasts about twenty.
- Get through it without tripping. A perfect flat level is not available; do not chase it.
- Watch the oil valve during the slug: if it saturates, the vessel is absorbing the difference, not the controller.
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
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 · %Valve 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.