TCLab Regression — Fit model parameters by regression
![]() | ![]() | ![]() | ![]() | App Exercises |
|---|
Model and Control Exercise 7 of 40. BYU class 7 · PDC class 7. 15 minutes.

Open the TCLab Regression App
Learning Outcomes
- Pose a parameter fit as an optimization problem with an objective, a model and bounds.
- Compare a first-order form with the energy balance on the same record.
- Explain why a low error does not prove the parameters are right.
Book Chapter
Process Dynamics, Modeling, and Identification (Volume 1), Chapter 11, Model Structure Selection and Identifiability on a Temperature Control Lab. Read online · Chapter PDF · Lecture slides
Theory in Brief
Compare predictions on the same recorded heater step and note the objective and units shown in the studio. An optimizer can reduce training error even when a parameter is poorly identified.
$$\min_p\sum_k |T_{meas,k}-T_k(p)|$$
$$p_{lo}\le p\le p_{hi}$$
$$T_{k+1}=aT_k+bQ_{k-d}+c$$
Model to Controller
A physics-based or empirical structure with fitted parameters gives the controller a gain and lags. Parameter bounds and independent tests matter too.
Exercise
Read (2 min). Review the model and identify which signals you will compare.
Predict (1 min). Predict which parameter the data constrain least.
Run (8 min).
- Open the app and select the following cases in order.
- 1 · Record and fit the first-order form.
- 5 · Run Best fit, then distrust it.
- Record a heater step and compare the model forms on the same record. In case 5, use Best fit and inspect the values against their slider bounds.
- Record objective and the fitted parameters for each.
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.
A parameter at a slider bound is a reason to try a new excitation or validation record. Compare the same absolute-error objective before and after fitting.
Which part of the model connects the measured signal to the exercise?
A physics-based or empirical structure with fitted parameters gives the controller a gain and lags. Parameter bounds and independent tests matter too.
How should the observations be interpreted?
A parameter at a slider bound is a reason to try a new excitation or validation record. Compare the same absolute-error objective before and after fitting.
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
Optimize Model Parameter Fit · Quiz F · Parameter Regression · Regression FOPDT



