- Update all submodule URLs from gitea.centraal.wbd-rd.nl to gitea.wbd-rd.nl - Add settler as proper submodule in .gitmodules - Add agent skills, function anchors, decisions, and improvements - Add Docker configuration and scripts - Add manuals and third_party docs - Update .gitignore with secrets and build artifacts - Remove stale .tgz build artifact Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
Decision: RotatingMachine Hydraulic Efficiency Correction and Prediction Confidence
- Date: 2026-02-24
- Scope:
nodes/rotatingMachine/src/specificClass.js, rotatingMachine integration tests
Context
Hydraulic efficiency calculation in rotatingMachine was dimensionally inconsistent and could over/under-report efficiency KPIs.
At the same time, prediction drift tooling (nrmse) existed but was not actively connected to rotatingMachine output confidence.
Options Considered
- Keep existing formula and only tune thresholds.
- Replace formula with standard hydraulic power/efficiency equations and expose prediction confidence from live pressure source + drift.
Decision
Adopt option 2.
- Hydraulic power now follows standard engineering relation:
P_h = Q * Δp(equivalent toρ g Q H)η_h = P_h / P_in
- RotatingMachine now computes flow drift via
nrmsefrom measured vs predicted flow windows. - RotatingMachine now exposes prediction confidence fields in output:
predictionQualitypredictionConfidencepredictionPressureSourcepredictionFlags
Consequences
- Efficiency KPIs become physically interpretable and traceable to pressure/flow/power inputs.
- Prediction trust is now observable by downstream control/dashboard layers.
- Output schema is expanded with new prediction confidence fields.
Rollback / Migration Notes
- Rollback path: revert
specificClass.jshydraulic block and prediction-health integration. - No mandatory migration required for existing flows unless they choose to consume new prediction confidence fields.