Increase the minimum charge current to 20 A by battery when there is monomerLowVoltage or high Voltage
This commit is contained in:
parent
b9a7c0859a
commit
2f0134d22f
|
|
@ -58,7 +58,7 @@ internal static class Program
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
private const String SwVersionNumber =" V1.34.210825 beta";
|
private const String SwVersionNumber =" V1.35.220925 beta";
|
||||||
private static Boolean _curtailFlag = false;
|
private static Boolean _curtailFlag = false;
|
||||||
private const String VpnServerIp = "10.2.0.11";
|
private const String VpnServerIp = "10.2.0.11";
|
||||||
private static Boolean _subscribedToQueue = false;
|
private static Boolean _subscribedToQueue = false;
|
||||||
|
|
@ -281,6 +281,7 @@ internal static class Program
|
||||||
//record.PerformLed();
|
//record.PerformLed();
|
||||||
|
|
||||||
WriteControl(record);
|
WriteControl(record);
|
||||||
|
record.Battery.Eoc.WriteLine(" Total EOC");
|
||||||
|
|
||||||
$"{record.StateMachine.State}: {record.StateMachine.Message}".WriteLine();
|
$"{record.StateMachine.State}: {record.StateMachine.Message}".WriteLine();
|
||||||
$"{DateTime.Now.Round(UpdateInterval).ToUnixTime()} : {DateTime.Now.Round(UpdateInterval):dd/MM/yyyy HH:mm:ss} : {SwVersionNumber}".WriteLine();
|
$"{DateTime.Now.Round(UpdateInterval).ToUnixTime()} : {DateTime.Now.Round(UpdateInterval):dd/MM/yyyy HH:mm:ss} : {SwVersionNumber}".WriteLine();
|
||||||
|
|
@ -454,7 +455,7 @@ internal static class Program
|
||||||
// Deligreen upper current limitation dynCCL
|
// Deligreen upper current limitation dynCCL
|
||||||
if ( dcCount != 0 && r.Battery.MonomerHighVoltageAlarm )
|
if ( dcCount != 0 && r.Battery.MonomerHighVoltageAlarm )
|
||||||
{
|
{
|
||||||
maxBatteryChargingCurrentLiveByDcDc = 10.0 / dcCount ; // Max charging current is 10 A * Number of batteries
|
maxBatteryChargingCurrentLiveByDcDc = 20.0 / dcCount ; // Max charging current is 10 A * Number of batteries
|
||||||
Console.WriteLine("dynCCL Active: Max Charging current for one Battery is "+ maxBatteryChargingCurrentLiveByDcDc * dcCount); // multiply by dcCount for display purpose
|
Console.WriteLine("dynCCL Active: Max Charging current for one Battery is "+ maxBatteryChargingCurrentLiveByDcDc * dcCount); // multiply by dcCount for display purpose
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -465,7 +466,7 @@ internal static class Program
|
||||||
// Deligreen lower current limitation dynDCL
|
// Deligreen lower current limitation dynDCL
|
||||||
if ( dcCount != 0 && r.Battery.MonomerLowVoltageAlarm )
|
if ( dcCount != 0 && r.Battery.MonomerLowVoltageAlarm )
|
||||||
{
|
{
|
||||||
maxBatteryDischargingCurrentLivebyDcDc = 10.0 / dcCount ; // Max discharging current is 10 A * Number of batteries
|
maxBatteryDischargingCurrentLivebyDcDc = 20.0 / dcCount ; // Max discharging current is 10 A * Number of batteries
|
||||||
Console.WriteLine("dynDCL Active: Max disCharging current for one Battery is "+ maxBatteryDischargingCurrentLivebyDcDc * dcCount); // multiply by dcCount for display purpose
|
Console.WriteLine("dynDCL Active: Max disCharging current for one Battery is "+ maxBatteryDischargingCurrentLivebyDcDc * dcCount); // multiply by dcCount for display purpose
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue