Skip to content

Applying arbitrary temperature and voltage profiles in an experiment step #4200

@valentinsulzer

Description

@valentinsulzer

Discussed in #4173

Originally posted by jhthompson12 June 12, 2024
Hello,

I have a few years of operational cell data, specifically cell voltage and ambient temperature, that I would like to use as the drive cycle input for a PyBaMM simulation via pybamm.step.voltage

Im breaking my simulation into daily experiment cycles where I create a pybamm.step.voltage(drive_cycle) step for each day with the time series voltage data for that day. Is there a way to also include the timeseries ambient temperature data as an input to the experiment?

I see that there is a temperature kwarg that can be provided to pybamm.step.voltage, but it looks like this can only be a fixed value?

temperature (float or string, optional) – The temperature of the step. If a float, the value is in Kelvin. If a string, the value should be a valid temperature string, e.g. “25 oC”.temperature (float or string, optional) – The temperature of the step. If a float, the value is in Kelvin. If a string, the value should be a valid temperature string, e.g. “25 oC”.temperature (float or string, optional) – The temperature of the step. If a float, the value is in Kelvin. If a string, the value should be a valid temperature string, e.g. “25 oC”.

Is it possible to define this as a timeseries like I am able to do with the voltage profile that I provide to pybamm.step.voltage as a numpy array with a time and voltage column?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions