znetsixe 2c7fe1792f ps: setDemand reads unit-normalised payload from commandRegistry
generalFunctions' commandRegistry._normaliseUnits now converts {value, unit}
or unit-tagged payloads to the descriptor's default unit (m3/h for set.demand)
before the handler runs. setDemand just reads Number(payload) — no inline
unit-conversion, no scaling state. Matches the same shift done in MGC for
unit-self-describing demand commands.

Pre-existing test failure: test/integration/basic-dashboard-flow.test.js
references examples/basic-dashboard.flow.json which was renamed to
02-Dashboard.json in commit fe5fa35 (feat(pumpingStation): … dashboard
example). The 3 stale-path failures are unrelated to this commit — they
were broken before this change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-14 22:51:42 +02:00
2025-10-07 18:05:54 +02:00

pumpingStation

Wet-well basin model and pump orchestration node for EVOLV.

The detailed documentation lives in wiki/:

  • wiki/functional-description.md defines the shared basin model, pipe reference semantics, safety points, net-flow selection, and child registration behaviour.
  • wiki/modes/ documents control-mode-specific behaviour. For v1.0 the editor exposes levelbased and manual; levelbased supports linear and log curves with separate rising/falling ramp semantics.
  • wiki/diagrams/basin-model.drawio.svg is the current source of truth for the generic basin model.
  • examples/basic-dashboard.flow.json provides a simple Node-RED Dashboard 2 flow with level, volume, demand, net-flow, and safety-state trends.
Description
No description provided
Readme 54 MiB
Languages
JavaScript 71.8%
HTML 28.2%