ams-master-23/Core/Inc/soc_estimation.h
Max 'MaxMax' Mönikes c4543e7e01 Implementation of SoC Prediction
untested. Maybe revert to Jaspers Version
2023-06-21 13:13:38 +02:00

19 lines
376 B
C

#ifndef INC_SOC_ESTIMATION_H
#define INC_SOC_ESTIMATION_H
#include <stdint.h>
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)
void soc_init();
void soc_update(int32_t shunt_current);
void soe_update();
void soap_update();
#endif // INC_SOC_ESTIMATION_H