Above CP the rider burns the finite reserve.
Critical power model. Above a threshold power CP the athlete draws on a finite anaerobic reserve W' (kJ). Time to exhaustion at constant power P is t = W'/(P - CP) — checked in the page. Below CP the reserve refills.
Reserve balance. While P > CP: dW'bal/dt = -(P - CP). Below CP (Skiba differential form): dW'bal/dt = (W' - W'bal)/τ with τ = 546 e-0.01(CP-P) + 316 s — the harder you ride below CP, the slower the recovery. When the reserve hits zero the rider can only produce CP.
Speed from power (cycling). Pη = (½ρ CdA (v+vw)² + m g (Crr cosθ + sinθ)) v, with air density 1.2 kg/m³, rolling resistance 0.004, drivetrain efficiency 0.977. Solved by bisection each second; the residual is checked in the page.
Pacing. Because air drag grows as v³, riding the first half above and the second half below the average costs more time than it saves; the sweep (bottom right) shows the optimum for the chosen course. On steep climbs the opposite can be true since speed is low.
Honest simplifications. Steady-state speed at every second (no acceleration inertia, so no sprint starts), constant air density and gradient, no drafting, no fatigue beyond W', no heart-rate/oxygen kinetics; CP, W' and the recovery constants are typical but individual, and a real athlete can hold CP for only ~30-60 min.