Produced Water Analytics
Statistical event detection in simulated industrial treatment monitoring.
Technical analysis and validation
Technical evaluation of synthetic sampling, measurement quality and event detection.
Industrial problem: Treatment-system failures and changes in inlet loading can affect effluent quality. Monitoring must distinguish persistent deviations from routine variability while limiting unnecessary investigations.
The Solution: We built a synthetic lab to simulate 6,570 analyte measurements from 2,190 samples covering 730 facility-days across two facilities. We planted known events (an April high-load, an August equipment failure) and challenged our analytics to find them using only the observed data.
The Result: The recorded synthetic evaluation reported three matched alert episodes and two unmatched alert episodes. The three planted scenario windows were overlapped by detections, but the matching is not strictly one-to-one. These results do not establish field detection performance.
Executive Performance Dashboard
Event Recall
100.0%
95% CI: 43.9% – 100.0%
Event Precision
60.0%
95% CI: 23.1% – 88.2%
Detection Latency
Not verified
No validated latency metric
Day Recall
49.0%
(Accuracy is 95.2% across all days)
1. Business Impact (Illustrative)
Note: The following figures are illustrative, not measured field data.
Illustrative scenario: In a stream of 100 annual alerts with 60.0% precision, approximately 40 would be false positives. At an assumed USD 500 review cost per alert, their review cost would be USD 20,000. An assumed USD 50,000 or greater failure cost is a separate scenario input, not a verified industrial benchmark.
2. Data Quality & Uncertainty
2.1 Sources of Uncertainty
Before analyzing results, we must trust the data. The synthetic dataset was validated against 8 physical gates. The chart below shows where the remaining uncertainty in our metrics originates.
3. Methodology
3.1 Detection Algorithm
The reported screening method uses a 7-day rolling median of daily effluent oil and grease concentrations. Its stated criteria are a 2-standard-deviation threshold and a 50% increase relative to the facility baseline. These are screening thresholds, not a formal test of statistical significance.
4. Results: Event-Level vs. Day-Level
4.1 Event-Level Performance
This matrix summarizes the recorded overlap-based event scoring. Planted scenario windows and matched alert episodes are not necessarily one-to-one.
Event Precision
60.0%
Event Recall
100.0%
4.2 Day-Level Performance
This matrix shows how many individual days were correctly classified out of the 730 total facility-days.
Day Accuracy
95.2%
Day Recall
49.0%
5. Truth QA Gates
The synthetic data must pass 8 physical validation gates before analysis. A failure in any gate invalidates the entire dataset.
| Gate | Validation Objective | Evidence / Criterion | Result |
|---|---|---|---|
| G1 | Schema & Relational Integrity | 7 tables, exact column names, no duplicate keys | ✓ PASS |
| G2 | Physical Consistency | Mass balance, positive flows, load accounting | ✓ PASS |
| G3 | Statistical Signatures | AR(1) persistence, shared-driver correlation | ✓ PASS |
| G4 | Planted Scenarios | Event multipliers, recovery logic, PW-B isolation | ✓ PASS |
| G5 | Measurement & Leakage | Log-normal noise, no truth leakage into analyst tables | ✓ PASS |
| G6 | Reproducibility | Same seed yields same hash, config matches | ✓ PASS |
| G7 | Analytical Usability | Joins, plots, and expected contrast without truth | ✓ PASS |
| G8 | Documentation Completeness | Data dictionary, references, and project card | ✓ PASS |
6. Traceability & Limitations
6.1 Traceability Matrix (Single Source of Truth)
Every metric in the main report is generated by the evaluation script and saved to JSON.
| Metric | Value | Source / Calculation | Verification Method |
|---|---|---|---|
| Event Precision | 60.0% | 3 TP, 2 FP | Manual review vs. planted truth |
| Event Recall | 100.0% | 3 TP, 0 FN | Manual review vs. planted truth |
| Day-Level Accuracy | 95.2% | (671 TN + 24 TP) / 730 | Automated confusion matrix |
| Day-Level Recall | 49.0% | 24 TP / (24 TP + 25 FN) | Automated confusion matrix |
| Baseline | Full-Year Median | Robust to single events | Cross-checked against Q1 baseline |
6.2 Uncertainty & Sensitivity
Because the recorded event-level evaluation uses only three positive scenario windows, the 95% Wilson Confidence Intervals are very wide:
- Event Precision: 23.1% – 88.2%
- Event Recall: 43.9% – 100.0%
Baseline sensitivity: A full-period reference includes observations from the simulated April high-load event and may influence the baseline estimate. The reference statistic is a median, not a mean. Alternative causal trailing baselines require separate evaluation.
6.3 Limitations Register
- L1: The February false alarm is a sustained anomaly. It lasted 6 days, which is longer than pure daily noise. It is likely an artifact of the synthetic AR(1) process.
- L2: The algorithm detects elevations (increases above baseline). It is structurally incapable of detecting a recovery (return to baseline).
- L3: The business impact section assumes 100 alerts/year and $500/inspection. These are illustrative, not measured.
- L4: The "naive rule" was a simple threshold of 50% above baseline, with no statistical threshold (2-sigma) and no event merging.
7. References
- JCGM 100:2008 - Evaluation of measurement data — Guide to the expression of uncertainty in measurement (GUM).
- ISO 8000-61:2016 - Data quality — Data quality management: Process reference model.
- EPA 40 CFR Part 435 - Oil and Gas Extraction Point Source Category.
- Montgomery, D. C. (2019) - Introduction to Statistical Quality Control (8th ed.). Wiley.
- Wilson, E. B. (1927) - Probable Inference, the Law of Succession, and Statistical Inference. JASA.
8. Statement of Integrity & Conflict of Interest
Statement of method integrity: KANON presents this work as a synthetic methodological demonstration. The documented evaluation results, assumptions and limitations define its scope. No independent certification, field validation or regulatory assurance is implied.
About KANON
KANON helps industrial organizations assess produced water measurement quality, investigate data exceptions and develop traceable environmental monitoring workflows.
Contact KANON for Data Projects