From 75b9136a1dd929aa9b625b2b7c069909e927fb8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20=27MaxMax=27=20M=C3=B6nikes?= Date: Thu, 29 Jun 2023 23:45:03 +0200 Subject: [PATCH] fixed soe function declaration --- Core/Inc/soc_estimation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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