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

Four-Stage-Supply-Chain-1 (Beer Game) Read more...

Process Design Model

A four stage single-product supply chain (SC) consists of a retailer, a wholesaler, a distributor and a factory.

While the factory is a top SC node, which only receives orders from and ships the ordered items to its downstream node, all others also receive deliveries from and send orders to their upstream nodes.

Each SC node is modeled as an agent that reacts to

  1. the in-message event "receive order",
  2. the perception event "perceive reception of items" (delivery) and
  3. the time event "end of week",

and performs

  1. the out-message action "send order" and
  2. the action "ship items".

Default scenario

Simulation Log
StepTimeCurrent EventsSystem StateFuture Events