![]() |
semf
|
Interface for using state of health in a battery model. More...
#include <batterystateofhealth.h>
Public Member Functions | |
virtual | ~BatteryStateOfHealth ()=default |
virtual void | updateSoh ()=0 |
virtual T_SOH | soh () const =0 |
Returns the state of health. More... | |
Protected Member Functions | |
virtual void | initSoh (T_SOH lastSoh)=0 |
Initializes the state of health calculation by the last known state of charge after booting. More... | |
virtual void | setSoh (T_SOH soh)=0 |
Sets the state of health. More... | |
Interface for using state of health in a battery model.
T_SOH | Type of state of health in percentage. |
T_VOLTAGE | Type of voltage in V. |
T_CURRENT | Type of current in A. Charging current is positive, discharging is negative. |
T_TEMPERATURE | Type of temperature in °C. |
Definition at line 27 of file batterystateofhealth.h.
|
virtualdefault |
|
protectedpure virtual |
Initializes the state of health calculation by the last known state of charge after booting.
lastSoh | Last known state of health in percent. |
|
protectedpure virtual |
Sets the state of health.
soh | State of health in percent. |
Implemented in semf::app::BatteryModelWithoutDataset< T_CAPACITY, T_SOCSOH, T_VOLTAGE, T_CURRENT, T_TEMPERATURE >.
|
pure virtual |
Returns the state of health.
Implemented in semf::app::BatteryModelWithoutDataset< T_CAPACITY, T_SOCSOH, T_VOLTAGE, T_CURRENT, T_TEMPERATURE >.
|
pure virtual |
Updates the state of health.
Implemented in semf::app::BatteryModelWithoutDataset< T_CAPACITY, T_SOCSOH, T_VOLTAGE, T_CURRENT, T_TEMPERATURE >.