pyprobe.analysis.pulsing#

A module for the Pulsing class.

Functions

get_ocv_curve(input_data)

Filter down a pulsing experiment to the points representing the cell OCV.

get_resistances(input_data[, r_times])

Returns a result object summarising the pulsing experiment.

Classes

Pulsing(*, input_data)

A pulsing experiment in a battery procedure.

get_ocv_curve(input_data)#

Filter down a pulsing experiment to the points representing the cell OCV.

Parameters:

input_data (RawData | Procedure | Experiment | Cycle | Step | Result) – The input data for the pulsing experiment.

Returns:

A new Result object containing the OCV curve.

Return type:

Result

get_resistances(input_data, r_times=[])#

Returns a result object summarising the pulsing experiment.

Parameters:
  • input_data (RawData | Procedure | Experiment | Cycle | Step | Result) – The input data for the pulsing experiment. Must contain the columns: - Current [A] - Voltage [V] - Time [s] - Event - SOC

  • r_times (list[float | int]) – A list of times (in seconds) after each pulse at which to evaluate the cell resistance.

Returns:

A result object containing key summary statistics for a pulsing experiment. Includes: - Experiment Capacity [Ah] - SOC - OCV [V] - R0 [Ohms], calculated from the OCV and the first data point in the pulse where the current is within 1% of the median pulse current - Resistance calculated at each time provided in seconds in the r_times argument

Return type:

Result

class Pulsing(*, input_data)#

Bases: BaseModel

A pulsing experiment in a battery procedure.

Parameters:

input_data (Experiment)

input_data: Experiment#

The input data for the pulsing experiment.

pulse(pulse_number)#

Return a step object for a pulse in the pulsing experiment.

Parameters:

pulse_number (int) – The Pulse Number to return.

Returns:

A step object for a pulse in the pulsing experiment.

Return type:

Step

model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

pulse_rest(rest_number)#

Return a step object for a rest in the pulsing experiment.

Parameters:

rest_number (int) – The rest number to return.

Returns:

A step object for a rest in the pulsing experiment.

Return type:

Step