Rene De Ren e2ebb31816 stopLevel Schmitt-trigger hysteresis + dead-zone keep-alive
Levelbased control now distinguishes startLevel (rising-edge engage,
ramp foot) from stopLevel (falling-edge disengage). _stopHystRunning
flag flips TRUE crossing startLevel up, FALSE crossing stopLevel down.
While engaged AND level inside [stopLevel, startLevel] (basin draining
through the dead band), emit a configurable keep-alive percControl
(default 1 %) so MGC keeps a single pump running for a full drain
stroke instead of oscillating at startLevel.

Hard turn-off the moment level <= stopLevel — independent of ramp
scaling. Manual-mode demand=0 now also issues explicit turnOff to
keep parity with the new MGC handleInput semantics where demand<=0
means "off".

Editor preview shades the new hysteresis band; admin endpoint
exposes runtime engaged state.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 11:20:36 +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%