The real wordsTheory
The inventory profile, and maximum inventory
The class draws it as a series of triangles with sloped left-hand sides: production and usage, then usage only, then production again.
During the run: stock rises at (p - u) per day
Run length: Qp / p days
So the peak: I_max = (Qp / p) x (p - u)
Read that as run length times the net rate of build-up. Average inventory is I_max / 2, not Q/2, which is the one substitution the whole model turns on.