Code and performance checks
Both checks are in the Route step. The code check applies prescriptive egress limits; the performance check asks whether people can get out before the fire makes their way untenable.
The code check
The Code check tests each storey's egress for offices (occupancy group B):
- the walk to the nearest exit;
- the number of exits for the occupant load, and their separation;
- door widths;
- whether the building is high-rise.
Each limit is the stricter of the Saudi Fire Code SBC 801-CR-2018 and the International Building Code 2021, so a pass meets both, and every result names both clauses. The exits it counts are the exits out of the building and the stairs; places on a storey that reach none of that storey's exit doors leave by a stair.
- The building has automatic sprinklers
Off by default. On, the check allows longer walks, 90 m to the nearest exit against 60 m, and exits closer together, a third of the storey's diagonal apart against a half. The slime mould's dead ends and the egress map read the same switch for their limits.
- Show the distance to spare on the graph
Shown once the check has run. It colours the graph by how far each place's walk to the nearest exit is from the limit: red at or over it, yellow well within it, grey where no exit can be reached on its storey.
Not checked yet: the common path of travel, dead ends, stair widths and capacity, and whether each stair is enclosed. The egress map reads the common path and dead ends separately (see Egress map).
In the Vienna example, two doors lead out and there is one stairwell, so the storeys above the second fail the two-exit rule on Group B values. Residential buildings have their own single-exit rule, which is not yet checked.
The current edition is SBC 801-CR-2024, whose text was not obtained. Until it is, the checks pass SBC 801-CR-2018, with IBC 2021 where it is stricter. This guide cites clause numbers and values only.
The performance check (with the fire)
The Performance check (with the fire) reads the escape deadlines of a forecast (Simulate step, Plan with the forecast; see Fire and smoke). A place passes when someone there can wait for detection, the alarm, the 99th percentile of pre-movement time and any queue at the doors, and still get out with a dose under the limit.
It reports, per storey, the worst margin, the least ASET/RSET, the share of occupants who start in time and the longest wait at the doors. It is evidence for an alternative method (SBC 801-CR-2018 Section 104.9) beside the code check, not a replacement for it.
Rule checkers on the IFC, such as a Solibri check of SBC 201-CR-2024 egress on a three-storey hotel (Mohammadi, Abolkhair and Altassan 2026, Sustainability 18(16) 8023, doi:10.3390/su18168023), cover the prescriptive side. This check is the performance-based side they do not cover.
The rule and its criteria
For each place, the escape deadline L is read from the dose-limited map, which is never later than the exact deadline. The place passes when L allows detection, the alarm and the 99th percentile of pre-movement, with the criterion's factor on RSET and its margin. Three criteria are offered:
- Base case (the default): ASET at least twice RSET and at least 30 s over it (Singapore SFEG 2025 Table 10.4; the Italian fire code, M.3.2.2).
- Sensitivity case: ASET at least 1.2 times RSET.
- The 99th percentile alone.
Where a place's deadline is bound by the end of the forecast rather than by the fire, the check says "cannot tell" and how long a forecast it needs.
What RSET is made of
- Presets
Chosen under Occupants: office (the default), classroom, apartments, the flat of origin, hotel, assembly, or custom. Each gives the alarm and pre-movement times, the share of occupants who never respond and the floor area per occupant, from PD 7974-6, ISO/TR 16738, the Australian FSVM data sheets, New Zealand's C/VM2 and IBC 2021 Table 1004.5. The design pre-movement time is a log-normal through PD 7974-6's two percentiles. Typing a different alarm, pre-movement, no-response or floor-area value below makes the occupants custom.
- Detection from the fire run's smoke
On by default. With a Flamescapes fire, detection is when the smoke reaches a smoke detector's optical density (0.097 per metre, C/VM2) at virtual detectors under the ceiling. Up to 16 are placed round the fire, 7 m from it (C/VM2) or as far as its room allows: a wall or a lintel ends the search. They are read every frame on the CPU and the GPU and shown on the run card. In the GPU check's test room, 9 detectors gave a visibility correlation of 0.994 between CPU and GPU and the first alarm at 40 s on both. Without a Flamescapes fire, when the run's smoke never reaches a detector's threshold, or with the switch off, the check uses Detection (s), and its result says which it used.
- Detection (s) and Alarm after it (s)
Seconds, 0 to 1,800. Detection is counted from ignition, 60 s by default; the alarm from detection, 30 s for an immediate general alarm (the office preset) or 120 s for a staged one (the hotel preset).
- Pre-movement, 1st percentile (s) and Pre-movement, 99th percentile (s)
The two percentiles of the design log-normal, in seconds after the alarm: 60 and 180 s for the office preset. The 99th must be longer than the 1st, and both above zero, before the check runs.
- Never respond (%)
0 to 50 %. Each preset carries the share of occupants who never respond, from the Australian guidance (0 % for offices and assembly, 1 % on an apartment fire floor and in hotels). They are never counted as starting in time, and the percentiles are those of the people who respond. Staff or the fire service must reach them.
- Measured pre-movement, shown beside
A measured spread, the Weibull fits of Lovreglio et al. (2019) to one cluster of drills or fires (offices, lecture halls, libraries, homes with a working alarm, homes in real fires with poor alarms, hotels or theatres), or none. It is judged per storey beside the design log-normal and drawn with it in the chart, without changing the verdict. Each preset picks its own cluster.
- Queues at the doors
On by default (Queues at doors). Occupants on every place walk to the nearest exit with no fire and queue at each door at 1.32 persons a second per metre of effective width, the door's width less 0.15 m a side (C/VM2 3.5.3), with the door widths from the IFC (0.813 m, the stricter code's least clear width, where it gives none; people leaving and the slime mould take the width of the door's geometry there instead), doors upstream first (Lindley's recursion). The wait W of the 99th-percentile starter enters the requirement. The queues take 59 ms on Vienna and are computed only when the check is run.
- Floor area per occupant (m²)
Shown with the queues on: how many people stand on the floor for the queues, one per this many square metres, 0.3 to 100 m². Each preset sets it. Offices take 9 m², the app's reading of SBC 801-CR-2018, which is stricter than IBC 2021 Table 1004.5's 13.94 m² (150 sq ft) gross. The others are from IBC 2021 Table 1004.5: 1.86 m² for classrooms, 18.58 m² for apartments and hotels, and 1.39 m² for assembly with tables and chairs. The area divided is the walkable floor, which is less than the gross area the codes divide. People leaving and the slime mould's desire lines use the same value.
- Also with the exit nearest the fire blocked
Off by default. On, planning with the forecast makes a second deadline map without the exit nearest the fire, which about doubles the map's time, and the check judges it as a sensitivity case (SFEG 2025 test 5) at 1.2 times RSET. Plan again after switching it on.
Several fires and the report
Every check joins a report of fires. Add fires on every storey plans two more fires a storey, one next to an exit and one farthest from the exits, for graph and two-zone fires; a Flamescapes run takes minutes, so for those you move the fire and plan again. Each check adds the sensitivity cases its plan allows: the exit nearest the fire blocked (from a second deadline map; off by default, since it about doubles the map's time) and the first detector failing. Download the report saves every fire, case, input and source as one page. The report passes only when every case of every fire does.
What is proved
The check's claims are proved in Lean 4 (Performance.lean, DoorQueue.lean, PreMovement.lean), on Lean's standard axioms only:
- a pass at the 99th percentile means at least 99 % of those who respond start in time;
- the factor on RSET is a margin of at least the factor less one times RSET;
- a pass on the conservative deadline map is a pass on the exact deadline;
- the door queues never pass more than a door's capacity, and have cleared everyone by the time the check reads;
- a later start never leaves a door earlier;
- the report passes only when every case of every fire does.
PreMovement.lean also showed that the Weibull's value is non-negative only for a non-negative scale, which the measured clusters have.
Not covered yet
- C/VM2's cap of 50 persons a minute through a self-closing leaf.
- Stair flow, speed classes and the Australian disability increments.
- A faster or smouldering fire as an automatic case.
- Flamescapes fires added automatically to the report.
- The residential single-exit rule in the code check, and occupancies other than group B.
The values and their sources are in the RSET components note.