Skip to content

Learn

Each page here teaches discrete-event simulation (DES), and how desflow does it, to a reader new to both. The pages from What Is DES? to Coming from SimPy explain the ideas. The tutorial then builds one model of a packing shop through a whole study, so read its pages in order. To look up one part of desflow, see the User Guide. To do one task step by step, see How-To.

Group What it covers
What Is DES? what a discrete-event simulation is, and how it plays out a system one event at a time, with no maths
Queueing Basics the results of queueing theory that a study uses: utilisation, Little's law, the effect of variation and the bottleneck
A Simulation Study every step of a study, from the question to the report
Checking and Validating verification, whether the program does what the model on paper says, and validation, whether the model is close enough to the real system
Output Analysis how runs become an answer with a stated precision: replications, warm-up, intervals and comparing designs
Readiness and Reporting what a model needs before someone else can trust and repeat it, with the published checklists
Common Mistakes eight mistakes that give wrong results, in the order they happen in a study
SimPy and desflow the SimPy constructs desflow is built on, and what desflow adds to them
Coming from SimPy where each part of a plain SimPy model goes in desflow
Tutorial: A First Model a first model of the shop: how many packers it needs, random times and seeds, what a run measures and how a run ends
Tutorial: Inputs packing times chosen and fitted from measured data, demand that changes through the day, and a recorded morning replayed
Tutorial: Shop Logic stock, priorities, a flow of tasks, waits for signals, patience, interruptions, competing resources and filtered inventory
Tutorial: Studies how many runs to trust, comparing designs, parameter sweeps, checking a model, and a complete study from data to recommendation
Tutorial: Running Live parameters changed while the model runs, and records streamed out to files