System Design Atlas

Water leak detection and repair orders

02 / 10Worked example

Business rules and operational targets

How does an invalid value affect the required exceedance sequence?

The system boundary leads to a domain rule: Investigation must confirm a suspected leak before it becomes a confirmed finding. B-111 has at most one active work order. A repair report requires post-repair inspection before the incident can be closed. An operational target describes a measurable property and begins as a test assumption.

Starting point The control room confirms the cause before issuing a repair order.

Assumptions for the example case

This fictional worked design assumes a bounded metering zone, minute-by-minute flow readings, manual confirmation of findings and one active repair order per confirmed finding. Numbers and quality targets are illustrative test assumptions. Automatic valve control, full hydraulic simulation and drinking water quality assessment are outside scope.

Rules governing the result

Measurement, finding and closure gates

Measurement gate3 × valid and > 20.00 L/min
Finding gateInvestigation proves B-111
Finalisation validationMeasurement proves restoration
Offline-Reparatur → AußendienstOne work record; open until post-repair inspection

A suspected leak is confirmed manually; one work order is created; the repair stays open until measurement-based verification.

An invalid reading falls between two high readings. Reset the three-reading sequence at the invalid minute. Only three evidenced threshold exceedances trigger detection.

Business requirements (functional)

Further reading
Invariant
Investigation must confirm a suspected leak before it becomes a confirmed finding. B-111 has at most one active work order. A repair report requires post-repair inspection before the incident can be closed.
Boundary test
Additional flow of 20.00 litres/min does not exceed the threshold; 20.01 does. The sequence 20.01/20.01/20.01 creates a suspected leak; 20.01/invalid/20.01 breaks the sequence and creates none.
Unresolved outcome
Field service documents a repair offline and synchronises twice. One work record is created; the order stays in repariert until post-repair inspection provides evidence. Missing measurements after repair leave verification open rather than proving successful restoration.

Quality goals (non-functional)

Further reading
Local acceptance
Fictional target: 95% of local administration commands complete within 800 ms under the peak profile: after reconnection, 2,000 × 60 readings in 60 s = 2,000 readings/s. Measure external execution and media transfer separately.
Traceability
Every rejected or open operation shows its reason, latest evidenced state and responsible role. Check this in a sample after the failure from step 7.

Require a valid sequence

Require a valid sequence

Reset the three-reading sequence after an invalid minute.

An invalid value lies between two high values.

Only three evidenced threshold exceedances trigger detection.

Alternative considered
Skipping invalid values creates false continuity.
Trade-off
Brief data gaps delay detection.
Reassess
The domain rule is recalibrated.

Terms in this step

Require a valid sequence
Only three evidenced threshold exceedances trigger detection.

Try it yourself

Evaluate the sequences 20.01/20.01/20.01 and 20.01/invalid/20.01 litres/min.

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
Three valid exceedances create a suspicion.
Second part of the solution
The invalid middle reading breaks the sequence. The second sequence creates no suspected leak under this rule.

Apply to your project

Which corresponding assumption in your project would you check first? Consider this trigger: The domain rule is recalibrated.

Step 3 examines: size catch-up delivery.