diff --git a/Core/Inc/soc_estimation.h b/Core/Inc/soc_estimation.h index f341836..237d92e 100644 --- a/Core/Inc/soc_estimation.h +++ b/Core/Inc/soc_estimation.h @@ -7,12 +7,12 @@ extern uint8_t current_soc; #define N_MODELPARAMETERS 11 -#define BATTERYCAPACITYAs (21000.0*3600) //TODO Check if value is correct Cap in Ah * 3600 (Convert to As) +#define BATTERYCAPACITYAs (20000.0*3600) //TODO Check if value is correct Cap in Ah * 3600 (Convert to As) void soc_init(); void soc_update(int32_t shunt_current); -void soe_update(); +float soe_update(); void soap_update(); #endif // INC_SOC_ESTIMATION_H