System Design Atlas

Predictive machine maintenance

02 / 10Worked example

Requirements

Which business rule protects maintenance findings, and how is the agreed limit checked?

The case boundary creates business rules and measurable goals. For maintenance finding B-30, the central invariant is: One machine finding per measurement window and model revision generates at most one approved maintenance order; one model output alone does not trigger a physical equipment effect. An invariant must apply after each completed operation. Quality objectives, on the other hand, describe an operation to be measured.

Starting point A model suggestion receives a human review.

Assumptions for the example case

Own fictitious example design. Fictional suggestions for a single machine based on vibration trends, with human approval of work orders. Measurement windows last 60 seconds and are closed on the left, open on the right; a measurement at exactly 60 seconds belongs in the next window. All figures and test goals are illustrative assumptions.

Business guarantee and measurable limit

Guarantee and preconditions

1
Finding B-30Exactly one for each measurement window and model revision
2
Machine M-30Domain reference without an automatic control path
3
Model R-30Bound to the finding, review result and approval
Exact limitMeasurement window [0, 60 s) · A measurement at 60 s belongs to the next window

One finding per measurement window and model revision creates at most one work order approved by a human.

A machine finding per measurement window and model revision generates at most one approved maintenance order; a model output alone does not trigger a physical equipment effect.

Business requirements (functional)

Further reading
Durable commitment
A machine finding per measurement window and model revision generates at most one approved maintenance order; a model output alone does not trigger a physical equipment effect.
Evidence and closure
The actual maintenance report and final review are available.
Domain boundary rule
Measurement windows last 60 seconds and are closed on the left, open on the right; a measurement at exactly 60 seconds belongs in the next window.

Operational goals (non-functional)

Further reading
Local processing
Illustrative target: 95% of local commands complete in under 800 milliseconds during a 15-minute profile at 100 commands/s. External processing and human waiting time are measured separately.
Traceable processing
In the test profile, authoritative version and processing delay of feature and model processing are recorded. Every accepted change to maintenance finding B-30 must remain verifiable after restart from its stored result.

Measurement quality is part of the finding

Measurement quality is part of the finding

Measurement quality is part of the finding.

A machine finding per measurement window and model revision generates at most one approved maintenance order; a model output alone does not trigger a physical equipment effect.

Measurement windows last 60 seconds and are closed on the left, open on the right; a measurement at exactly 60 seconds belongs in the next window. The exercise specifies the input and expected result.

Alternative considered
A response-time target alone leaves invalid business states unchecked.
Trade-off
Strict validation can pause an operation for investigation.
Reassess
Measured processing times or new contracts with sensor sources require a renewed target check.

Try it yourself

Separate the business invariant from the 800-millisecond target. Explain the exact limit in this case.

A hint for your attempt

Completing an operation quickly but incorrectly does not satisfy the business guarantee.

Compare with a possible solution
Business rule
A machine finding per measurement window and model revision generates at most one approved maintenance order; a model output alone does not trigger a physical equipment effect. The counterexample test checks the permitted state.
Operations and boundary
800 milliseconds applies to 95% of local commands in the assumed peak-load profile. Measurement windows last 60 seconds and are closed on the left, open on the right; a measurement at exactly 60 seconds belongs in the next window.

Apply to your project

Which rule of your project remains binding even with slow processing?

Next, measurement rate and findings contention are tested separately.