Modelling guide
Shifts, breaks and working days
The factory works in shifts, stops for breaks, and is closed at night or at weekends, while some equipment (an oven, a drying rack, a machine running unattended) keeps going.
Built in A field or setting does it directly.
How
In settings (Project settings → Shifts and breaks):
"work_calendar": {
"shifts": [{ "start": "06:00", "end": "14:00" }, { "start": "14:00", "end": "22:00" }],
"breaks": [{ "start": "09:00", "minutes": 15 }, { "start": "18:00", "minutes": 30 }],
"days": [1, 2, 3, 4, 5],
"stop": "pause"
}
- A shift ending before it starts runs past midnight;
daysare ISO weekdays (1 = Monday). stop:"pause"stops started work at a break or the shift's end and goes on after it;"finish_cycle"lets it finish. New work starts only in working time.- On a machine that keeps going, set
"calendar": "always"(Hardware → Runs: Always). - The run starts when the first shift of the first working day starts.
- The takt is per working hour. A 120 s takt with 14.75 working hours a day asks for 442 units a day. Demand by arrivals or an order list runs on the clock: work centres are sized for the working share of it, and work arriving at night waits for the next shift.
Breaks are the same for everyone; staggered breaks per station and different times per shift are not modelled yet.
Check
Brackets are coated (90 s), dried 30 minutes on a rack that runs always, and packed (60 s) at a 120 s takt, in two shifts with three breaks (14.75 working hours a day). In 48 h the run makes 2 x 14.75 h / 120 s = 885 brackets; no staffed station starts work outside the shifts.