pydpeet.extract_ocv_iocv#

pydpeet.extract_ocv_iocv(min_pause_lenght=120, min_loops=70, visualize=True, df_primitives=None, df=None, config=None)[source]#

Compute iOCV blocks from given DataFrames.

Parameters:
  • min_pause_lenght (float) – The minimum length of a pause in seconds.

  • min_loops (float) – The minimum number of unique IDs.

  • visualize (bool) – Whether to visualize the iOCV curves.

  • df_primitives (DataFrame) – The DataFrame containing the primitives.

  • df (DataFrame) – The original DataFrame.

  • soc_max_voltage (float) – The maximum voltage of the battery.

  • soc_min_voltage (float) – The minimum voltage of the battery.

  • soc_c_ref (float) – The reference capacity of the battery.

  • config (BatteryConfig)

Returns:

A DataFrame containing all iOCV blocks.

Return type:

pd.DataFrame