From 8a6ca1baeb7e20e905c2cd5196d9bfb1c28837ea Mon Sep 17 00:00:00 2001 From: Rene De Ren Date: Tue, 5 May 2026 19:29:34 +0200 Subject: [PATCH 1/7] Level-armed shift, derived dryRunLevel, side-panel editor + manual q_out MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Runtime (specificClass.js): - Replace direction-based hysteresis with level-armed _shiftArmed state. Arms when level rises past shiftLevel; disarms when level drops below startLevel. While armed, ramp foot moves to startLevel and ramp top to shiftLevel — both ends shift left, then saturate at 100 % up to maxLevel. - _scaleLevelToFlowPercent now takes (rampStartLevel, rampTopLevel) so the saturation point follows the shift state. - New setManualOutflow mirroring setManualInflow. Adapter (nodeClass.js): - Pipe enableShiftedRamp / shiftLevel through to control.levelbased. - New q_out topic handler. Editor (pumpingStation.html + new src/editor/ modules): - Split monolithic - + + + + + + + + + + + @@ -127,17 +128,19 @@

Basin parameters

Heights are measured from the basin floor (0 m). Each input on the left controls a line in the diagram on the right — hover an input to highlight its line.

+