An Object Event Simulation (OES) example model. You can download and inspect its code from the OES GitHub repo.

Inventory-Management-1

A Model of Inventory Management with Periodic/Continuous Replenishment
Process Design Model

The default scenario has the following parameter values: target inventory is set to 80 units, reorder interval is set to 3 days (only relevant for periodic replenishment), and reorder point is set to 50 units (only relevant for continuous replenishment).

Simulation Log
StepTimeCurrent EventsSystem StateFuture Events