A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

BattMo

The Battery Modelling Toolbox (BattMo) is a resource for continuum modelling of electrochemical devices in MATLAB.
https://github.com/BattMoTeam/BattMo

Category: Energy Storage
Sub Category: Battery

Keywords from Contributors

automatic-differentiation blackoil co2-sequestration compositional finite-volume multiscale porous-media-flow reservoir-simulation

Last synced: about 20 hours ago
JSON representation

Repository metadata

Continuum modelling for electrochemical devices.

readme.rst

          ==========================================================================
 BattMo is a framework for continuum modelling of electrochemical devices.
==========================================================================

.. |zenodo| image:: https://zenodo.org/badge/410005581.svg
   :target: https://zenodo.org/badge/latestdoi/410005581

.. |runGitHubTests| image:: https://github.com/BattMoTeam/BattMo/actions/workflows/runGitHubTests.yml/badge.svg

.. |doc| image:: https://github.com/BattMoTeam/BattMo/actions/workflows/doc.yml/badge.svg

|zenodo| |runGitHubTests| |doc|

The Battery Modelling Toolbox (**BattMo**) is a resource for continuum modelling of electrochemical devices in MATLAB. The initial development features a pseudo X-dimensional (PXD) framework for the Doyle-Fuller-Newman model of lithium-ion battery cells. However, the development plan for BattMo includes extensions to other battery chemistries (e.g. metal-air) and eventually hydrogen systems (i.e. electrolyzers and fuel cells).

**BattMo** offers users a flexible framework for building fully coupled electrochemical-thermal simulations of electrochemical devices using 1D, 2D, or 3D geometries. **BattMo** is implemented in MATLAB and builds on the open-source MATLAB Reservoir Simulation Toolbox (`MRST `_) developed at SINTEF. MRST provides a solid basis for finite volume grid generation of complex geometries and advanced numerical solvers that enable fast simulations for large systems.

For the latest information including video tutorials and project gallery, please visit the project webpage:
`https://batterymodel.com `_

The documentation is found at the `documentation webpage `_. We try to do our best to keep it up-to-date.

.. raw:: html

   

Installation
------------

Before cloning this reposity you must make sure you have **Git LFS** installed. See `https://git-lfs.com` for instructions on downloading and installation.

BattMo is based on `MRST `_, which provides a general unstructured grid format,
generic MATLAB automatic differentiation tools and Newton solvers. The MRST source code wil be installed directly via
**git submodules**. To install BattMo, you have therefore to clone this repository with the submodule option
``--recurse-submodules``, as follows:

``git clone --recurse-submodules https://github.com/BattMoTeam/BattMo.git``

Then start MATLAB and in the directory where you cloned the repository, run:

``startupBattMo``

You can check that that your installation is setup correctly by running one of the example scripts:

``runBatteryP2D``

Update
------

To update you code after you installed it as described above, use the standard :code:`git pull` command.

If your initial installation has been done before November 7th 2024, we recommend to start the installation all over
again.

Iterative solvers
-----------------

Iterative solvers are needed to solve large problems with many degrees
of freedom. The 2012 **open source** version of the `AGMG
`_ iterative solver is provided as a
`submodule `_, as well as `AMGCL
`_ are supported.

Tutorials
---------

Tutorials are presented in `documentation `_.

Acknowledgements
-----------------
BattMo has received funding from the European Union’s Horizon 2020 innovation program under grant agreement numbers:

* 875527 HYDRA
* 957189 BIG-MAP
* 101104013 BATMAX
* 101103997 DigiBatt 
* 101069765 IntelLiGent

        

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "BattMo: The Battery Modelling Toolbox"
version: 0.3.0
date-released: 2024-02-08
url: "https://github.com/BattMoTeam/BattMo"
doi: "10.5281/zenodo.10633682"
authors:
  - given-names: Simon
    family-names: Clark
  - given-names: Eibar
    family-names: Flores
  - given-names: Lorena
    family-names: Hendrix
  - given-names: August
    family-names: Johansson
  - given-names: Sridevi
    family-names: Krishnamurthi
  - given-names: Halvor
    family-names: Moll Nilsen
  - given-names: Xavier
    family-names: Raynaud
  - given-names: Francesca
    family-names: Watson

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 3,926
Total Committers: 11
Avg Commits per committer: 356.909
Development Distribution Score (DDS): 0.185

Commits in past year: 607
Committers in past year: 6
Avg Commits per committer in past year: 101.167
Development Distribution Score (DDS) in past year: 0.161

Name Email Commits
Xavier Raynaud x****d@g****m 3201
August Johansson a****n@s****o 431
hnil H****n@s****o 58
Lorena Hendrix l****3@g****m 52
Francesca Watson f****n@s****o 52
Simon Clark s****k@s****o 48
Sridevi Krishnamurthi s****i@s****o 26
Timothee-deB t****y@p****u 17
Andreas Solheim s****m@p****n 15
Erasdna s****s@g****m 13
hnil h****n@s****o 13

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 13
Total pull requests: 10
Average time to close issues: 5 months
Average time to close pull requests: 14 days
Total issue authors: 5
Total pull request authors: 3
Average comments per issue: 0.15
Average comments per pull request: 0.2
Merged pull request: 7
Bot issues: 0
Bot pull requests: 0

Past year issues: 2
Past year pull requests: 7
Past year average time to close issues: N/A
Past year average time to close pull requests: 24 days
Past year issue authors: 2
Past year pull request authors: 2
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.0
Past year merged pull request: 4
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/BattMoTeam/BattMo

Top Issue Authors

  • jsimonclark (6)
  • xavierr (3)
  • augustjohansson (2)
  • bska (1)
  • sksintef (1)

Top Pull Request Authors

  • sksintef (4)
  • jsimonclark (3)
  • xavierr (3)

Top Issue Labels

  • enhancement (4)
  • bug (3)

Top Pull Request Labels

Score: 6.329720905522697