Skip to content

Add example notebooks#10

Open
DavidMStraub wants to merge 2 commits intopathsim:masterfrom
DavidMStraub:example_notebooks
Open

Add example notebooks#10
DavidMStraub wants to merge 2 commits intopathsim:masterfrom
DavidMStraub:example_notebooks

Conversation

@DavidMStraub
Copy link
Copy Markdown
Collaborator

(fixes #6)

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Jupyter notebook examples under docs/source/examples to address #6 by providing practical, theory-backed walkthroughs of PathSim-Batt usage (SPMe monolithic simulation, external electrothermal coupling, and DFN co-simulation patterns).

Changes:

  • Added an SPMe constant-current discharge example notebook using CellElectrothermal.
  • Added an external electrothermal feedback example wiring CellElectrical to LumpedThermal.
  • Added a DFN-focused co-simulation notebook demonstrating CellCoSim* blocks and macro-step effects.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
docs/source/examples/01_spme_discharge.ipynb New SPMe discharge example showing monolithic PathSim integration and plotting of V/T/SOC.
docs/source/examples/02_electrothermal_coupling.ipynb New external thermal coupling example demonstrating a closed-loop wiring of CellElectricalLumpedThermal.
docs/source/examples/03_dfn_cosimulation.ipynb New DFN co-simulation example illustrating DAE-capable co-sim blocks and macro-step accuracy effects.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/source/examples/02_electrothermal_coupling.ipynb
Comment thread docs/source/examples/01_spme_discharge.ipynb Outdated
Comment thread docs/source/examples/02_electrothermal_coupling.ipynb Outdated
Comment thread docs/source/examples/03_dfn_cosimulation.ipynb Outdated
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.

examples

2 participants