add Dc side config for inverters
This commit is contained in:
parent
075c54d179
commit
dbfb1b3707
|
@ -17,26 +17,27 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
|
||||||
public Double MinSoc { get; set; }
|
public Double MinSoc { get; set; }
|
||||||
public UnixTime LastEoc { get; set; }
|
public UnixTime LastEoc { get; set; }
|
||||||
public Double PConstant { get; set; }
|
public Double PConstant { get; set; }
|
||||||
public Double ForceChargePower { get; set; }
|
|
||||||
public Double ForceDischargePower { get; set; }
|
|
||||||
public Double MaxInverterPower { get; set; }
|
|
||||||
public Double GridSetPoint { get; set; }
|
public Double GridSetPoint { get; set; }
|
||||||
public Double SelfDischargePower { get; set; }
|
public Double BatterySelfDischargePower { get; set; }
|
||||||
public Double HoldSocZone { get; set; }
|
public Double HoldSocZone { get; set; }
|
||||||
public Double ControllerPConstant { get; set; }
|
public Double ControllerPConstant { get; set; }
|
||||||
|
|
||||||
|
public Double MaxDcBusVoltage { get; set; }
|
||||||
|
public Double MinDcBusVoltage { get; set; }
|
||||||
|
public Double ReferenceDcBusVoltage { get; set; }
|
||||||
|
|
||||||
public static Config Default => new()
|
public static Config Default => new()
|
||||||
{
|
{
|
||||||
MinSoc = 20,
|
MinSoc = 20,
|
||||||
LastEoc = UnixTime.Epoch,
|
LastEoc = UnixTime.Epoch,
|
||||||
PConstant = .5,
|
PConstant = .5,
|
||||||
ForceChargePower = 1_000_000,
|
GridSetPoint = -20000,
|
||||||
ForceDischargePower = -1_000_000,
|
BatterySelfDischargePower = 200, // TODO: multiple batteries
|
||||||
MaxInverterPower = 32_000,
|
|
||||||
GridSetPoint = 0.0,
|
|
||||||
SelfDischargePower = 200, // TODO: multiple batteries
|
|
||||||
HoldSocZone = 1, // TODO: find better name,
|
HoldSocZone = 1, // TODO: find better name,
|
||||||
ControllerPConstant = 0.5
|
ControllerPConstant = 0.5,
|
||||||
|
MinDcBusVoltage = 730,
|
||||||
|
ReferenceDcBusVoltage = 750,
|
||||||
|
MaxDcBusVoltage = 770,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue