55 #ifndef FOXBMS__SOF_TRAPEZOID_H_
56 #define FOXBMS__SOF_TRAPEZOID_H_
117 #ifdef UNITY_UNIT_TEST
118 extern void TEST_SOF_CalculateVoltageBasedCurrentLimit(
119 int16_t minimumCellVoltage_mV,
120 int16_t maximumCellVoltage_mV,
124 extern void TEST_SOF_CalculateTemperatureBasedCurrentLimit(
125 int16_t minimumCellTemperature_ddegC,
126 int16_t maximumCellTemperature_ddegC,
void SOF_Calculation(void)
triggers SOF calculation
void SOF_Init(void)
initializes the area for SOF (where derating starts and is fully active).
Header for SOF configuration.
float_t peakChargeCurrent_mA
float_t continuousChargeCurrent_mA
float_t continuousDischargeCurrent_mA
float_t peakDischargeCurrent_mA
float_t offsetHighTemperatureCharge
float_t slopeHighTemperatureCharge
float_t offsetLowTemperatureCharge
float_t offsetLowTemperatureDischarge
float_t offsetLowerCellVoltage
float_t offsetHighTemperatureDischarge
float_t slopeLowTemperatureCharge
float_t slopeHighTemperatureDischarge
float_t slopeUpperCellVoltage
float_t offsetUpperCellVoltage
float_t slopeLowTemperatureDischarge
float_t slopeLowerCellVoltage