From 832565a2641d2f2972b0ca5ffa1acb1b5a10dba6 Mon Sep 17 00:00:00 2001 From: Robert Timms Date: Mon, 23 Jan 2023 10:34:33 +0000 Subject: [PATCH 1/2] add changelog --- CHANGELOG.md | 10 ++++++++++ bpx/__init__.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..09cb697 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# [v0.3.0](https://github.com/pybamm-team/BPX/releases/tag/v0.3.0) + +# [v0.2.0](https://github.com/pybamm-team/BPX/releases/tag/v0.2.0) + +- Parsing a BPX json file with additional (unexpected) fields now raises a `ValidationError` ([#16](https://github.com/pybamm-team/BPX/pull/16)) +- Fixed a bug in the experiment schema ([#13](https://github.com/pybamm-team/BPX/pull/13)) + +# [v0.1.0](https://github.com/pybamm-team/BPX/releases/tag/v0.1.0) + +Initial release of the Battery Parameter eXchange (BPX) format. diff --git a/bpx/__init__.py b/bpx/__init__.py index 716ca6e..1fd45b1 100644 --- a/bpx/__init__.py +++ b/bpx/__init__.py @@ -1,7 +1,7 @@ """BPX schema and parsers""" # flake8: noqa F401 -__version__ = "0.2.0" +__version__ = "0.3.0" from .interpolated_table import InterpolatedTable from .expression_parser import ExpressionParser From e6fb679d528f85657eb9a040107444d3173cf29b Mon Sep 17 00:00:00 2001 From: Robert Timms Date: Mon, 23 Jan 2023 10:38:17 +0000 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09cb697..3d01b26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # [v0.3.0](https://github.com/pybamm-team/BPX/releases/tag/v0.3.0) +- Added a missing factor of 2 in the definition of the interfacial current, see the Butler-Volmer equation (2a) in the associated BPX standard document. The interfacial current is now given by $j=2j_0\sinh(F\eta/2/R/T)$ instead of $j=j_0\sinh(F\eta/2/R/T)$. + # [v0.2.0](https://github.com/pybamm-team/BPX/releases/tag/v0.2.0) - Parsing a BPX json file with additional (unexpected) fields now raises a `ValidationError` ([#16](https://github.com/pybamm-team/BPX/pull/16))