Update generalFunctions dependency and fix effluent handling in liquidFlowHandler
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user