Skip to content

Inlcude contact resistance in plot_voltage_components #5050

Open
@rtimms

Description

@rtimms

Description

If the model includes contact resistance, then there isn't a shaded area corresponding to the IR drop from the contact resistance, so there is a gap between the total voltage and the sum of the overpotentials and OCV.

model = pybamm.lithium_ion.SPMe({"contact resistance": "true"})
parameter_values = pybamm.ParameterValues("Chen2020")
parameter_values.update({"Contact resistance [Ohm]": 5e-3}, check_already_exists=False)
experiment = pybamm.Experiment(
    [
        "Discharge at 1C until 2.5 V",
    ]
)
sim = pybamm.Simulation(model, parameter_values=parameter_values, experiment=experiment)
solution = sim.solve()
pybamm.plot_voltage_components(solution)

Image

Motivation

No response

Possible Implementation

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions