Class AbstractBatteryProtectionDefinitionSoltaro
java.lang.Object
io.openems.edge.battery.soltaro.common.batteryprotection.AbstractBatteryProtectionDefinitionSoltaro
- All Implemented Interfaces:
BatteryProtectionDefinition
- Direct Known Subclasses:
BatteryProtectionDefinitionSoltaro3000Wh
,BatteryProtectionDefinitionSoltaro3500Wh
public abstract class AbstractBatteryProtectionDefinitionSoltaro
extends Object
implements BatteryProtectionDefinition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal PolyLine
Defines the Temperature-to-Percent limits for Charging.final PolyLine
Defines the Temperature-to-Percent limits for Discharging.final PolyLine
Defines the Voltage-to-Percent limits for Discharging.final ForceCharge.Params
Defines the parameters for Force-Charge mode.final ForceDischarge.Params
Defines the parameters for Force-Discharge mode.final int
Defines the (estimated) maximum expected Charge current.final int
Defines the (estimated) maximum expected Charge current.final Double
Limits the maximum increase in [A] per second.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.openems.edge.battery.protection.BatteryProtectionDefinition
getChargeVoltageToPercent
-
Constructor Details
-
AbstractBatteryProtectionDefinitionSoltaro
public AbstractBatteryProtectionDefinitionSoltaro()
-
-
Method Details
-
getInitialBmsMaxEverChargeCurrent
public final int getInitialBmsMaxEverChargeCurrent()Description copied from interface:BatteryProtectionDefinition
Defines the (estimated) maximum expected Charge current.This is used as a reference for percentage values in Voltage-To-Percent and Temperature-To-Percent definitions. If during runtime a higher value is provided, that one is taken from then on.
- Specified by:
getInitialBmsMaxEverChargeCurrent
in interfaceBatteryProtectionDefinition
- Returns:
- the (estimated) maximum expected Charge current in [A]
-
getInitialBmsMaxEverDischargeCurrent
public final int getInitialBmsMaxEverDischargeCurrent()Description copied from interface:BatteryProtectionDefinition
Defines the (estimated) maximum expected Charge current.This is used as a reference for percentage values in Voltage-To-Percent and Temperature-To-Percent definitions. If during runtime a higher value is provided, that one is taken from then on.
- Specified by:
getInitialBmsMaxEverDischargeCurrent
in interfaceBatteryProtectionDefinition
- Returns:
- the (estimated) maximum expected Charge current in [A]
-
getDischargeVoltageToPercent
Description copied from interface:BatteryProtectionDefinition
Defines the Voltage-to-Percent limits for Discharging.Voltage values are in [mV], Percentage in [0,1].
- Specified by:
getDischargeVoltageToPercent
in interfaceBatteryProtectionDefinition
- Returns:
- a
PolyLine
-
getChargeTemperatureToPercent
Description copied from interface:BatteryProtectionDefinition
Defines the Temperature-to-Percent limits for Charging.Temperature values are in [degC], Percentage in [0,1].
- Specified by:
getChargeTemperatureToPercent
in interfaceBatteryProtectionDefinition
- Returns:
- a
PolyLine
-
getDischargeTemperatureToPercent
Description copied from interface:BatteryProtectionDefinition
Defines the Temperature-to-Percent limits for Discharging.Temperature values are in [degC], Percentage in [0,1].
- Specified by:
getDischargeTemperatureToPercent
in interfaceBatteryProtectionDefinition
- Returns:
- a
PolyLine
-
getForceDischargeParams
Description copied from interface:BatteryProtectionDefinition
Defines the parameters for Force-Discharge mode.- Specified by:
getForceDischargeParams
in interfaceBatteryProtectionDefinition
- Returns:
- the parameters
-
getForceChargeParams
Description copied from interface:BatteryProtectionDefinition
Defines the parameters for Force-Charge mode.- Specified by:
getForceChargeParams
in interfaceBatteryProtectionDefinition
- Returns:
- the ForceChargeParams
-
getMaxIncreaseAmperePerSecond
Description copied from interface:BatteryProtectionDefinition
Limits the maximum increase in [A] per second. Decrease is never limited for safety reasons.- Specified by:
getMaxIncreaseAmperePerSecond
in interfaceBatteryProtectionDefinition
- Returns:
- the limit or null
-