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