Definition
Measures the continuous distance between current process performance and regulatory permit limits across all permit parameters, reported as the tightest margin (closest parameter to violation) and the weighted average margin.
The Measurement Gap
Current metrics track binary compliance. In or out of permit. AI-optimized processes chase cost efficiency by operating closer to permit limits: lower chemical doses, lower dissolved oxygen, tighter process control. The result is that compliance rate stays at 100% while the margin between actual performance and the permit limit shrinks from 40% to 5%. One upset (a storm, equipment failure, operator error) and the thin margin disappears. Binary compliance metrics say "in compliance" right up until the moment they say "violation." No legacy metric tracks how much compliance headroom exists on a continuous basis or whether that headroom is expanding or contracting over time.
Decision Supported:
Is AI-driven cost optimization eroding the safety margin between operations and permit violation, and how much upset can the plant absorb before a violation occurs?
Formula
Plain language: For each permit parameter, calculate how far current performance is from the permit limit as a percentage of the limit. The tightest margin across all parameters is RMI_min: the parameter closest to violation. The weighted average across all parameters is RMI_avg: the overall compliance posture. Track the trend of RMI_min over 90 days to see if the margin is expanding or contracting.
Notation:
RMI_min = min( Mₚ ) across all permit parameters p
RMI_avg = Σ (Wₚ × Mₚ) / Σ Wₚ
Where Mₚ = (Lₚ − Actualₚ) / Lₚ for "must not exceed" parameters, and Mₚ = (Actualₚ − Lₚ) / |Lₚ| for "must not go below" parameters.
RMI_trend = linear slope of RMI_min over trailing 90 calendar days.
Variables:
| Variable | Definition | Unit |
|---|---|---|
| Lₚ | Permit limit for parameter p | Units vary by parameter |
| Actualₚ | Current performance value for parameter p, rolling average matching permit averaging period | Units match Lₚ |
| Wₚ | Consequence weight: severity of violating this specific parameter (considers fine magnitude, consent decree implications, public health significance) | Dimensionless (1–10) |
| Mₚ | Margin for parameter p | Dimensionless fraction |
Proposed formula, pending validation pilots.