Skip to content
System dynamics (stock & flow) templates

Inventory Control (System Dynamics)

Stocks and flows for an inventory system.

Template previewSystem dynamics (stock & flow)
Inventory controldelivery= lead*Pipelinesales= demandOn orderinit = 50Inventoryinit = 100Soldinit = 0demand= 12lead= 0.2

Make it your own.

title "Inventory control"
stock Pipeline "On order" at (1,2) initial 50
stock Inventory "Inventory" at (4,2) initial 100
stock Sold "Sold" at (7,2) initial 0
flow delivery from Pipeline to Inventory rate "lead*Pipeline"
flow sales from Inventory to Sold rate "demand"
aux demand at (5.5,4) value 12 label "demand"
aux lead at (2.5,4) value 0.2 label "lead"
info demand -> sales
info lead -> delivery
info Inventory -> sales