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

Lemonade-Stand-1 Read more...
A Discrete Event Simulation Model of a Manufacturing Company in a Monopoly Market

A lemonade seller makes lemonade in pitchers and sells it in paper cups at a stand in a street market. Each day consists of the following process steps and phases:

  1. The day starts with making planning decisions (demand forecasting and production planning) and purchasing the required input materials (lemons, sugar, etc.).
  2. Some time later, the ordered input materials are delivered, the planned quantity of lemonade is produced and the stand is opened.
  3. Then, customers arrive randomly and order a cup of lemonade. As long as there is still lemonade in stock, customer orders are served.
  4. At the end of the day, the lemonade stand is closed and the remaining depletable items (lemonade and ice cubes) are dumped.

Default scenario

The default scenario runs for 40 days.

Simulation Log
StepTimeCurrent EventsSystem StateFuture Events