GithubHelp home page GithubHelp logo

markblyth / pybop_develop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pybop-team/pybop

0.0 0.0 1.0 20.08 MB

A parameterisation and optimisation package for battery models.

Home Page: https://pybop-docs.readthedocs.io

License: BSD 3-Clause "New" or "Revised" License

Python 99.61% Shell 0.39%

pybop_develop's Introduction

logo.svg

Python Battery Optimisation and Parameterisation

Scheduled Contributors Last Commit Python Versions from PEP 621 TOML Forks Stars Codecov Open Issues License Open in Colab Static Badge Releases

PyBOP

PyBOP provides a complete set of tools for parameterisation and optimisation of battery models, using both Bayesian and frequentist approaches, with example workflows to assist the user. PyBOP can be used to parameterise various battery models, including electrochemical and equivalent circuit models available in PyBaMM. PyBOP prioritises clear and informative diagnostics for the user, while also allowing for advanced probabilistic methods.

The diagram below shows the conceptual framework of PyBOP. This package is currently under development, so users can expect the API to evolve with future releases.

pybop_arch.svg

Installation

Within your virtual environment, install PyBOP:

pip install pybop

To install the most recent state of PyBOP, install from the develop branch,

pip install git+https://github.com/pybop-team/PyBOP.git@develop

To install a previous version of PyBOP, use the following template and replace the version number:

pip install pybop==v24.3

To check that PyBOP is installed correctly, run one of the examples in the following section. For a development installation, see the Contribution Guide. More installation information is available in our documentation and the extended installation instructions for PyBaMM.

Using PyBOP

PyBOP has two intended uses:

  1. Parameter estimation from battery test data.

  2. Design optimisation under battery manufacturing/use constraints.

These include a wide variety of optimisation problems that require careful consideration due to the choice of battery model, data availability and/or the choice of design parameters.

Notebooks

PyBOP comes with a number of example notebooks, which can be found in the examples folder. A few noteworthy ones are listed below.

Scripts

Additional script-based examples can be found in the examples directory. Some notable scripts are listed below.

Supported Methods

The table below lists the currently supported models, optimisers, and cost functions in PyBOP.

Battery Models Optimization Algorithms Cost Functions
Single Particle Model (SPM) Covariance Matrix Adaptation Evolution Strategy (CMA-ES) Sum of Squared Errors (SSE)
Single Particle Model with Electrolyte (SPMe) Particle Swarm Optimization (PSO) Root Mean Squared Error (RMSE)
Doyle-Fuller-Newman (DFN) Exponential Natural Evolution Strategy (xNES) Gaussian Log Likelihood
Many Particle Model (MPM) Separable Natural Evolution Strategy (sNES) Gaussian Log Likelihood w/ known variance
Multi-Species Multi-Reactants (MSMR) Adaptive Moment Estimation with Weight Decay (AdamW) Maximum a Posteriori (MAP)
Equivalent Circuit Models (ECM) Improved Resilient Backpropagation (iRProp-) Unscented Kalman Filter (UKF)
SciPy Minimize & Differential Evolution Gravimetric Energy Density
Gradient Descent Volumetric Energy Density
Nelder-Mead

Code of Conduct

PyBOP aims to foster a broad consortium of developers and users, building on and learning from the success of the PyBaMM community. Our values are:

  • Inclusivity and fairness (those who wish to contribute may do so, and their input is appropriately recognised)

  • Interoperability (modularity for maximum impact and inclusivity)

  • User-friendliness (putting user requirements first via user-assistance & workflows)

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Brady Planden
Brady Planden

๐Ÿš‡ โš ๏ธ ๐Ÿ’ป ๐Ÿ’ก ๐Ÿ‘€
NicolaCourtier
NicolaCourtier

๐Ÿ’ป ๐Ÿ‘€ ๐Ÿ’ก โš ๏ธ
David Howey
David Howey

๐Ÿค” ๐Ÿง‘โ€๐Ÿซ
Martin Robinson
Martin Robinson

๐Ÿค” ๐Ÿง‘โ€๐Ÿซ ๐Ÿ‘€ ๐Ÿ’ป โš ๏ธ
Ferran Brosa Planella
Ferran Brosa Planella

๐Ÿ‘€ ๐Ÿ’ป
Agriya Khetarpal
Agriya Khetarpal

๐Ÿ’ป ๐Ÿš‡ ๐Ÿ‘€
Faraday Institution
Faraday Institution

๐Ÿ’ต
UK Research and Innovation
UK Research and Innovation

๐Ÿ’ต
EU IntelLiGent Project
IntelLiGent Consortium

๐Ÿ’ต
Muhammed Nedim Sogut
Muhammed Nedim Sogut

๐Ÿ’ป

This project follows the all-contributors specifications. Contributions of any kind are welcome! See CONTRIBUTING.md for ways to get started.

pybop_develop's People

Contributors

bradyplanden avatar nicolacourtier avatar pre-commit-ci[bot] avatar agriyakhetarpal avatar martinjrobins avatar brosaplanella avatar allcontributors[bot] avatar markblyth avatar davidhowey avatar

Forkers

kimjaewon96

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.