Change The PV daily Power to the last reading instead of Max value
This commit is contained in:
parent
1efefc6af4
commit
14038cd13d
|
@ -342,7 +342,7 @@ public static class Aggregator
|
||||||
ChargingBatteryPower = batteryChargePower.Any() ? batteryChargePower.Average() : 0.0,
|
ChargingBatteryPower = batteryChargePower.Any() ? batteryChargePower.Average() : 0.0,
|
||||||
GridExportPower = gridPowerExport.Any() ? gridPowerExport.Sum() : 0.0,
|
GridExportPower = gridPowerExport.Any() ? gridPowerExport.Sum() : 0.0,
|
||||||
GridImportPower = gridPowerImport.Any() ? gridPowerImport.Sum() : 0.0,
|
GridImportPower = gridPowerImport.Any() ? gridPowerImport.Sum() : 0.0,
|
||||||
PvPower = pvPower.Any() ? pvPower.Max() : 0.0,
|
PvPower = pvPower.Any() ? pvPower.Last() : 0.0,
|
||||||
HeatingPower = heatingPowerAvg.Any() ? heatingPowerAvg.Average() : 0.0,
|
HeatingPower = heatingPowerAvg.Any() ? heatingPowerAvg.Average() : 0.0,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue