-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from BattMoTeam/nb01_update
Notebooks clean up
- Loading branch information
Showing
41 changed files
with
2,389 additions
and
1,835 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
189 changes: 120 additions & 69 deletions
189
Documentation/_static/notebooks/tutorial_1_a_simple_p2d_model_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
40 changes: 22 additions & 18 deletions
40
Documentation/_static/notebooks/tutorial_2_changing_control_protocol_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
44 changes: 27 additions & 17 deletions
44
Documentation/_static/notebooks/tutorial_3_modify_structural_parameters_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
97 changes: 58 additions & 39 deletions
97
Documentation/_static/notebooks/tutorial_4_modify_material_parameters_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
277 changes: 261 additions & 16 deletions
277
Documentation/_static/notebooks/tutorial_5_simulate_CCCV_cycling_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
123 changes: 62 additions & 61 deletions
123
Documentation/_static/notebooks/tutorial_6_simulate_thermal_performance_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
77 changes: 69 additions & 8 deletions
77
Documentation/_static/notebooks/tutorial_7_a_simple_p4d_model_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
51 changes: 44 additions & 7 deletions
51
Documentation/_static/notebooks/tutorial_8_simulate_a_multilayer_pouch_cell_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
48 changes: 44 additions & 4 deletions
48
Documentation/_static/notebooks/tutorial_9_simulate_a_cylindrical_cell_live.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
:orphan: | ||
|
||
========== | ||
BattMo GUI | ||
BattMo App | ||
========== | ||
|
||
:todo:`fill in page` | ||
A web-based graphical user-interface of BattMo is under development. At the moment, this application | ||
utilizes the Julia version of BattMo and has the possibility to do simulations using the P2D model. | ||
The application is very easy to use, intuitive and can be easily accessed at `http://app.batterymodel.com/ <http://app.batterymodel.com/>`_. | ||
|
||
.. note:: | ||
This section is still under development. | ||
|
||
This section provides a description on some of its features. | ||
It gives details on some of the calculation that are done within the application, like for example the calculation of the cell mass and specific capacities. | ||
Furthermore, it provides some troubleshooting for when simulations aren't successful or when the results contain unexpected artifacts. | ||
|
||
.. toctree:: | ||
|
||
gui_features | ||
gui_calculations | ||
gui_troubleshooting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
================ | ||
Calculations | ||
================ | ||
Multiple quick calculations are done within the app to calculate certain parameters. | ||
In this section you can find the formulas that belong to these calculations. | ||
|
||
**Effective density** | ||
The effective density of an electrode coating: | ||
|
||
.. math:: | ||
\rho = \sum_i \omega_{i} \rho_i | ||
Here is :math:`\omega_{i}` the mass fraction of an electrode coating material and :math:`\rho_{i}` the density of the same coating material. | ||
|
||
**Mass loading** | ||
The mass loading of an electrode: | ||
|
||
.. math:: | ||
\rho A = d \rho(1-\varepsilon) | ||
Here is :math:`d` the thickness of the electrode coating, :math:`\rho` is the effective density, and :math:`\varepsilon` is the porosity. | ||
|
||
**Specific capacity** | ||
The specific capacity of an active material: | ||
|
||
.. math:: | ||
Q_s = c_{max} |x_{max} - x_{min}| \frac{nF}{\rho} | ||
Here is :math:`c_{max}` the maximum concentration, :math:`x_{max}` and :math:`x_{min}` are the maximum and minimum stoichiometry, | ||
:math:`F` is the Faraday constant, :math:`\rho` the density of the active material, and :math:`n` is the number of electrons transfered. | ||
|
||
|
||
**Capacity** | ||
The capacity of an electrode: | ||
|
||
.. math:: | ||
Q = \omega Q_s \rho V (1-\varepsilon) | ||
Here is :math:`\omega` the mass fraction, :math:`Q_s` is the specific capacity, :math:`\rho` the effective density, :math:`V` is the volume of the electrode, and :math:`\varepsilon` is the porosity. | ||
|
||
The capacity of the cell is the limiting capacity out of the thwo electrode capacities. | ||
|
||
**Cell mass** | ||
The cell mass: | ||
|
||
.. math:: | ||
m = \sum_i m_{i} | ||
:math:`m_i` represents here the mass of the several battery components: negative and positive electrode, separator, electrolyte, current collector, and the packing mass. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
============= | ||
Features | ||
============= | ||
|
||
This section explains some convenient features that the application includes. | ||
|
||
|
||
Use default materials | ||
===================== | ||
The application has some default materials that you can use in your input parameter setup. | ||
These materials are datasets formed from literature. An overview of which materials are available | ||
can be found on the page `Materials and models <http://app.batterymodel.com/Materials_and_models>`_ together with the reference and dataset details. | ||
|
||
Define your own materials | ||
========================= | ||
Did you characterize your own material in the lab, found one in literature, or just simply would like to see how changing material characteristics change the | ||
simulation results? Then you can do this by defining your own material. You can do this on the `Simulation <http://app.batterymodel.com/Simulation>`_ page by selecting 'User defined' in the | ||
a material selectbox. When 'User defined' is selected, an expander will appear where you can fill in your own parameter values. You can still use parameter values from the default materials by copying | ||
the values from the `Materials and models <http://app.batterymodel.com/Materials_and_models>`_ page. | ||
|
||
Visualize your geometry | ||
======================= | ||
We've included a feature on the `Simulation <http://app.batterymodel.com/Simulation>`_ page that visualizes the battery cell geometry depending on the component | ||
thicknesses and porosities, the length, and the width that are defined in the parameter inputs. | ||
|
||
Download your input data | ||
======================== | ||
After defining your parameters on the `Simulation <http://app.batterymodel.com/Simulation>`_ page, you can download them in two different formats. | ||
The first format is the JSON Linked Data format in which the data is structured, together with its metadata, according to the `FAIR data principles <https://www.go-fair.org/fair-principles/>`_ and | ||
the `5 star open data guidelines <https://5stardata.info/en/>`_ in order to improve interoperability. | ||
In the second format, the input data is structured according to the |battmo| format. | ||
|
||
Visualize and download your results | ||
=================================== | ||
After a simulation has finished, the results can immediatly be Visualized on the `Results <http://app.batterymodel.com/Results>`_ page. | ||
You can choose from several results parameters and visualize them in line or color plots. You can also download you results as an HDF5 file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
=================== | ||
Troubleshooting | ||
=================== | ||
|
||
This sections gives some troubleshooting ideas. | ||
|
||
Unnatural artifacts in your results | ||
==================================== | ||
|
||
|
||
.. image:: img/discretization_issue_battmo_app.png | ||
|
||
A spike like this in your results indicates a discritization issue. In order to fix the issue you can increase the number of cells used in the simulation. | ||
As in the example, the artifact is visible in the results of the negative electrode, the number of electrode cells of the negative electrode should be increased until the issue is resolved. | ||
The 'number of cells' parameters can be found among the 'advanced' input parameters. | ||
|
||
.. Unsuccesful simulation | ||
.. ====================== |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.