pydpeet.add_equivalent_full_cycles#
- pydpeet.add_equivalent_full_cycles(df, config=None, verbose=True)[source]#
Calculate equivalent full cycles from absolute charge throughput and capacity reference.
Equivalent full cycles are calculated as the absolute charge throughput divided by two times the capacity reference, so that every full cycle is counted as one cycle.
- Parameters:
df (pandas.DataFrame): Input DataFrame containing battery test data config (BatteryConfig, optional): Configuration for the battery. Defaults to BATTERY_DEFAULT
- Returns:
pandas.DataFrame: DataFrame with added ‘EquivalentFullCycles’ column