Pump Schedule — On/off actuators and a schedule

App Exercises

Model and Control Exercise 28 of 40. BYU class 30 · PDC class 37. 15 minutes.

Pump Schedule lecture cover
Open the Pump Schedule App

Learning Outcomes

  • Write the tank balance with pumps that are on or off.
  • State a scheduling problem with a cost, a model and limits.
  • Compare a level band with a schedule that knows the tariff.

Book Chapter

Model Predictive Control and Economic Optimization (Volume 9), Chapter 11, Water Distribution Simulator That Schedules Integer Pumps Under a Pressure Floor. Read online · Chapter PDF · Lecture slides

Theory in Brief

Pump b_i is either on or off. The tank covers differences between supply and demand. Electricity cost depends on both when and how much power is used.

$$A\dot h=\sum_i q_i b_i-d(t),\quad b_i\in\{0,1\}$$

$$\min\sum_k c_k\sum_i P_i b_{i,k}\,\Delta t$$

$$h_{lo}\le h_k\le h_{hi}$$

Model to Controller

The tank model and level bounds make it possible to shift pump operation toward cheaper hours.

Exercise

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

Predict (1 min). Estimate the hours in which the pumps should run.

Run (8 min).

  1. Open the app and select the following cases in order.
  2. 1 · Manual pumps: fill the tank, read the hill.
  3. 2 · The level band across the tariff.
  4. 4 · The schedule: relaxation and branch and bound.
  5. Use case 1 to see how pump operation changes level. For cases 2 and 4, compare the full day at the same tariff and check minimum tank level.
  6. Record manual level change and the whole-day cost for the band and schedule.

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 manual level change and the whole-day cost for the band and schedule. 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.

Compare the same 24-hour window for the band and schedule. A short manual baseline is useful for reading the level response, but its partial-day cost cannot be ranked directly against a whole day.

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

The tank model and level bounds make it possible to shift pump operation toward cheaper hours.

How should the observations be interpreted?

Compare the same 24-hour window for the band and schedule. A short manual baseline is useful for reading the level response, but its partial-day cost cannot be ranked directly against a whole day.

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

Project Help Session · EE 3: Actuators · Scheduling Optimization · Quiz Z

27 · Pressurizer · 29 · Servo Axis

Course Information

Assignments

Projects

Exams

Dynamic Modeling

Equipment Design

Control Design

Optimal Control

Exercises

Related Courses

Admin