Update generalFunctions dependency and fix effluent handling in liquidFlowHandler

This commit is contained in:
2025-09-19 13:09:22 +02:00
parent 5c1a5a3be5
commit 01e88466b9
3 changed files with 5 additions and 4 deletions

View File

@@ -16,11 +16,12 @@ class liquidFlowHandler {
this.getPumpFlow();
let effluent = this.reactors[1].getEffluent;
effluent.payload.F = this.flow;
effluent.payload.inlet = 1;
this.reactors[0].setInfluent = effluent;
}
getPumpFlow() {
this.flow = this.pump.measurements.type("flow").variant("predicted").position("atEquipment").getCurrentValue();
this.flow = this.pump.measurements.type("flow").variant("measured").position("atEquipment").getCurrentValue() || 0;
}
getOutput() {