Skip to content

Feature: Add Positive and Negative EIS calculation - #5648

Open
Ombrini wants to merge 7 commits into
pybamm-team:mainfrom
Ombrini:three_electrode_eis
Open

Feature: Add Positive and Negative EIS calculation#5648
Ombrini wants to merge 7 commits into
pybamm-team:mainfrom
Ombrini:three_electrode_eis

Conversation

@Ombrini

@Ombrini Ombrini commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Adds three-electrode EIS support to pybamm.EISSimulation.

When three_electrodes=True, EISSimulation now inserts a default reference electrode at the separator midpoint if one has not already been inserted. The EIS setup promotes the positive and negative 3E potentials to algebraic probe variables, returns named impedance components in the EISSolution, and keeps the default solution.impedance as the cell impedance.

EISSolution.nyquist_plot() now detects three-electrode impedance components and plots the cell, positive electrode, and negative electrode curves together.

Type of change

Feature.

Important checks:

Please confirm the following before marking the PR as ready for review:

  • No style issues: nox -s pre-commit
  • All tests pass: nox -s tests
  • The documentation builds: nox -s doctests
  • Code is commented for hard-to-understand areas
  • Tests added that prove fix is effective or that feature works

@Ombrini
Ombrini requested a review from a team as a code owner July 14, 2026 17:22
Ombrini added 2 commits July 14, 2026 19:24
Brings in the Read the Docs fix (pybamm-team#5659), which fetches the
SUNDIALS/SuiteSparse submodules so pybammsolvers builds from source.

Resolves the CHANGELOG.md conflict by keeping the three-electrode EIS
entry alongside the new upstream entries, and corrects its PR link.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant