Two Tanks — Level control with one lag or two

App Exercises

Model and Control Exercise 13 of 40. BYU class 14 · PDC class 14. 15 minutes.

Two Tanks lecture cover
Open the Two Tanks App

Learning Outcomes

  • Write the two coupled balances.
  • Explain how a second lag in series delays the first response.
  • Predict the effect of the path on overshoot under the same tuning.

Book Chapter

Process Dynamics, Modeling, and Identification (Volume 1), Chapter 3, Two-Tank Level Control With a Splitter Valve That Sets the Plant Order. Read online · Chapter PDF · Lecture slides

Theory in Brief

Let f be the fraction of inlet flow routed directly to the lower tank and q_12 the flow from upper to lower. The two-lag form represents the series path near a steady state.

$$A_1\dot h_1=(1-f)q_{in}-q_{12}$$

$$A_2\dot h_2=fq_{in}+q_{12}-q_{out}$$

$$G_{series}(s)=K_p/[(\tau_1s+1)(\tau_2s+1)]$$

Model to Controller

The bypass changes the effective lag structure. The same tuning can therefore produce a different closed-loop response.

Exercise

Read (2 min). Review the model and identify which signals you will compare.

Predict (1 min). Will the lower level start rising sooner or later with the splitter open? Explain your prediction.

Run (8 min).

  1. Open the app and select the following cases in order.
  2. 2 · Open-loop actuator step.
  3. 3 · Closed-loop setpoint step.
  4. Repeat both cases with the splitter shut and open. Keep the same step and compare the same output channel and time interval.
  5. Record time to 10 % of the rise and the overshoot for each path.

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)

"I predicted {prediction} and measured {results} for time to 10 % of the rise and the overshoot for each path. Ask me to explain the model first. Check my method and units, then suggest one claim I can test on my trend."

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.

The direct path begins moving the lower tank earlier. Compare the same input or setpoint move and use the same definition of percent rise for both paths.

Which part of the model connects the measured signal to the exercise?

The bypass changes the effective lag structure. The same tuning can therefore produce a different closed-loop response.

How should the observations be interpreted?

The direct path begins moving the lower tank earlier. Compare the same input or setpoint move and use the same definition of percent rise for both paths.

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

Level Control · Quiz K · PI Control Tuning

12 · Cooling Tower · 14 · Stirred Reactor

Course Information

Assignments

Projects

Exams

Dynamic Modeling

Equipment Design

Control Design

Optimal Control

Exercises

Related Courses

Admin