The gap
A unity-feedback loop: a gain K = 80 drives the plant P(s) = 1/((s+1)(s+2)(s+10)), and the output is fed straight back. At t = 0 the reference r(t) steps from 0 to 1. Does the output end up at 1?
The summing junction subtracts the output from the reference: e(t) = r(t) − c(t). At t = 0 the output is still 0, so the error is 1. The steady-state error, e_ss, is the value e(t) settles to as t grows.
Simulated: the output rises, peaks at 1.04, and settles within 2 % by 3.7 s. It settles at 0.800, not 1. The error stays at 0.200 for good. That leftover is the steady-state error.
The plant's DC gain is P(0) = 1/20, so holding c = 0.8 takes a drive u = 16. The controller only makes u = 80·e. The one error that gives 16 is 0.200. Zero error would mean zero drive.
Final value theorem
We need not simulate. The final value theorem says: if e(t) settles, its final value is the limit of s·E(s) as s goes to 0. For a step, R(s) = 1/s, so s·E(s) = 1/(1 + G(s)).
At s = 0 the plant gives 1/20, so G(0) = 80/20 = 4. Then e_ss = 1/(1 + 4) = 0.200, the same as the simulation, from two lines of arithmetic. G(0) is the loop's DC gain.
Its limits
More gain, less error: K = 180 gives G(0) = 9 and e_ss = 1/10 = 0.100. The price: the output now peaks at 1.42 and takes 5.7 s to settle. Gain buys accuracy and costs damping.
K = 440: the theorem's formula promises e_ss = 0.043. The simulation disagrees: the output swings wider and wider. Two closed-loop poles sit at 0.11 ± j5.90, in the right half-plane. There is no final value.
The theorem only holds when the closed loop is stable. For this loop that means K below 396. A later lesson in this module, The Routh-Hurwitz test, finds that limit without solving for the poles.
For a step, e_ss = 1/(1 + G(0)): only the loop's DC gain matters. A bigger G(0) means a smaller error, as long as the loop stays stable. A pole at s = 0 makes G(0) infinite; System type and error constants is next.
What is happening
# step 1/10 · loop # about: Reference r(t), Summing junction, Controller K, Plant P(s), Output c(t) reference r(t) = 1 for t ≥ 0 (unit step) controller u = K·e, K = 80 plant P(s) = 1/((s+1)(s+2)(s+10)) open loop G(s) = K·P(s) feedback unity: c(t) goes straight back
Every curve and number in the figure is simulated from the loop's equation, c''' + 13c'' + 32c' + 20c = K·(1 − c), with fourth-order Runge-Kutta and a 1 ms step. The Python is plain Python 3, no libraries. With python-control installed, control.dcgain(G) returns G(0) directly.