Change Dc link Window Voltage

This commit is contained in:
atef 2023-06-30 10:29:50 +02:00
parent da38aa7b83
commit 5dfd8e69b4
1 changed files with 5 additions and 5 deletions

View File

@ -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;
}
}