KANON Industrial Data Intelligence

Produced Water Analytics

Statistical event detection in simulated industrial treatment monitoring.

Prepared by: Hadi Farahani, PhD  |  [email protected]

Technical analysis and validation

Technical evaluation of synthetic sampling, measurement quality and event detection.

Table of Contents

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)

Note: This report presents results from a synthetic dataset. The model is a transparent demonstration, not an empirically calibrated plant. No field accuracy, compliance, or engineering certification is established.
Need to defend your industrial data? KANON provides independent measurement validation and anomaly detection. Let's discuss your project →

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.

Interpretation: The recorded synthetic event-scoring convention yielded 60.0% precision. The comparison of USD 20,000 in false-alarm review costs with an assumed USD 50,000 failure cost is illustrative. Economic feasibility and avoided failures are not established.

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.

Uncertainty Waterfall
Interpretation: The choice of baseline (full-year vs. Q1) is the largest source of analytical risk. The analytical noise of the laboratory instruments (±5% CV) has the smallest impact on the final precision and recall.

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.

Interpretation: The rolling median reduces sensitivity to short-duration variability. The dual threshold combines statistical screening and practical magnitude criteria; its performance is evaluated against the recorded synthetic scenarios.

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-Level Confusion Matrix

Event Precision

60.0%

Event Recall

100.0%

Interpretation: The recorded event-level evaluation reports 3 true positives, 2 false positives and 0 false negatives. Reported precision was 60.0% and reported recall was 100.0%. The false-positive fraction among the five alert episodes was 40.0% under the implemented matching convention. These are synthetic evaluation results, not confirmed equipment failures or independent field events.

4.2 Day-Level Performance

This matrix shows how many individual days were correctly classified out of the 730 total facility-days.

Day-Level Confusion Matrix

Day Accuracy

95.2%

Day Recall

49.0%

Interpretation: Day-level accuracy was 95.2%, with normal days contributing substantially to this result. Day-level recall was 49.0%, indicating that approximately half the designated event days were not flagged.

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
G1Schema & Relational Integrity7 tables, exact column names, no duplicate keys✓ PASS
G2Physical ConsistencyMass balance, positive flows, load accounting✓ PASS
G3Statistical SignaturesAR(1) persistence, shared-driver correlation✓ PASS
G4Planted ScenariosEvent multipliers, recovery logic, PW-B isolation✓ PASS
G5Measurement & LeakageLog-normal noise, no truth leakage into analyst tables✓ PASS
G6ReproducibilitySame seed yields same hash, config matches✓ PASS
G7Analytical UsabilityJoins, plots, and expected contrast without truth✓ PASS
G8Documentation CompletenessData dictionary, references, and project card✓ PASS
Interpretation: All 8 recorded validation gates passed. These checks support acceptance of the synthetic dataset within the specified test scope, not field accuracy or regulatory compliance.

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 Precision60.0%3 TP, 2 FPManual review vs. planted truth
Event Recall100.0%3 TP, 0 FNManual review vs. planted truth
Day-Level Accuracy95.2%(671 TN + 24 TP) / 730Automated confusion matrix
Day-Level Recall49.0%24 TP / (24 TP + 25 FN)Automated confusion matrix
BaselineFull-Year MedianRobust to single eventsCross-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:

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

7. References

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
[email protected]  ·  kanondata.com