Skip to main content

Mechanics templates

Ready-to-deploy state contracts in the Mechanics category. Each is a running machine — protocols pre-composed into states and transitions, deployable as-is onto your state machine.

TemplateWhat it does
Force Threshold AlarmNM19 (F = ma) on every reading: idle → watching → alert when computed force crosses your limit. The classic structural-load watchdog.
Harmonic Fatigue WatchNM30 (F = −kx, x(t) = A·cos(ωt+φ)) tracks oscillation amplitude: nominal → worn → failing as displacement grows past tolerances.
Orbital Decay MonitorNM21 (F = G·m₁m₂/r²) per pass: stable_orbit → decaying → deorbit_planned as perigee altitude falls through declared floors.
Energy Conservation AuditorNM23 + NM24 + NM25 (KE + PE = const): balanced → violation when a system's energy books stop closing — the physics-grade sensor sanity check.
Momentum Surge DetectorNM26 (p = mv) + NM27 (Σp_init = Σp_final): flags momentum-balance breaks across a measured boundary — collisions, leaks, slippage.

See the full Templates Library for all categories, or the State Contracts model for how to author your own.