A factory ships to a warehouse, but the factory randomly breaks down and is repaired. Set the mean time between failures, the mean repair time, the days of cover held in the buffer and how fast the buffer refills, then watch the stock fall during outages and recover. Read off supplier availability, how often the warehouse runs dry and how much cover is needed for a target service level. A Blender-built factory, truck and warehouse, with numerical checks of the Markov and Monte Carlo maths built in.