sox.filter.coulomb_count¶
Module Contents¶
Classes¶
Coulomb counting for estimating the state of charge (SOC) of a battery. |
|
Coulomb counting for estimating the state of charge (SOC) of a battery. |
- class sox.filter.coulomb_count.CoulombCount(initial_soc: float, capacity: float, sampling_time: float)¶
Coulomb counting for estimating the state of charge (SOC) of a battery.
- Parameters:
initial_soc (float) – Initial state of charge (SOC) of the battery.
capacity (float) – Capacity of the battery in Ah.
sampling_time (float) – Sampling time in seconds.
- initial_soc¶
Initial state of charge (SOC) of the battery.
- Type:
float
- capacity¶
Capacity of the battery in Ah.
- Type:
float
- sampling_time¶
Sampling time in seconds.
- Type:
float
- soc¶
Current state of charge (SOC) of the battery.
- Type:
float
- predict(current: float)¶
Predicts the state of charge (SOC) of the battery.
- Parameters:
current (float) – Current of the battery in A.
- reset()¶
Resets the state of charge (SOC) of the battery.
- class sox.filter.coulomb_count.CoulombCountVariableCapacity(initial_soc: float, sampling_time: float)¶
Coulomb counting for estimating the state of charge (SOC) of a battery.
- Parameters:
initial_soc (float) – Initial state of charge (SOC) of the battery.
sampling_time (float) – Sampling time in seconds.
- initial_soc¶
Initial state of charge (SOC) of the battery.
- Type:
float
- sampling_time¶
Sampling time in seconds.
- Type:
float
- soc¶
Current state of charge (SOC) of the battery.
- Type:
float
- predict(current: float, capacity: float)¶
Predicts the state of charge (SOC) of the battery.
- Parameters:
current (float) – Current of the battery in A.
capacity (float) – Capacity of the battery in Ah.
- reset()¶
Resets the state of charge (SOC) of the battery.