Skip to content

Recipes: How do I...?

Each recipe answers one modelling question with a tiny model, the output it prints and a short explanation. The questions come first from the distributions, functions and blocks that no bundled model uses yet. Pick the question that is closest to yours, and copy the script as a start.

Service and repair times

Which family to use for a service, repair or cycle time, and why.

Failures and arrivals

Machine lifetimes and arrivals that follow a plan.

Counts and chance

Whole-number counts: lines, defects, retests, samples and order sizes.

Delays, smoothing and forecasts

System-dynamics functions that delay, smooth and extrapolate a signal.

Rates, tests and money

Cycles, test inputs, discounting, safe division and trigonometry in rates.

Agents

Reading the agents around an agent, in continuous space and on a grid.

Flow blocks

Blocks that shape a flow: buffers, belts, copies, pairs, pallets, custom rules and chargers.

Longer walk-throughs are on the learning path, and every element has a page under the reference.