========================= BattMo Model Architecture ========================= We use a multi-model approach. The models are organized in a hierarchy, meaning that a given model can have sub-models. A model corresponds to a given physical system and defines the functions and variables that will be needed to assemble the discretized governing equations of the system. For the simulation of Lithium-ion battery, we have at the top of the hierarchy a battery model (see :ref:`schema ` for the description of the standard input parameters). The battery model contains the following sub-models: * Negative electrode model :ref:`(schema) ` * Positive electrode model :ref:`(schema) ` * Electrolyte model :ref:`(schema) ` * Separator model :ref:`(schema) ` * ThermalModel model :ref:`(schema) ` * Control model :ref:`(schema) ` .. figure:: img/cutbatterygraph.png :target: _images/cutbatterygraph.png The **negative and positive electrodes** are instances of the same electrode model. An electrode contains a coating material and a current collector. The standard input parameters for an electrode model are given in its :ref:`schema `. The electrode model has two sub-models: * Coating model :ref:`(schema) ` * Current Collector model :ref:`(schema) ` .. figure:: img/electrodegraph.png :target: _images/electrodegraph.png :width: 50% :align: center The current collector model is optional. In particular, for the 1D model it is in fact more realistic to not include it. The standard input parameters of the **coating model** are given in the associated :ref:`schema `. The coating model has three sub-models, which corresponds of the three components of the solid: * Active material model :ref:`(schema) ` * Binder :ref:`(schema) ` * Conductive additive model :ref:`(schema) ` .. figure:: img/coatinggraph.png :target: _images/coatinggraph.png :width: 70% :align: center :class: with-border In the case of a composite material, the coating model will have a different structure, with two active material models. .. _ArchitectureActiveMaterial: The input parameters for the **Active Material** are described in the associated :ref:`schema `. The active material is organized in two sub-models. * Interface :ref:`(schema) ` * SolidDiffusion :ref:`(schema) ` .. figure:: img/activematerialgraph.png :target: _images/activematerialgraph.png :width: 50% :align: center In the interface model, the function and variables that enter the reaction are defined (Butler-Volmer model). The solid diffusion model contains the functions to model and solve the diffusion equation in the solid. We have implemented two solid diffusion model, see :ref:`here `. The **Control** :ref:`(schema) `, **Separator** :ref:`(schema) ` and **Thermal** :ref:`(schema) ` models do not have sub-models. The control model is described in more details :ref:`here`. A example of a fully coupled thermal simulation is presented :ref:`here`.