diff --git a/csharp/App/SaliMax/src/AggregationService/Aggregator.cs b/csharp/App/SaliMax/src/AggregationService/Aggregator.cs index 690dbaf04..350e4aae6 100644 --- a/csharp/App/SaliMax/src/AggregationService/Aggregator.cs +++ b/csharp/App/SaliMax/src/AggregationService/Aggregator.cs @@ -140,10 +140,6 @@ public static class Aggregator case "/Battery/Soc" or "/MinSoc" or "/MaxSoc": batterySoc.Add(value); break; - - case "/AvgSoc": - batteryAvgSoc.Add(value); - break; case "/PvOnDc/Dc/Power" or "/SumPvPower": pvPowerAverage.Add(value); @@ -199,7 +195,6 @@ public static class Aggregator { MaxSoc = batterySoc.Any() ? batterySoc.Max() : 0.0, MinSoc = batterySoc.Any() ? batterySoc.Min() : 0.0, - AvgSoc = batteryAvgSoc.Any() ? batteryAvgSoc.Average() : 0.0, SumDischargingBatteryPower = batteryDischargePower.Any() ? batteryDischargePower.Sum() : 0.0, SumChargingBatteryPower = batteryChargePower.Any() ? batteryChargePower.Sum() : 0.0, SumGridExportPower = gridPowerExport.Any() ? gridPowerExport.Sum() : 0.0, diff --git a/csharp/App/SaliMax/src/AggregationService/HourlyData.cs b/csharp/App/SaliMax/src/AggregationService/HourlyData.cs index b9eb79ab6..11dc12231 100644 --- a/csharp/App/SaliMax/src/AggregationService/HourlyData.cs +++ b/csharp/App/SaliMax/src/AggregationService/HourlyData.cs @@ -14,7 +14,6 @@ public class AggregatedData { public required Double MinSoc { get; set; } public required Double MaxSoc { get; set; } - public required Double AvgSoc { get; set; } public required Double SumPvPower { get; set; } public required Double SumDischargingBatteryPower { get; set; } public required Double SumChargingBatteryPower { get; set; }