55 #ifndef FOXBMS__SOF_TRAPEZOID_H_
56 #define FOXBMS__SOF_TRAPEZOID_H_
114 #ifdef UNITY_UNIT_TEST
115 extern void TEST_SOF_CalculateVoltageBasedCurrentLimit(
116 int16_t minimumCellVoltage_mV,
117 int16_t maximumCellVoltage_mV,
121 extern void TEST_SOF_CalculateTemperatureBasedCurrentLimit(
122 int16_t minimumCellTemperature_ddegC,
123 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 continuousDischargeCurrent_mA
float peakChargeCurrent_mA
float peakDischargeCurrent_mA
float continuousChargeCurrent_mA
float offsetLowTemperatureDischarge
float offsetHighTemperatureCharge
float slopeHighTemperatureDischarge
float offsetHighTemperatureDischarge
float offsetUpperCellVoltage
float slopeHighTemperatureCharge
float slopeUpperCellVoltage
float offsetLowerCellVoltage
float slopeLowerCellVoltage
float offsetLowTemperatureCharge
float slopeLowTemperatureDischarge
float slopeLowTemperatureCharge