From 5dfd8e69b4986494fb0938c2f0d8ec1a183dfc66 Mon Sep 17 00:00:00 2001 From: atef Date: Fri, 30 Jun 2023 10:29:50 +0200 Subject: [PATCH] Change Dc link Window Voltage --- csharp/App/SaliMax/src/SystemConfig/Config.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/csharp/App/SaliMax/src/SystemConfig/Config.cs b/csharp/App/SaliMax/src/SystemConfig/Config.cs index 87febfdbd..ea5a82229 100644 --- a/csharp/App/SaliMax/src/SystemConfig/Config.cs +++ b/csharp/App/SaliMax/src/SystemConfig/Config.cs @@ -31,11 +31,11 @@ public class Config //TODO: let IE choose from config files (Json) and connect t LastEoc = UnixTime.Epoch, PConstant = .5, GridSetPoint = 0, - BatterySelfDischargePower = 200, // TODO: multiple batteries + BatterySelfDischargePower = 200, // TODO: multiple batteries // no need as we multiplied by the number of the batteries HoldSocZone = 1, // TODO: find better name, - MinDcBusVoltage = 730, + MinDcBusVoltage = 690, ReferenceDcBusVoltage = 750, - MaxDcBusVoltage = 770, + MaxDcBusVoltage = 810, }; @@ -50,7 +50,7 @@ public class Config //TODO: let IE choose from config files (Json) and connect t } catch (Exception e) { - $"Failed to write config file {configFilePath}\n{e}".Log(); + $"Failed to write config file {configFilePath}\n{e}".LogInfo(); throw; } } @@ -66,7 +66,7 @@ public class Config //TODO: let IE choose from config files (Json) and connect t } catch (Exception e) { - $"Failed to read config file {configFilePath}, using default config\n{e}".Log(); + $"Failed to read config file {configFilePath}, using default config\n{e}".LogInfo(); return Default; } }