Tank Level — P-only control and offset
![]() | ![]() | ![]() | ![]() | App Exercises |
|---|
Model and Control Exercise 9 of 40. BYU class 9 · PDC class 11. 15 minutes.

Open the Tank Level App
Learning Outcomes
- Compute the offset a P-only controller leaves on a self-regulating process.
- Show that a larger gain shrinks the offset and costs valve movement.
- Explain why an integrating process leaves none after a setpoint step.
Book Chapter
Process Dynamics, Modeling, and Identification (Volume 1), Chapter 2, Gravity-Drained Tank Laboratory for Level Loops With a Moving Time Constant. Read online · Chapter PDF · Lecture slides
Theory in Brief
For a stable first-order self-regulating plant in deviation variables, proportional feedback changes gain and response speed. The formulas assume a steady initial setpoint and no saturation.
$$u=u_{bias}+K_ce$$
$$e_{ss}=\Delta SP/(1+K_cK_p)$$
$$\tau_{cl}=\tau_p/(1+K_cK_p)$$
Model to Controller
The open-loop step supplies K_p and the local time scale. Their product with controller gain determines the offset and effective time constant.
Exercise
Read (2 min). Review the model and identify which signals you will compare.
Predict (1 min). Use the open-loop gain read in case 2 to predict the offsets at two proportional gains.
Run (8 min).
- Open the app and select the following cases in order.
- 2 · Open-loop actuator step.
- 3 · Closed-loop setpoint step.
- Read the open-loop gain in case 2. In case 3, select PID, set Integral gain and Derivative gain to zero, and repeat the same setpoint change at two Proportional gain settings. Record the final error in each run.
- Record K_p, the two offsets, and each against the formula.
Explain (2 min). Which observation supports or changes your prediction? Which assumption or limit explains the gap between calculation and observation?
Generative AI Learning (2 min)
Verify the suggested claim using a second point on your trend or an independent calculation from the equations. Cite the signal, units and case that support your conclusion.
What to Turn In
Submit a screenshot of the relevant trend or scorecard and three sentences covering your prediction, the measured result with units, and the model's explanation. Course guidelines for AI use.
Larger positive loop gain reduces the predicted offset, with larger control moves. Check the actuator trend before applying the formula.
Which part of the model connects the measured signal to the exercise?
The open-loop step supplies K_p and the local time scale. Their product with controller gain determines the offset and effective time constant.
How should the observations be interpreted?
Larger positive loop gain reduces the predicted offset, with larger control moves. Check the actuator trend before applying the formula.
How could you check that a result is comparable across cases?
Use the same signal, units and reference point. When comparing integrated quantities, use the same interval.
Related
Proportional-only (P-only) Control · Quiz H · Tank Level · P-only Control



