From f3bbf63602ff6d4f7bd9d073422245c6e40e4e0e Mon Sep 17 00:00:00 2001 From: "p.vanderwilt" Date: Fri, 14 Nov 2025 12:55:34 +0100 Subject: [PATCH] Add return pump update in reactor state change --- src/specificClass.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/specificClass.js b/src/specificClass.js index 6378307..ead9800 100644 --- a/src/specificClass.js +++ b/src/specificClass.js @@ -228,6 +228,10 @@ class Reactor { } this.currentTime += n_iter * this.timeStep * DAY2MS / this.speedUpFactor; this.emitter.emit("stateChange", this.currentTime); + + if (this.returnPump) { + this.returnPump.updateSourceSink(); + } } } }