Tutorial 07 - BatteryConfig, battery_config_wrapper#

Step 0: Setup the project and prepare the data#

[1]:
import pydpeet as eet

Step 1: BatteryConfig#

A battery Config cotnains the following parameters:

Hint: You can type in “eet.BatteryConfig.” to see all other availiable BatteryConfig in most IDEs

[2]:
eet.BatteryConfig.DEFAULT
[2]:
_BatteryConfigClass(cell_name='Default', c_ref=None, soc_start=0, max_voltage=4.2, min_voltage=2.5, threshold_current=0.075, voltage_intervall=0.01, minimal_current_for_capacity=-1.2, maximal_current_for_capacity=-0.8, min_current_diff=1, max_time_diff=0.5, min_voltage_diff=0, ignore_negative_resistance_values=False)

Hint: Use battery_config_wrapper to create your own custom BatteryConfig that overwrites the standard values

[3]:
eet.battery_config_wrapper(
    cell_name="Example",
    max_voltage=4.6,
    min_voltage=2.4,
)
[3]:
_BatteryConfigClass(cell_name='Example', c_ref=None, soc_start=0, max_voltage=4.6, min_voltage=2.4, threshold_current=0.075, voltage_intervall=0.01, minimal_current_for_capacity=-1.2, maximal_current_for_capacity=-0.8, min_current_diff=1, max_time_diff=0.5, min_voltage_diff=0, ignore_negative_resistance_values=False)