|
foxBMS-UnitTests
1.0.0
The foxBMS Unit Tests API Documentation
|
Go to the documentation of this file.
57 #ifndef FOXBMS__STATE_ESTIMATION_H_
58 #define FOXBMS__STATE_ESTIMATION_H_
74 extern void SOC_Init(
bool cc_present, uint8_t stringNumber);
96 extern void SOE_Init(
bool ec_present, uint8_t stringNumber);
void SOC_Calculation(void)
integrates current over time to calculate SOC.
float SOC_GetFromVoltage(int16_t voltage_mV)
look-up table for SOC initialization (average, min and max).
void SOE_Calculation(void)
calculates state-of-energy (SOE)
void SOH_Calculation(void)
calculates state-of-health (SOH)
void SOE_Init(bool ec_present, uint8_t stringNumber)
initializes startup state-of-energy (SOE) related values
void SOH_Init(void)
initializes startup state-of-health related values
void SOC_Init(bool cc_present, uint8_t stringNumber)
initializes startup SOC-related values like lookup from nonvolatile ram at startup