100 Exercises / Simulation / Simulation 100 Exercises
Introduction to Manufacturing Simulation | Learning Production Capacity, Inventory, and Delivery Risks with Python
Learn factory simulation with Python: model demand, capacity, inventory and backlogs, then compare staffing, maintenance and profit risks.
An introduction to factory simulation to avoid determining production capacity solely by “average”
The Overview and Purpose of 100 Exercises
“100 Exercises on Manufacturing Simulation” introduces probability distributions, queues, discrete events, continuous systems, stochastic processes, optimization and digital twins. The aim is to compare equipment investment, staffing, inventory and delivery policies before trying them on the factory floor.
This time, we will cover No.001 to No.010, “Introduction to Simulation.” Using a fictional assembly plant as a subject, we examine models, states, events, how time progresses, and the differences between probabilistic and deterministic models within the same operational context.
This article adapts notebooks used in corporate training by Surikobo or its representative, Hiroshi Wayama, with permission from the client companies.
All data listed is fictional and has no relation whatsoever to real companies, factories, or figures.
Introduction: Practical Challenges in Manufacturing Covered in This Article
An assembly plant is considering taking more orders based on average capacity of 100 units per day. Processing-time variation, failures, setups and demand peaks can reduce that capacity. We examine whether the plant can meet delivery dates without excessive work-in-progress (WIP).
Common situations on site
- The average monthly production volume is within plan, but during busy days, the work-in-progress surges
- Calculate capability based solely on average machining time, underestimating stoppages and variation.
- In Excel’s single scenario, the frequency of bad cases is unknown.
- The effects of equipment expansion, personnel support, and enhanced maintenance cannot be compared using the same KPI.
Why is this issue so difficult to judge?
The order and variability of events affect waiting times even when averages are unchanged. Testing new equipment on a working line is expensive, and overlapping congestion and failures are hard to reproduce. Simulation compares repeatable scenarios under explicit assumptions. Its scope must match the decision being made.
Exercises covered in this article
| No. | Theme | Questions in the Manufacturing Industry |
|---|---|---|
| 001 | What is Simulation? | Can measures be compared before introducing the actual equipment? |
| 002 | Why is it necessary? | What are the delivery risks that can’t be seen from the average? |
| 003 | System Modeling | What to leave behind and what to throw away from the factory |
| 004 | State variable | How to represent the current state of the factory? |
| 005 | Events | What events change the state? |
| 006 | Time Progression | How to choose between fixed time steps and event-driven |
| 007 | discrete time | How to track daily inventory and capacity |
| 008 | continuous time | How to track continuous volumes like tank water level |
| 009 | probability | How to measure risk, including variation, |
| 010 | determinism | How to check the reference case and sensitivity |
Preparing the Python environment
No external data is used. numpy, pandas, and matplotlib generate and analyze fictional data. The random number generator fixes the seed so that rerunning it yields the same result.
Run cells in order. [IN: n] marks an input and [OUT: n] its output; cells with no displayed result have no output label. Expand the setup panels to see longer code. Reproduce results by initializing the generator and running the same calls in the same order in the same library environment. Version numbers in outputs describe the recorded run. The examples also use IPython display and japanize-matplotlib for Japanese labels where present.
Setup code: Environment and random generator (expand)
import sys
from IPython.display import display
import numpy as np
import pandas as pd
import matplotlib
import matplotlib.pyplot as plt
import japanize_matplotlib
SEED = 20260712
rng = np.random.default_rng(SEED)
pd.set_option("display.max_columns", 20)
print(f"Python : {sys.version.split()[0]}")
print(f"numpy : {np.__version__}")
print(f"pandas : {pd.__version__}")
print(f"matplotlib : {matplotlib.__version__}")
print(f"random seed: {SEED}")
Python : 3.14.4
numpy : 2.5.1
pandas : 3.0.3
matplotlib : 3.11.0
random seed: 20260712
Creation of Fictional Data
We assume an assembly line with 60 operating days. It generates demand, effective capacity, and downtime, and any insufficient inventory is carried over as a backlog to the next day. The figures here are for educational purposes and have no relation to actual factories.
Setup code: Fictional data and shared functions (expand)
n_days = 60
days = np.arange(1, n_days + 1)
demand = np.maximum(70, rng.normal(98, 13, n_days).round()).astype(int)
downtime = np.where(rng.random(n_days) < 0.18, rng.gamma(2.0, 1.1, n_days), 0.0)
capacity_noise = rng.normal(0, 4, n_days)
capacity = np.maximum(65, (108 - 8.0 * downtime + capacity_noise).round()).astype(int)
inventory, backlog = 120, 0
records = []
for day, dem, cap, stop in zip(days, demand, capacity, downtime):
required = dem + backlog
production = min(cap, required)
available = inventory + production
shipped = min(available, required)
inventory = available - shipped
backlog = required - shipped
records.append((day, dem, cap, stop, production, shipped, inventory, backlog))
factory = pd.DataFrame(
records,
columns=[
"day",
"demand",
"capacity",
"downtime_h",
"production",
"shipped",
"inventory",
"backlog",
],
)
factory.head(10).round(2)
| day | demand | capacity | downtime_h | production | shipped | inventory | backlog | |
|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 108 | 121 | 0.0 | 108 | 108 | 120 | 0 |
| 1 | 2 | 107 | 107 | 0.0 | 107 | 107 | 120 | 0 |
| 2 | 3 | 103 | 96 | 1.1 | 96 | 103 | 113 | 0 |
| 3 | 4 | 103 | 109 | 0.0 | 103 | 103 | 113 | 0 |
| 4 | 5 | 103 | 110 | 0.0 | 103 | 103 | 113 | 0 |
| 5 | 6 | 104 | 105 | 0.0 | 104 | 104 | 113 | 0 |
| 6 | 7 | 95 | 101 | 0.0 | 95 | 95 | 113 | 0 |
| 7 | 8 | 105 | 115 | 0.0 | 105 | 105 | 113 | 0 |
| 8 | 9 | 119 | 105 | 0.0 | 105 | 119 | 99 | 0 |
| 9 | 10 | 108 | 109 | 0.0 | 108 | 108 | 99 | 0 |
No.001: What is Simulation?
Practical context
Simulation is a method that reproduces the interactions of equipment, people, inventory, and orders on a computer and compares KPIs by measure. Rather than “guessing” the future with a single point, we examine what might happen when assumptions are set.
Modeling approach
Compare the current setup, extra staffing and stronger maintenance using the same demand and capacity noise. This comparison starts with zero inventory and updates backlog as . Its initial condition differs from the opening example with 120 units in stock. The daily demand coverage rate is the share of days when capacity covers new demand; it is not an on-time delivery rate for all outstanding orders.
Python example
scenarios = {
"Current Status": 0,
"Extra staff (+8 units/day)": 8,
"Maintenance (half downtime)": None,
}
rows = []
for name, uplift in scenarios.items():
cap = (
capacity + uplift
if uplift is not None
else np.maximum(65, (108 - 4.0 * downtime + capacity_noise).round()).astype(int)
)
# Start with no inventory; spare capacity clears backlog, which stays nonnegative.
backlog = 0
backlog_path = []
for dem, available_capacity in zip(demand, cap):
backlog = max(0, backlog + dem - available_capacity)
backlog_path.append(backlog)
backlog_path = np.asarray(backlog_path)
rows.append([name, cap.mean(), max(0, backlog_path.max()), (cap >= demand).mean()])
scenario_result = pd.DataFrame(
rows,
columns=[
"policy",
"Mean capacity (units/day)",
"Maximum backlog (units)",
"Daily demand coverage",
],
)
scenario_result.round({"Mean capacity (units/day)": 1, "Daily demand coverage": 3})
| policy | Mean capacity (units/day) | Maximum backlog (units) | Daily demand coverage | |
|---|---|---|---|---|
| 0 | Current Status | 105.2 | 40 | 0.733 |
| 1 | Extra staff (+8 units/day) | 113.2 | 32 | 0.883 |
| 2 | Maintenance (half downtime) | 106.6 | 30 | 0.767 |
Interpreting the results
Extra staffing and reduced downtime affect backlog and demand coverage differently. Compare the reduction in backlog alongside the increase in average capacity, then add costs to assess cost-effectiveness.
No.002: Why Simulation Is Necessary
Practical context
Even if average demand is below average capacity, if busy times and breakdowns overlap, backlogs will occur. A static capacity table cannot represent backlog caused by the sequence of events.
Modeling approach
Define the daily load ratio as . The code reports means and maxima for demand, capacity, load ratio and backlog, and plots demand against capacity. Upper quantiles and the backlog trajectory can provide additional detail about difficult days.
Python example
factory["load_ratio"] = factory["demand"] / factory["capacity"]
summary_002 = factory[["demand", "capacity", "load_ratio", "backlog"]].agg(
["mean", "max"]
)
display(summary_002.round(2))
fig, ax = plt.subplots(figsize=(9, 4))
ax.plot(factory["day"], factory["demand"], label="Demand", alpha=0.8)
ax.plot(factory["day"], factory["capacity"], label="effective capacity", alpha=0.8)
ax.fill_between(
factory["day"],
factory["capacity"],
factory["demand"],
where=factory["demand"] > factory["capacity"],
color="tomato",
alpha=0.25,
label="Capacity shortfall",
)
ax.set_title("Daily demand and effective production capacity")
ax.set_xlabel("Operating Days")
ax.set_ylabel("units/day")
ax.grid(True, alpha=0.3)
ax.legend()
fig.tight_layout()
plt.show()
| demand | capacity | load_ratio | backlog | |
|---|---|---|---|---|
| mean | 99.38 | 105.22 | 0.95 | 1.82 |
| max | 126.00 | 121.00 | 1.47 | 40.00 |

Interpreting the results
Even if the average for the entire period seems to have some capacity, in the red zone, the capacity on the day falls below demand. If such shortages continue, there will be backlog of orders until they can recover later. To determine delivery times, not only averages but also time series, maximum values, and upper quantiles are required.
No.003: What is System Modeling?
Practical context
System modeling is the process of defining scope, components, causality, and boundary conditions. When judging by increasing staff, the starting point is not to record all detailed human actions, but to preserve the relationships of capability, failure, demand, and inventory.
Modeling approach
Demand and capacity are inputs; opening inventory and backlog are the state. Production is and shipments are . Update the closing state as
This rule does not use spare capacity to rebuild the initial stock. Define each variable and its update order before adding more detail.
Python example
model_register = pd.DataFrame(
{
"Classification": [
"Input",
"Input",
"Condition",
"Condition",
"Rules",
"Output KPI",
],
"element": [
"daily demand",
"effective capacity",
"Finished goods inventory",
"Backlog",
"Inventory and backlog update",
"Maximum Order Backlog",
],
"Unit": ["units/day", "units/day", "units", "units", "units", "units"],
"Reason for keeping this time": [
"Source of Load",
"supply constraint",
"Stock available for immediate shipment",
"Delivery risk",
"Causality between elements",
"Policy Comparison",
],
}
)
model_register
| Classification | element | Unit | Reason for keeping this time | |
|---|---|---|---|---|
| 0 | Input | daily demand | units/day | Source of Load |
| 1 | Input | effective capacity | units/day | supply constraint |
| 2 | Condition | Finished goods inventory | units | Stock available for immediate shipment |
| 3 | Condition | Backlog | units | Delivery risk |
| 4 | Rules | Inventory and backlog update | units | Causality between elements |
| 5 | Output KPI | Maximum Order Backlog | units | Policy Comparison |
Interpreting the results
The model ledger clarifies “what to model and what hasn’t been added yet.” For example, since the product-dependent setup times is not included, this model cannot be used as-is to make decisions where the variety composition strongly affects performance. Clearly stating the limits of the model is also part of quality.
No.004: What is a State Variable
Practical context
State variables are the information needed to resume future computations at a certain point in time. This includes inventory, order backlogs, equipment operating status, and work-in-progress.
Modeling approach
By saving the state daily, you can track the days when deterioration began and how long it took to recover. It is important not to confuse flow volume (demand and production) with stock volume (inventory and backlog of orders).
Python example
state_snapshot = factory.loc[
factory["backlog"].idxmax(),
["day", "inventory", "backlog", "downtime_h", "capacity"],
]
print("Status on the day the order backlog reached its maximum")
display(state_snapshot.to_frame("value").round(2))
fig, ax = plt.subplots(figsize=(9, 4))
ax.step(
factory["day"], factory["inventory"], where="post", label="Finished goods inventory"
)
ax.step(factory["day"], factory["backlog"], where="post", label="Backlog")
ax.set_title("Changes in factory state variables")
ax.set_xlabel("Operating Days")
ax.set_ylabel("units")
ax.grid(True, alpha=0.3)
ax.legend()
fig.tight_layout()
plt.show()
Status on the day the order backlog reached its maximum
| value | |
|---|---|
| day | 48.00 |
| inventory | 0.00 |
| backlog | 40.00 |
| downtime_h | 2.47 |
| capacity | 86.00 |

Interpreting the results
Inventory falls as it absorbs capacity shortfalls; once it is exhausted, unmet demand becomes backlog. Inspect the day with the largest backlog together with downtime and prior inventory to identify the cause.
No.005: What is an Event?
Practical context
Events are moments that instantly change the state, such as arrival, processing completion, breakdown, or recovery. Event history helps with accountability for stoppage losses and congestion.
Modeling approach
Record the time, type and state change of each event. A failure changes operating status from 1 to 0, and repair changes it back to 1. The unfinished count includes orders in service. A queue length decreases when service starts; the unfinished count used here decreases when service finishes.
Python example
events = pd.DataFrame(
[
(0.0, "Start of business", 1, 0),
(0.8, "Order Arrival", 0, 12),
(1.6, "processing completed", 0, -1),
(2.2, "equipment failure", -1, 0),
(3.4, "Equipment restoration", 1, 0),
(4.1, "processing completed", 0, -1),
(5.0, "Order Arrival", 0, 8),
(6.3, "processing completed", 0, -1),
],
columns=[
"time(h)",
"Events",
"Changes in operating status",
"Change in unfinished orders",
],
)
events["Operating status"] = events["Changes in operating status"].cumsum().clip(0, 1)
events["Unfinished orders"] = (
events["Change in unfinished orders"].cumsum().clip(lower=0)
)
events
| time(h) | Events | Changes in operating status | Change in unfinished orders | Operating status | Unfinished orders | |
|---|---|---|---|---|---|---|
| 0 | 0.0 | Start of business | 1 | 0 | 1 | 0 |
| 1 | 0.8 | Order Arrival | 0 | 12 | 1 | 12 |
| 2 | 1.6 | processing completed | 0 | -1 | 1 | 11 |
| 3 | 2.2 | equipment failure | -1 | 0 | 0 | 11 |
| 4 | 3.4 | Equipment restoration | 1 | 0 | 1 | 11 |
| 5 | 4.1 | processing completed | 0 | -1 | 1 | 10 |
| 6 | 5.0 | Order Arrival | 0 | 8 | 1 | 18 |
| 7 | 6.3 | processing completed | 0 | -1 | 1 | 17 |
Interpreting the results
The machine remains stopped between failure and repair. This example is a predefined log, not a model that generates arrivals and completions. A working simulator also needs explicit rules for interrupted work and resumption after repair.
No.006: Method of Time Progression
Practical context
How time is managed affects computational complexity and accuracy. Fixed time intervals are easy to understand as daily and minute-by-minute KPIs, while event-driven events are better suited for logistics and equipment behavior with irregular intervals.
Modeling approach
The fixed increment method scans all time points. The event-driven system sends the clock forward to the next event time. The fewer events there are, the fewer times the latter process is processed.
Python example
horizon_min = 8 * 60
event_times = np.array([12, 48, 103, 177, 245, 332, 419, 475])
comparison = pd.DataFrame(
{
"Method": ["Fixed step (1 minute)", "Fixed step (10 minutes)", "Event-driven"],
"clock update count": [horizon_min, horizon_min // 10, len(event_times)],
"time expression": [
"1-minute resolution",
"10-minute resolution",
"Keeping event times",
],
"Suitable Uses": [
"Detailed continuous monitoring",
"Approximate intraday KPIs",
"Queues, malfunctions, and transport",
],
}
)
comparison
| Method | clock update count | time expression | Suitable Uses | |
|---|---|---|---|---|
| 0 | Fixed step (1 minute) | 480 | 1-minute resolution | Detailed continuous monitoring |
| 1 | Fixed step (10 minutes) | 48 | 10-minute resolution | Approximate intraday KPIs |
| 2 | Event-driven | 8 | Keeping event times | Queues, malfunctions, and transport |
Interpreting the results
Even with the same 8-hour cycle, the number of updates can vary greatly. However, you shouldn’t choose based solely on the update count. If you want to track continuous changes in temperature or liquid level, the validity of the step size is important; if only processing completion or failure changes the state, event-driven action is natural.
No.007: Discrete-Time Simulation
Practical context
The discrete time model is well-suited for tasks that make decisions at regular intervals, such as daily inventory, weekly staff, and monthly supply and demand.
Modeling approach
Update closing inventory as . Shortages are lost sales and are not carried into the next day. This daily model does not represent the order of arrivals within a day; immediate-service questions require a finer time scale.
Python example
daily_demand = np.array([94, 106, 121, 88, 112, 97, 125, 101, 90, 116])
daily_capacity, stock = 105, 80
trajectory = []
for t, dem in enumerate(daily_demand, 1):
available = stock + daily_capacity
shipped = min(available, dem)
shortage = dem - shipped
stock = available - shipped
trajectory.append((t, dem, daily_capacity, shipped, stock, shortage))
discrete = pd.DataFrame(
trajectory,
columns=[
"days",
"Demand",
"Production",
"Shipping",
"day-end inventory",
"Shortage",
],
)
discrete
| days | Demand | Production | Shipping | day-end inventory | Shortage | |
|---|---|---|---|---|---|---|
| 0 | 1 | 94 | 105 | 94 | 91 | 0 |
| 1 | 2 | 106 | 105 | 106 | 90 | 0 |
| 2 | 3 | 121 | 105 | 121 | 74 | 0 |
| 3 | 4 | 88 | 105 | 88 | 91 | 0 |
| 4 | 5 | 112 | 105 | 112 | 84 | 0 |
| 5 | 6 | 97 | 105 | 97 | 92 | 0 |
| 6 | 7 | 125 | 105 | 125 | 72 | 0 |
| 7 | 8 | 101 | 105 | 101 | 76 | 0 |
| 8 | 9 | 90 | 105 | 90 | 91 | 0 |
| 9 | 10 | 116 | 105 | 116 | 80 | 0 |
Interpreting the results
Even with daily updates, you can see how inventory absorbs demand fluctuations. On the other hand, immediate delivery, where orders concentrate in the morning within the same day, cannot be evaluated. While it can be used for planning end-of-day inventory, evaluating wait times down to the minute requires a different granularity.
No.008: Continuous Time Simulation
Practical context
Quantities that continuously change over time, such as liquid level, temperature, pressure, and concentration, are represented by continuous-time models. It can be used for control settings and safety limit considerations.
Modeling approach
Assume a constant tank cross-section. Let be the inflow-induced rate of level increase (m/h) and the outflow coefficient (1/h). The level satisfies
A volumetric flow rate must first be divided by the cross-sectional area. We approximate the solution with Euler’s method: .
Python example
dt, end = 0.05, 12
t = np.arange(0, end + dt, dt)
h = np.zeros_like(t)
h[0] = 2.0
q_in, k = 0.8, 0.22
for i in range(len(t) - 1):
h[i + 1] = h[i] + dt * (q_in - k * h[i])
fig, ax = plt.subplots(figsize=(8, 4))
ax.plot(t, h, label="Tank water level")
ax.axhline(
q_in / k,
color="tomato",
linestyle="--",
label="Theoretical equilibrium water level",
)
ax.set_title("Tank water level according to continuous time model")
ax.set_xlabel("hours (h)")
ax.set_ylabel("water level (m)")
ax.grid(True, alpha=0.3)
ax.legend()
fig.tight_layout()
plt.show()
print(
f"Water level after 12 hours: {h[-1]:.2f} m / Equilibrium water level: {q_in/k:.2f} m"
)

Water level after 12 hours: 3.52 m / Equilibrium water level: 3.64 m
Interpreting the results
The water level does not immediately move to equilibrium but gradually approaches. If there is an upper water level, alarms and inflow control can be designed using the arrival time. In practical applications, coefficients are identified using measured values, and numerical errors are checked by varying the step sizes.
No.009: Probability Simulation
Practical context
Demand, breakdowns, and processing times can fluctuate by chance. Probabilistic simulation quantifies not only average results but also risks such as the probability of stockouts and lower percentiles of profits.
Modeling approach
Repeat a 20-day operation 3,000 times with different demand and failure draws. Each day, production equals available capacity. Unsold units have no salvage value and are not carried forward. Monetary amounts are in yen.
These assumptions explain the production cost 400 * cap.sum() in the code.
Python example
mc_rng = np.random.default_rng(SEED)
n_runs, horizon = 3000, 20
results = []
for run in range(n_runs):
dem = np.maximum(0, mc_rng.normal(100, 14, horizon)).round()
failures = mc_rng.binomial(1, 0.15, horizon)
cap = 108 - failures * mc_rng.integers(20, 45, horizon)
shortage = np.maximum(dem - cap, 0).sum()
shipped = np.minimum(dem, cap).sum()
profit = 1200 * shipped - 400 * cap.sum() - 3000 * shortage
results.append((shortage, profit))
mc = pd.DataFrame(results, columns=["Total Shortage Units", "Profit"])
metrics_009 = pd.Series(
{
"Average out-of-stock quantity": mc["Total Shortage Units"].mean(),
"Probability of out-of-stock occurrence": (
mc["Total Shortage Units"] > 0
).mean(),
"Profit fifth percentile": mc["Profit"].quantile(0.05),
"average profit": mc["Profit"].mean(),
}
)
display(metrics_009.to_frame("value").round(1))
fig, ax = plt.subplots(figsize=(8, 4))
ax.hist(mc["Profit"] / 10000, bins=35, edgecolor="white")
ax.axvline(
mc["Profit"].quantile(0.05) / 10000,
color="tomato",
linestyle="--",
label="Profit fifth percentile",
)
ax.set_title("Distribution of 20-day profit")
ax.set_xlabel("Profit (10,000 yen)")
ax.set_ylabel("Number of trials")
ax.grid(True, alpha=0.3)
ax.legend()
fig.tight_layout()
plt.show()
| value | |
|---|---|
| Average out-of-stock quantity | 115.1 |
| Probability of out-of-stock occurrence | 1.0 |
| Profit fifth percentile | 806540.0 |
| average profit | 1091632.2 |

Interpreting the results
Average profits alone can miss out on losses in tough cases. The fifth percentile of profit is a downside indicator, meaning “if the assumption is true, about 1 in 20 times it will be below this.” In management decisions, both expected values and risk tolerance are recorded, and distribution assumptions are verified using actual data.
No.010: Deterministic Simulation
Practical context
Deterministic models always return the same result for the same input. It is suitable for confirming alignment of baseline plans, explaining break-even points, and parameter sensitivity.
Modeling approach
Hold demand and capacity fixed and vary opening inventory. The planned shortfall is the extra replenishment needed to prevent negative cumulative stock. Ending inventory after replenishment assumes those units are supplied externally; the shortfall is not a backlog measure.
Python example
demand_plan = np.array([95, 100, 110, 115, 105, 98, 120, 108, 102, 112])
capacity_plan = np.full_like(demand_plan, 106)
rows = []
for initial_stock in range(0, 101, 10):
cumulative_net = initial_stock + np.cumsum(capacity_plan - demand_plan)
min_stock = cumulative_net.min()
shortage = max(0, -min_stock)
ending_stock = cumulative_net[-1] + shortage
rows.append((initial_stock, shortage, ending_stock))
deterministic = pd.DataFrame(
rows,
columns=[
"initial inventory",
"Planned shortfall",
"End-of-period inventory after compensation",
],
)
display(deterministic)
fig, ax = plt.subplots(figsize=(8, 4))
ax.plot(
deterministic["initial inventory"], deterministic["Planned shortfall"], marker="o"
)
ax.set_title("Sensitivity to Initial Inventory Shortfalls in Planning")
ax.set_xlabel("Initial stock (units)")
ax.set_ylabel("Planned shortage (units)")
ax.grid(True, alpha=0.3)
fig.tight_layout()
plt.show()
| initial inventory | Planned shortfall | End-of-period inventory after compensation | |
|---|---|---|---|
| 0 | 0 | 5 | 0 |
| 1 | 10 | 0 | 5 |
| 2 | 20 | 0 | 15 |
| 3 | 30 | 0 | 25 |
| 4 | 40 | 0 | 35 |
| 5 | 50 | 0 | 45 |
| 6 | 60 | 0 | 55 |
| 7 | 70 | 0 | 65 |
| 8 | 80 | 0 | 75 |
| 9 | 90 | 0 | 85 |
| 10 | 100 | 0 | 95 |

Interpreting the results
You can explain the initial inventory threshold to eliminate shortages under a fixed plan. However, the probability of failures or demand fluctuations is unknown. First, a deterministic model is used to confirm the structure and reference values, and a step-by-step approach that probabilizes only important uncertainties is practical.
Practical takeaways
| subject of judgment | Recommended expressions | Key KPIs | Points to Note |
|---|---|---|---|
| Monthly Supply and Inventory | Discrete Time and Determinism | Ending inventory and plan shortfall | Does not capture queues within the day. |
| Breakdown, transport, waiting | Event-driven and probabilistic | Wait times, WIP, and on-time delivery rates | Event rules need to be verified |
| Temperature, Liquid Level, and Pressure | continuous time | Time to reach the upper limit, equilibrium value | Parameter estimation and time-step checks are necessary |
| capital investment | Multiple scenarios + probability | Expected profit, lower percentile, maximum order backlog | Include costs and constraints within the same boundary |
First define the decision, KPIs, time resolution, states and events. Start with a simple deterministic model and add detail only when it is needed and can be checked.
Preparing for practical use
- Defining decision-making: Clearly state options for comparison, such as equipment purchases, staffing support, and safety stock changes.
- Agree on KPIs and acceptable values: Not only average, but also delivery on-time rates, maximum WIP, and fifth percentiles of profit, etc.
- Check data quality: Align timestamps, missing-data handling, stop reasons, and distinguish between planned and actual values.
- Validate: Conduct on-site reviews, reproduce past periods, test extreme conditions, and conduct sensitivity analyses
- Determine operational responsibilities: Updating assumptions, managing model versions, recalculating frequency, and determining approvers
Simulation results are not considered automatic decisions, but are presented to the decision-making meeting along with assumptions, scope of application, and uncertainty.
Conclusion
From No.001 to No.010, simulations were viewed as “experiments that express important real-world parts according to objectives and compare measures.” By distinguishing by status, event, and time progression method, you can choose models suitable for daily inventory, equipment failures, tank water levels, and more. Deterministic models indicate criteria and causality, while stochastic models indicate downside risk. In the next stage, we improve the model by cross-checking with actual results, connecting to decisions on investment, delivery times, and inventory.
Consultations for Corporations
At Surikobo, we support each stage of decision-making, from organizing data on the manufacturing site, designing simulations, comparing capital investment, personnel allocation, inventory measures, to in-house training. You can consult with us even at the stage of “first organizing the target process and KPIs.”
📩 Contact Us: www.surikobo.co.jp/contact
Please feel free to consult us first.