Skip to content
Open
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
7bb4d99
Don't be too strict with func_args longer than symbol.children
agriyakhetarpal Nov 13, 2025
56bd16f
Add a test
agriyakhetarpal Nov 13, 2025
e538149
Merge branch 'develop' into roundtrip-serialisation-fix
agriyakhetarpal Nov 14, 2025
425af11
Add support for uniform grid sizing across subdomains (#720) (#5253)
swastim01 Nov 15, 2025
d24a728
Merge branch 'develop' into roundtrip-serialisation-fix
agriyakhetarpal Nov 15, 2025
6ba2cde
Fix typo in Butler-Volmer equation docstring (#5279)
cnaples79 Nov 16, 2025
e893156
fix bug with bulk ocp lithiation (#5280)
rtimms Nov 18, 2025
6c8cbfd
doc: fix typo in concentration description in notebook (#5284)
gregordecristoforo Nov 19, 2025
af64ddd
Merge pull request #5276 from pybamm-team/main
valentinsulzer Nov 19, 2025
385ae7b
fix: instruct uv to install into system for CI (#5288)
pipliggins Nov 20, 2025
1319b4a
Fix `InputParameter` serialisation (#5289)
MarcBerliner Nov 20, 2025
eda4ebe
Merge branch 'develop' into roundtrip-serialisation-fix
valentinsulzer Nov 20, 2025
86fec31
Merge pull request #5274 from agriyakhetarpal/roundtrip-serialisation…
valentinsulzer Nov 20, 2025
80e1870
Bugfix: inputs for `initial_conditions_from` scale evaluation (#5285)
BradyPlanden Nov 21, 2025
73ab559
Add `silence_sundials_errors` solver option (#5290)
BradyPlanden Nov 24, 2025
593d2aa
Update C-Rate current for changing nominal capacity (#5286)
BradyPlanden Nov 27, 2025
df53205
Update `IDAKLUSolver` error handling (#5291)
MarcBerliner Dec 1, 2025
eb4874a
implement heat equation export
gregordecristoforo Nov 26, 2025
acd163b
Move DiffslExport to evaluate_python.py
gregordecristoforo Nov 27, 2025
1bfa8ca
add tests for DiffSLExport
gregordecristoforo Nov 27, 2025
8bf28e4
rename DiffslExport to DiffSLExport
gregordecristoforo Nov 28, 2025
435a2a1
consider both options for heat flux output
gregordecristoforo Nov 28, 2025
c2502e1
move diffsl code to new file
martinjrobins Nov 29, 2025
b0071da
add spm, spme and dfn tests, apply fixes for these
martinjrobins Dec 10, 2025
955f575
can export dfn and spme, but output is incorrect
martinjrobins Dec 18, 2025
7ac5f59
new input syntax
martinjrobins Jan 13, 2026
524e49a
move model export to integration, tidy up float formattting
martinjrobins Feb 2, 2026
aa6c6fd
merge main
martinjrobins Feb 2, 2026
c9b18dd
update changelog
martinjrobins Feb 2, 2026
772c673
update to new delayed variable pipeline
martinjrobins Feb 2, 2026
4413200
minor fixes, remove dead code
martinjrobins Feb 2, 2026
7e79688
turn off pydiffsol dep for mac intel
martinjrobins Feb 2, 2026
3163a60
Merge branch 'main' into i5262-diffsl-export
martinjrobins Feb 2, 2026
1f9877c
don't use inplace for integration tests
martinjrobins Feb 2, 2026
0ddf5e0
improve coverage
martinjrobins Feb 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Improve the performance of matrix multiplication with CasADi expressions. ([#5351](https://github.com/pybamm-team/PyBaMM/pull/5351))
- Adds option for lists of inputs to `solve` to include input parameters which are used
as initial conditions. ([#5311](https://github.com/pybamm-team/PyBaMM/pull/5311))
- DiffSL export for discretised PyBaMM models. ([#5370](https://github.com/pybamm-team/PyBaMM/pull/5370))

## Bug fixes

Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ dev = [
"importlib-metadata; python_version < '3.10'",
# For property based testing
"hypothesis",
# For diffsl tests
"pydiffsol",
]
jax = ["jax>=0.4.36,<0.7.0"]
# Contains all optional dependencies, except for jax, and dev dependencies
Expand Down
3 changes: 3 additions & 0 deletions src/pybamm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
from .models.event import Event
from .models.event import EventType

# DiffSL export
from .expression_tree.operations.diffsl import DiffSLExport

# Battery models
from .models.full_battery_models.base_battery_model import (
BaseBatteryModel,
Expand Down
Loading
Loading