When you use a PyBaMM model, solver, or parameter set, the library automatically registers the relevant BibTeX citation keys. You can print all registered citations at the end of your simulation script.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pybamm-team/PyBaMM/llms.txt
Use this file to discover all available pages before exploring further.
pybamm.print_citations
If provided, write citations to this file instead of stdout.
Output format:
"text"— human-readable plain text (viapybtexplain style)"bibtex"— raw BibTeX entries
If
True, annotate each citation with the PyBaMM component that registered it. Only available when writing to stdout (not to a file).print_citations requires the optional pybtex dependency. Install it with pip install pybamm[cite].pybamm.citations.register
Manually register a citation key or an inline BibTeX string.
Either:
- A citation key that exists in
pybamm/CITATIONS.bib(e.g."Chen2020") - A full BibTeX string (e.g.
"@article{MyWork2024, ...}")
CITATIONS.bib
All built-in citation keys are stored in pybamm/CITATIONS.bib. The file uses standard BibTeX format. Some notable keys:
| Key | Description |
|---|---|
Sulzer2021 | The main PyBaMM paper (always registered) |
Harris2020 | NumPy (always registered) |
Marquis2019 | SPM / SPMe paper |
Chen2020 | LG M50 parameter set |
Ai2020 | Ai 2020 parameter set |
Ecker2015 | Ecker 2015 parameter set |
Andersson2019 | CasADi (registered when CasadiSolver is used) |
Virtanen2020 | SciPy (registered when ScipySolver is used) |
jax2018 | JAX (registered when JaxSolver is used) |
Wang2002 | Spectral Volume method |