This commit is contained in:
2025-11-18 08:16:50 +01:00
parent 12c61114ba
commit 0a3528ef6b

View File

@@ -115,7 +115,8 @@ class ValveGroupControl {
if (softwareType === 'machinegroup') {
this.logger.info("Total flow change from machineGroupControl detected by valveGroupControl");
//Opslaan nieuwe total flow
this.measurements.type("flow").variant("predicted").position("atEquipment").value(data.value);
let value = data.value * 3.6 ; // convert l/s to m3/h
this.measurements.type("flow").variant("predicted").position("atEquipment").value(value);
// als totalflow van mg veranderd, bereken dan de nieuwe valve flows
this.calcValveFlows();
};