Checking a model
You have built several models now. Before you trust one — or simulate it — run three fast checks that catch most mistakes: units, limits, and equilibrium.
Source: course notes — the engineer's three-point model sanity check.
Before you start
What you need first
- The mass–spring–damper \(m\ddot x + c\dot x + kx = F\), and the SI units of each quantity.
- The pendulum \(\ddot\theta + \tfrac{g}{L}\sin\theta = 0\) and \(\omega_n=\sqrt{g/L}\).
What you'll be able to do
- Check 1 — units: confirm every term matches.
- Check 2 — limits: test the extremes for sense.
- Check 3 — equilibrium: find where the system rests, and whether it is stable.
Why check a model?
A model is just algebra you wrote — it can hide a dropped sign, a missing factor, or a wrong term. If you simulate it without checking, a wrong model gives confident, wrong answers.
Check 1
Do the units match?
Every term you add together must carry the same units — you cannot add newtons to metres. Run the mass–spring–damper, term by term:
| Term | Units, multiplied out | Result |
|---|---|---|
| \(m\ddot x\) | \(\text{kg}\times\text{m/s}^2\) | N |
| \(c\dot x\) | \((\text{N·s/m})\times(\text{m/s})\) | N |
| \(kx\) | \((\text{N/m})\times\text{m}\) | N |
| \(F\) | — | N |
Check 2
Does it behave at the limits?
Push a parameter to an extreme and ask: does the prediction still make sense? Use the pendulum frequency \(\omega_n=\sqrt{g/L}\):
| Limit | \(\omega_n\) | Sense? |
|---|---|---|
| \(L\to\infty\) (very long) | \(\to 0\) | swings very slowly ✓ |
| \(L\to 0\) (very short) | \(\to\infty\) | swings very fast ✓ |
| \(g\to 0\) (in space) | \(\to 0\) | no gravity, never swings back ✓ |
Check 3
Where does it rest?
An equilibrium is a state where nothing changes — so every velocity and acceleration is zero. Put \(\dot\theta=\ddot\theta=0\) into the pendulum equation and solve:
Two rest positions: hanging straight down (\(\theta=0\)) and balanced straight up (\(\theta=\pi\)). Both are real — but they do not feel the same.
Stable or unstable?
Give each a tiny nudge and watch the torque:
- Down (\(\theta=0\)) — stable. A nudge makes gravity pull it back; it returns and swings about the bottom.
- Up (\(\theta=\pi\)) — unstable. A nudge makes gravity pull it further away; it falls. Balancing it there needs perfect aim.
Check a hanging-spring model
A mass \(m = 2\ \text{kg}\) hangs from a vertical spring of stiffness \(k = 400\ \text{N/m}\). Measuring \(x\) downward from the spring's natural length, a proposed model is \(m\ddot x = mg - kx\). Take \(g = 9.81\ \text{m/s}^2\) and run the three checks.
✏️ Try it yourself
Run the three checks on the horizontal mass–spring \(m\ddot x + kx = 0\), with \(m = 0.5\ \text{kg}\) and \(k = 200\ \text{N/m}\).
Common mistakes to avoid
| Mistake | Fix |
|---|---|
| Skipping the checks and simulating straight away | A wrong model gives confident wrong answers — spend 30 seconds checking first. |
| Forgetting that radians are unit-free | \(\sin\theta\) and angles are dimensionless; only the \(g/L\) part carries units. |
| Looking for only one equilibrium | \(\sin\theta=0\) has more than one solution (\(\theta=0\) and \(\theta=\pi\)) — list them all. |
| Assuming every equilibrium is stable | Always run the nudge test; the upright pendulum rests there but will not stay. |
| Testing a limit and ignoring a wrong result | If a limit looks absurd, trust the check — go back and find the modelling error. |
Recap — the whole topic on one screen
| Check | How | What it catches |
|---|---|---|
| 1 · Units | Every term in the same units | missing factors, wrong terms |
| 2 · Limits | Push a parameter to an extreme | wrong dependence (e.g. sign, power) |
| 3 · Equilibrium | Set velocities & accelerations to \(0\), solve | wrong rest state; reveals stability |