## Surge Tank Level Control

A surge tank is placed between two processing units to absorb flow rate fluctuations coming from the upstream process and keep the flow rate to the downstream process more constant. To do this, the tank level has to go up and down. Consequently, the level controller should not try to hold the level as close as possible to its set point; the controller should simply keep the surge tank’s level between its upper and lower limits, and do this with the least possible amount of change to its output.

Although there are other methods of controlling surge tank level, the level-averaging method [1] is preferred by most operators and process engineers. This method minimizes control valve movement during disturbances, keeps the level between its limits, and brings the level back to setpoint in the long term (Figure 2). Another method of surge tank control does not bring the level back to setpoint but potentially provides more surge capacity [2]; I’ll write about that method another day.

**Surge Tank Level Controller Tuning**

To tune the controller for level-averaging control, you need to know the following three things:

1. The residence time of the vessel (t_{res})

The residence time is the time it would take for the surge tank to drain from 100% level to 0% level if there is no flow into the tank and the outlet valve is 100% open. You can calculate this as the volume of liquid contained in the vessel between 0% and 100% of the span of its level measurement, divided by the maximum flow rate with the outlet valve wide open: t_{res} = V/Q_{max}. Use the same engineering unit for volume in V and Q_{max}. If you don’t know the volume and/or maximum flow rate, you can estimate the residence time as the inverse of the process integration rate, t_{res} = 1/r_{i}. You can determine r_{i} through step testing. Be sure to express t_{res} in the same time-base as your controller’s integral time (minutes versus seconds).

2. The largest expected change in flow rate (Δf_{max}).

This should be expressed as a percentage of maximum valve capacity. You can review historical trends of the loop and find the largest change the controller output has made (under automatic control) to control the level.

3. The maximum tolerable deviation from setpoint (ΔL_{max}).

This should be expressed as a percentage of the span of the level measurement.

Once you have all of these, calculate tuning settings for the controller with the equations below.

For a controller with an interactive or noninteractive algorithm:

K_{C} = 0.74 Δf_{max} / ΔL_{max
}T_{I} = 4 t_{res} / K_{C
}T_{D} = 0

K_{C} is controller gain.

If your controller uses proportional band, PB = 100/K_{C}.

T_{I} is integral time in the same units as t_{res}.

If your interactive or noninteractive controller uses integral gain, K_{I} = 1/T_{I}.

T_{D} is the derivative time.

For a controller with a parallel algorithm:

K_{P} = 0.74 Δf_{max} / ΔL_{max
}K_{I} = K_{P}^{2} / (4 t_{res})

K_{D} = 0

K_{P} is proportional gain and K_{I} is integral gain using the same time-base as t_{res}.

If your parallel controller uses integral time: T_{I} = 1 / K_{I
}K_{D} is the derivative time.

Faster tuning is also possible. The following equations will produce tuning settings to bring the level back towards the setpoint much quicker. The level will slightly overshoot the setpoint as a result of the faster response (Figure 3).

For a controller with an interactive or noninteractive algorithm:

K_{C} = 0.5 Δf_{max} / ΔL_{max
}T_{I} = 0.74 t_{res} / K_{C
}T_{D} = 0

For a controller with a parallel algorithm:

K_{P} = 0.5 Δf_{max} / ΔL_{max
}K_{I} = K_{P}^{2} / (0.74 t_{res})

K_{D} = 0

The same parameter descriptions and conversions given previously, apply to the faster tuning equations too.

Figure 3. A faster response to a disturbance in inflow.

With these tuning rules, you should be able to get your surge tanks under control, and have them respond appropriately to surges in inflow. Let me know if you need help.

Stay tuned.

Jacques Smuts – author of Process Control for Practitioners.

References:

[1] H.L. Wade, *Basic and Advanced Regulatory Control: System Design and Application*, 2^{nd} Edition, ISA, 2004.

[2] F.G. Shinskey, *Process Control Systems: Application, Design, and Tuning*, 4^{th} Edition, McGraw-Hill, 1996.