54 #ifndef FOXBMS__SOF_H_
55 #define FOXBMS__SOF_H_
113 #ifdef UNITY_UNIT_TEST
114 extern void TEST_SOF_CalculateVoltageBasedCurrentLimit(
115 int16_t minimumCellVoltage_mV,
116 int16_t maximumCellVoltage_mV,
120 extern void TEST_SOF_CalculateTemperatureBasedCurrentLimit(
121 int16_t minimumCellTemperature_ddegC,
122 int16_t maximumCellTemperature_ddegC,
void SOF_Calculation(void)
triggers SOF calculation
struct SOF_CURRENT_LIMITS SOF_CURRENT_LIMITS_s
struct SOF_CURVE SOF_CURVE_s
void SOF_Init(void)
initializes the area for SOF (where derating starts and is fully active).
Header for SOF configuration.
float peakDischargeCurrent_mA
float peakChargeCurrent_mA
float continuousDischargeCurrent_mA
float continuousChargeCurrent_mA
float slopeHighTemperatureDischarge
float offsetLowerCellVoltage
float offsetLowTemperatureCharge
float offsetHighTemperatureDischarge
float slopeUpperCellVoltage
float slopeLowerCellVoltage
float offsetUpperCellVoltage
float slopeLowTemperatureCharge
float slopeLowTemperatureDischarge
float slopeHighTemperatureCharge
float offsetLowTemperatureDischarge
float offsetHighTemperatureCharge