Add max Dc Power in the config file

This commit is contained in:
atef 2023-09-08 09:33:29 +02:00
parent fd52a94d18
commit e58b949160
1 changed files with 11 additions and 4 deletions

View File

@ -22,8 +22,11 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
public required Double HoldSocZone { get; set; } public required Double HoldSocZone { get; set; }
public required DevicesConfig IslandMode { get; set; } public required DevicesConfig IslandMode { get; set; }
public required DevicesConfig GridTie { get; set; } public required DevicesConfig GridTie { get; set; }
public required Double MaxBatteryChargingCurrent { get; set; } public required Double MaxBatteryChargingCurrent { get; set; }
public required Double MaxBatteryDischargingCurrent { get; set; } public required Double MaxBatteryDischargingCurrent { get; set; }
public required Double MaxDcPower { get; set; }
public required Double MaxChargeBatteryVoltage { get; set; } public required Double MaxChargeBatteryVoltage { get; set; }
public required Double MinDischargeBatteryVoltage { get; set; } public required Double MinDischargeBatteryVoltage { get; set; }
@ -76,10 +79,12 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
}, },
}, },
MaxBatteryChargingCurrent = 210, MaxBatteryChargingCurrent = 210,
MaxBatteryDischargingCurrent = 210, MaxBatteryDischargingCurrent = 210,
MaxChargeBatteryVoltage = 57, MaxDcPower = 10000,
MinDischargeBatteryVoltage = 0,
MaxChargeBatteryVoltage = 57,
MinDischargeBatteryVoltage = 0,
Devices = new () Devices = new ()
{ {
TruConvertAcIp = new() { Host = "localhost", Port = 5001}, TruConvertAcIp = new() { Host = "localhost", Port = 5001},
@ -139,6 +144,8 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
MaxBatteryChargingCurrent = 210, MaxBatteryChargingCurrent = 210,
MaxBatteryDischargingCurrent = 210, MaxBatteryDischargingCurrent = 210,
MaxDcPower = 10000,
MaxChargeBatteryVoltage = 57, MaxChargeBatteryVoltage = 57,
MinDischargeBatteryVoltage = 0, MinDischargeBatteryVoltage = 0,
S3 = new() S3 = new()