Karyo
Documentation/ Extended user guide

Simulation

Karyo 2.1.1rendered at build time
On this page

Simulation replays your own pick history through two ways of deciding when to reorder, and shows which one would have run out of stock less often. It is a backtest of the past, run when you open the page. It is not a live model of the warehouse, and it changes nothing.

Switch it on

A Company administrator who holds settings.manage switches Simulation on. Open Admin > Capabilities, turn on the Simulation row, press Review change, read the preview, and press Apply change. Nothing is reinstalled and no data moves.

Simulation needs pick history and nothing else. A SKU is simulated once it has picks inside the history window. Until then the page reads No reorder simulations yet.

It does not need Forecasting to be switched on. It reads the picks itself and uses its own settings. Its demand figures come from the same calculation Forecasting uses. The settings are not on a settings screen. The person who runs the installation sets them in the application configuration, and a change takes effect when the application restarts:

Setting Default Meaning
karyo.simulation.history-days (KARYO_SIM_HISTORY_DAYS) 90 Days of picks that are replayed.
karyo.simulation.lead-time-days (KARYO_SIM_LEAD_TIME) 7 Days a reorder takes to arrive. At least 1.
karyo.simulation.service-level (KARYO_SIM_SERVICE_LEVEL) 0.95 How safe the safety stock should be.
karyo.simulation.review-period-days (KARYO_SIM_REVIEW_DAYS) 14 Days of demand in each reorder.

The replay runs on the warehouse flow model: each SKU is one bin, each day's demand takes what the bin holds, and the rest is a lost sale. karyo.simulation.simulator picks the replay: flow (the default) or lost-sales, the arithmetic replay it replaced. Both give the same figures.

What appears when it is on

  • Insights > Simulation in the sidebar, the command palette and the route /insights/simulation.
  • Nothing else. Items, Control and the settings screens do not change.
  • Reading the page needs operations.view.

Using it

  1. Open Insights > Simulation.
  2. Read the four figures on top.
  3. Read the table to find the SKUs where the safer rule helps most.

For each SKU, Simulation replays the days of the history window twice. Both runs use the same daily demand and the same order quantity. They differ only in the reorder point:

  • The base rule reorders when stock falls to the demand of one lead time. It keeps no safety stock.
  • The sugg (suggested) rule adds safety stock for the service level.

Each run starts with stock equal to the reorder point plus one order. A reorder arrives after the lead time. Demand that stock cannot meet is lost, not back-ordered.

The four figures:

Figure Meaning
SKUs simulated SKUs with picks in the window.
Stockout-days avoided Days out of stock under the base rule, less days under the suggested rule, added over all SKUs.
Avg fill-rate lift The suggested rule's fill rate minus the base rule's, averaged, in points. Fill rate is the share of demand served from stock.
On-hand change The extra average stock the suggested rule holds, added over all SKUs. This is the cost of the safer rule.

Each table row reads base → sugg for Stockout-days, Fill-rate, Avg on-hand and Reorder point. Days avoided is highlighted when the suggested rule helped. Confidence shows how many days of picks stand behind the SKU: LOW below 5 days, MEDIUM below 20, HIGH from 20. Rows with the most days avoided come first.

A backtest shows what would have happened in the past window. It does not promise the future. Use it to decide where extra safety stock is worth its cost, then set the reorder points yourself.

When you switch it off

  • The Simulation page and its sidebar entry disappear.
  • Nothing else changes. Karyo stores no simulation result, so there is nothing to keep or lose.
  • The REST route /api/v1/simulations/reorder stays callable.

Next