Tutorial 00 - Setup#
First install the project and import it, to use our functions and classes:
Hint: Install the Project using pip install pydpeet or using uv install pydpeet inside your console. Some IDEs also allow right clicking and selecting install for new packages
[1]:
import pydpeet as eet
Example:#
Hint: You can access our functions and classes using “eet.FunctionName()” or “eet.ClassName”
Class objects:
[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)
Functions:
[3]:
from pathlib import Path
eet.set_logging_style("ERROR")
eet.read(
input_path=str(Path.cwd().parent.parent / "res" / "raw_data_from_cyclers" / "Cal_Ageing_Checkup1.xlsx"),
config=eet.ReadConfig.Neware_8_0_0_516,
).head(6)
[3]:
| Meta_Data | Step_Count | Voltage[V] | Current[A] | Temperature[°C] | Test_Time[s] | Date_Time | EIS_f[Hz] | EIS_Z_Real[Ohm] | EIS_Z_Imag[Ohm] | EIS_DC[A] | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.0 | 20240201100904-CheckUp-3-7-AM23NMC00009.xlsx U... | 0 | 3.5269 | 1.4378 | 27.8 | 0.0 | 2024-02-01 10:09:04 | None | None | None | None |
| 1.0 | None | 0 | 3.5287 | 1.4398 | 27.8 | 1.0 | 2024-02-01 10:09:05 | None | None | None | None |
| 2.0 | None | 0 | 3.5298 | 1.4400 | 27.8 | 2.0 | 2024-02-01 10:09:06 | None | None | None | None |
| 3.0 | None | 0 | 3.5307 | 1.4400 | 27.8 | 3.0 | 2024-02-01 10:09:07 | None | None | None | None |
| 4.0 | None | 0 | 3.5315 | 1.4401 | 27.8 | 4.0 | 2024-02-01 10:09:08 | None | None | None | None |
| 5.0 | None | 0 | 3.5323 | 1.4401 | 27.8 | 5.0 | 2024-02-01 10:09:09 | None | None | None | None |