Visual guide for deciding how Planned Downtime aggregates across a machine group when uptime excludes idle.
In Union mode, the group is considered Running during any minute where at least one machine is running.
08:00–09:00 decides whether Availability is accurate or inflated.
Click an option below to inspect its exact Planned Downtime timeline, math, pros, and risks.
Matches groups.uptimeMode: Pilot groups use the Pilot machine's planned downtime. Union groups merge all planned downtime minus any minute where the group was running.
pilot and union group uptime, never double-counts overlapping stops, never exceeds 100%, and works whether operators log downtime on a group or on individual machines.
In Union mode, a minute only counts as Planned Downtime if every machine in the group has a Planned Downtime declaration at that same minute.
09:00–10:00 the whole line is shut down for maintenance, and the operator tags Machine A as Planned Maintenance but forgets to tag Machine B.
PD = 0h → Availability drops to 75.0% (9 / 12).
PD = 1h because neither machine ran → Availability stays 81.8%.
Counts only downtime records declared at the Group level (downtimereasons.groupId === group._id), ignoring any planned downtime declared on individual machines.
Merges all Planned Downtime intervals across all machines in the group regardless of whether another machine was running.
08:00–09:00, the group was running (Machine B produced) and you subtracted that hour from totalTime. That double-credits the hour and artificially pushes Availability from 81.8% to 90.0% (or even >100% if unplanned stops were smaller).
| Option | Planned DT | Denominator | Availability |
|---|---|---|---|
| 1. Mode-Aware Rec. | 1h (09–10) | 11h (12 − 1) | 81.8% (9/11) |
| 2. Strict Intersection | 1h (09–10) | 11h (12 − 1) | 81.8% (9/11) |
| 3. Group-Declared Only | 0h or 1h | 12h or 11h | 75.0% or 81.8% |
| 4. Simple Union | 2h (08–10) | 10h (12 − 2) | 90.0% (Inflated) |
When a group's uptimeMode = "pilot", one lead machine represents the entire line.
8h / (12h − 2h) = 80.0%. Under Option 1 (Mode-Aware), Pilot groups simply read the Pilot machine's planned downtime (plus any group-level declaration mapped to it).