10#ifndef SEMF_APP_BATTERY_BATTERYSTATEOFHEALTH_H_
11#define SEMF_APP_BATTERY_BATTERYSTATEOFHEALTH_H_
26template <
typename T_SOH,
typename T_VOLTAGE,
typename T_CURRENT,
typename T_TEMPERATURE>
38 virtual T_SOH
soh()
const = 0;
Interface for using state of health in a battery model.
virtual T_SOH soh() const =0
Returns the state of health.
virtual void setSoh(T_SOH soh)=0
Sets the state of health.
virtual void initSoh(T_SOH lastSoh)=0
Initializes the state of health calculation by the last known state of charge after booting.
virtual void updateSoh()=0
virtual ~BatteryStateOfHealth()=default