APPLIED STATISTICS · OPERATIONS · DECISIONS
Better decisions.
Backed by maths.
What should we measure? How much capacity is enough? What should we make? Explore the maths behind everyday production decisions.
Explore the lab Five working models. Change an input. See the trade-off.A practical demonstration. These are invented business scenarios with explicit assumptions. Results describe the selected model; they are not measured outcomes from a client or factory.
THE INTERACTIVE LAB
One business question at a time.
Choose a model, adjust the inputs and inspect the result.
01 / MEASURE BEFORE YOU OPTIMISE
Was that shift actually productive?
A packaging line runs an eight-hour shift. Separate downtime, slow running and rejects to see where output is lost.
See the maths, assumptions & real-world checks
Overall equipment effectiveness (OEE) = availability × performance × quality. Availability = run time / planned production time; performance = ideal cycle time × total units / run time; quality = good units / total units. Good throughput = good units / planned hours.
Planned production time excludes scheduled breaks. All counted units must belong to this shift and share the selected ideal cycle. A calculated performance above 100% flags inconsistent inputs; the lab withholds its OEE result instead of treating it as an improvement.
The time-loss chart converts speed and quality losses into equivalent minutes at the ideal cycle. It is an accounting view, not a timestamped history. A higher OEE is useful only if the output meets demand and quality requirements.
Collect: shift start/end, planned breaks, downtime events, validated ideal cycle, total count and accepted count. Method: Vorne’s OEE calculation guide ↗
02 / PLAN FOR VARIATION
Average demand is only the beginning.
A packing team receives random orders. Estimate how often orders arriving in a 15-minute window exceed nominal capacity.
See the maths, assumptions & real-world checks
For a 15-minute window, λ = hourly arrival rate / 4. For whole-number order count k, P(X = k) = exp(−λ) × λᵏ / k!. Nominal capacity C = stations × orders per station per window. The red bars show P(X > C); coverage = P(X ≤ C).
The recommendation is the smallest station count from 1–12 that meets the selected window-coverage target. Expected excess = Σ max(k − C, 0) × P(X = k). It is an expected count, not a promise about a particular interval.
Assume independent arrivals at a roughly constant rate within the period. There is no opening backlog; this window calculation does not model service timing or carry unfinished work into the next window. Coverage is not the probability that an individual order finishes on time. Use the queueing model for waiting times.
Collect: arrival timestamps and counts in equal windows. Check peak periods separately, independence and whether variance is roughly consistent with the mean. Batch releases, changing rates and overdispersion need a different model. Method: NIST Poisson distribution ↗
03 / BALANCE SERVICE AND COST
How many stations should be working?
Orders share one queue before reaching identical packing stations. Compare capacity, mean waiting time and the hourly cost of each staffing option.
See the maths, assumptions & real-world checks
Service rate per station μ = 60 / mean service minutes; utilisation ρ = λ / (cμ). For ρ < 1, Erlang C gives the probability of waiting. Mean queue wait Wq = P(wait) / (cμ − λ) hours; Little’s law gives mean queued orders Lq = λWq.
Hourly model cost = c × station cost + Lq × cost per queued order-hour. The recommendation minimises this cost over station counts 1–12, subject to stability and the selected mean wait limit. This limit is not a percentile service-level guarantee. A cost per order-hour captures holding/delay cost, rather than a once-off penalty per order.
Assume Poisson arrivals, independent exponential service times, identical continuously available stations, one first-come queue, unlimited waiting space and no abandonment. These are long-run averages; short shifts, opening backlogs, downtime, finite buffers and serial production stages need further analysis. At λ ≥ cμ, no finite steady-state mean wait exists.
Collect: arrival, queue-start, service-start and service-end timestamps; staffing schedules and defensible labour/delay costs. Method: MIT manufacturing queueing formulas ↗
04 / MAKE CONSISTENT OUTPUT
How much variation can the process afford?
A bottling line accepts fills from 490 to 510 ml. Explore how centring the filler and reducing variation affect rejects and their modelled cost.
See the maths, assumptions & real-world checks
Assume fill volume X ~ Normal(μ, σ²). Reject probability = Φ((490 − μ)/σ) + 1 − Φ((510 − μ)/σ). Expected rejects = daily volume × reject probability. The calculation uses both tails directly to retain numerical precision.
Cp = (510 − 490)/(6σ); Cpk = min((510 − μ)/(3σ), (μ − 490)/(3σ)). Cp describes potential spread; Cpk also responds to a mean that is off centre. These are model values from supplied parameters, not estimates backed by measured sample confidence intervals.
Check process stability, measurement reliability, independence and the distribution before using normal capability indices. Specification limits come from the product requirement; they are not statistical control limits. The symmetric example treats underfills and overfills as rejects with the same cost. It excludes giveaway cost on accepted bottles, improvement investment and production-speed changes.
Collect: time-ordered fill measurements, gauge checks, acceptance limits, production volume and reject/rework costs. Method: NIST process capability ↗
05 / CHOOSE WHAT TO MAKE
The highest margin is only part of the story.
A workshop makes two products in whole batches. Both consume scarce machine and labour hours. Find the mix with the highest contribution within those limits.
See the maths, assumptions & real-world checks
Maximise mA × A + mB × B, subject to 2A + B ≤ machine hours; A + 2B ≤ labour hours; 0 ≤ A ≤ demand A; 0 ≤ B ≤ demand B; A and B are whole batches.
The solver checks every feasible integer A count and chooses its best feasible B count. Non-negative margins make this an exact search for this two-product model. The shaded region on the chart is the continuous feasible region; the selected plan is a whole-number point within it. Tied optima may exist.
Contribution = selling revenue minus variable costs, before fixed costs. It is not net profit. Assume known processing times, constant contribution per batch, separate machine/labour budgets, one planning period, no setup or sequencing costs, and enough demand to sell all selected batches. Available hours must already allow for breaks and expected losses.
Collect: actual resource time per batch, variable costs, prices, sellable demand and available hours. Uncertain demand, minimum orders, setup times, overtime and interactions need additional constraints. Background: constrained linear objectives ↗
FROM DEMO TO WORKPLACE
The model starts
with the right records.
A useful analysis connects a clear business question to trustworthy measurements. I would check the data, validate the assumptions and compare model predictions with a pilot before changing a production plan.
Discuss a practical problem| Decision | Useful records |
|---|---|
| Measure production | Shift logs, breaks, downtime, ideal cycle, good and rejected counts |
| Cover demand | Arrival timestamps, equal-window counts, peak/off-peak patterns |
| Size the team | Service durations, queue times, staffing and delay costs |
| Improve quality | Time-ordered measurements, specifications, gauge checks, reject costs |
| Choose the mix | Resource time per batch, contribution, demand ceilings and available hours |