Delete the Socavg
This commit is contained in:
parent
180529bf40
commit
b0bd8fb3e2
|
@ -141,10 +141,6 @@ public static class Aggregator
|
|||
batterySoc.Add(value);
|
||||
break;
|
||||
|
||||
case "/AvgSoc":
|
||||
batteryAvgSoc.Add(value);
|
||||
break;
|
||||
|
||||
case "/PvOnDc/Dc/Power" or "/SumPvPower":
|
||||
pvPowerAverage.Add(value);
|
||||
break;
|
||||
|
@ -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,
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue