diff --git a/_sources/juliabridge.rst.txt b/_sources/juliabridge.rst.txt
index d4dfcb4d..4c837ba6 100644
--- a/_sources/juliabridge.rst.txt
+++ b/_sources/juliabridge.rst.txt
@@ -20,8 +20,8 @@ BattMo.jl without further user intervention.
-Setup and Use
-=============
+Start Server
+============
To run simulation with Julia, we use a server. To communicate with the server we create a server manager from Matlab
@@ -31,12 +31,38 @@ To run simulation with Julia, we use a server. To communicate with the server we
This command starts the Julia server and return a manager :code:`man` which we use to pass data and run simulations.
-.. note::
+.. important::
Julia uses *just-in-time* compilation. It means that when we run a function for the first time in a julia session,
the code is going to be compiled. The compilation may take time (more than 10s). When using Julia Bridge, you will
- notice it at the start. But, by starting a Julia server in the background where the compilation is done only once, Julia
+ notice it at the start.
+
+ But, **by starting a Julia server in the background** where the compilation is done only once, Julia
Bridge makes it possible to use the |battmo| julia solver at expected speed.
+
+ It is important to start the server only once and reuse it for further simulation, as described below
+
+.. attention::
+
+ We could not start a persistent process from Matlab in Windows. The step must then be done manually, as follows
+
+ * Launch a command prompt window in Windows (NOT the powershell)
+ * Run the following command:
+
+ .. code:: matlab
+
+ julia --startup-file=no --project=\path\to\RunMatlab\directory -e "using Revise, DaemonMode; serve(3000, true, call_stack=true, async=true)"
+
+ Replace :code:`/path/to/RunMatlab/directory` with the path to the
+ :battmofile:`RunFromMatlab
jsonstruct
that is obtained is equivalent to the one where we would have copied and paste the content of
graphite.json.
"NegativeElectrode": {
"Coating": {
"ActiveMaterial": {
diff --git a/json.html b/json.html
index 49b0e5a9..3faa3016 100644
--- a/json.html
+++ b/json.html
@@ -142,7 +142,10 @@
To run simulation with Julia, we use a server. To communicate with the server we create a server manager from Matlab
man = ServerManager();
This command starts the Julia server and return a manager man
which we use to pass data and run simulations.
Note
+Important
Julia uses just-in-time compilation. It means that when we run a function for the first time in a julia session, the code is going to be compiled. The compilation may take time (more than 10s). When using Julia Bridge, you will -notice it at the start. But, by starting a Julia server in the background where the compilation is done only once, Julia +notice it at the start.
+But, by starting a Julia server in the background where the compilation is done only once, Julia Bridge makes it possible to use the BattMo julia solver at expected speed.
+It is important to start the server only once and reuse it for further simulation, as described below
Attention
+We could not start a persistent process from Matlab in Windows. The step must then be done manually, as follows
+Launch a command prompt window in Windows (NOT the powershell)
Run the following command:
+julia --startup-file=no --project=\path\to\RunMatlab\directory -e "using Revise, DaemonMode; serve(3000, true, call_stack=true, async=true)"
+
Replace /path/to/RunMatlab/directory
with the path to the
+RunFromMatlab directory, that is
+Utilities\JuliaBridge\JuliaInterface\RunFromMatlab
if your current directory is BattMo root installation
+directory.
Running this command will block the command prompt. The server will remain active until the window is closed or it
+is deactivated in any other way. Calls to the server can now be made using the ServerManager
class.
We pass data to the server using the load
method.
inputFileName = fullfile(battmoDir(), ...
'Examples' , ...
@@ -251,10 +277,16 @@ Setup and Use
+Run the simulation
Finally, we run the simulation
result = man.run();
+
+
+Post process the output
The matlab structure contains the simulation output, which can be processed in Matlab. For example,
voltage = cellfun(@(x) x.Phi, {result.states.BPP});
time = cumsum(result.extra.timesteps);
diff --git a/modelinitialisation.html b/modelinitialisation.html
index 6443b230..f9ecb94f 100644
--- a/modelinitialisation.html
+++ b/modelinitialisation.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/objects.inv b/objects.inv
index 69f89b00..0436ef6c 100644
Binary files a/objects.inv and b/objects.inv differ
diff --git a/octave.html b/octave.html
index 336e2470..f803fd22 100644
--- a/octave.html
+++ b/octave.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/optimisation.html b/optimisation.html
index c59cd59d..e60c95b4 100644
--- a/optimisation.html
+++ b/optimisation.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/parsets.html b/parsets.html
index eb50d417..8b24f37b 100644
--- a/parsets.html
+++ b/parsets.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/battMoTutorial.html b/publishedExamples/battMoTutorial.html
index 49472082..7a81d3a1 100644
--- a/publishedExamples/battMoTutorial.html
+++ b/publishedExamples/battMoTutorial.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/battMoTutorial_source.html b/publishedExamples/battMoTutorial_source.html
index 6f900b7e..c806192e 100644
--- a/publishedExamples/battMoTutorial_source.html
+++ b/publishedExamples/battMoTutorial_source.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runBatteryP2D.html b/publishedExamples/runBatteryP2D.html
index 31d9bce3..b390dbeb 100644
--- a/publishedExamples/runBatteryP2D.html
+++ b/publishedExamples/runBatteryP2D.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runBatteryP2D_source.html b/publishedExamples/runBatteryP2D_source.html
index 8fa7caea..75f22c5b 100644
--- a/publishedExamples/runBatteryP2D_source.html
+++ b/publishedExamples/runBatteryP2D_source.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runElectrolyser.html b/publishedExamples/runElectrolyser.html
index 67f02a3f..611448b3 100644
--- a/publishedExamples/runElectrolyser.html
+++ b/publishedExamples/runElectrolyser.html
@@ -143,7 +143,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runElectrolyserPreamble.html b/publishedExamples/runElectrolyserPreamble.html
index f51e27f5..07443936 100644
--- a/publishedExamples/runElectrolyserPreamble.html
+++ b/publishedExamples/runElectrolyserPreamble.html
@@ -141,7 +141,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runElectrolyser_source.html b/publishedExamples/runElectrolyser_source.html
index a08b9adc..b627c07a 100644
--- a/publishedExamples/runElectrolyser_source.html
+++ b/publishedExamples/runElectrolyser_source.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runJsonScript.html b/publishedExamples/runJsonScript.html
index 43e434f6..ff699eda 100644
--- a/publishedExamples/runJsonScript.html
+++ b/publishedExamples/runJsonScript.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runJsonScript_source.html b/publishedExamples/runJsonScript_source.html
index f3b9ff18..4d04dd75 100644
--- a/publishedExamples/runJsonScript_source.html
+++ b/publishedExamples/runJsonScript_source.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runSEIActiveMaterial.html b/publishedExamples/runSEIActiveMaterial.html
index a628d501..ad37fa1c 100644
--- a/publishedExamples/runSEIActiveMaterial.html
+++ b/publishedExamples/runSEIActiveMaterial.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runSEIActiveMaterial_source.html b/publishedExamples/runSEIActiveMaterial_source.html
index c40aacbd..e0ee5e31 100644
--- a/publishedExamples/runSEIActiveMaterial_source.html
+++ b/publishedExamples/runSEIActiveMaterial_source.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runSiliconGraphiteBattery.html b/publishedExamples/runSiliconGraphiteBattery.html
index 9bb14c7e..ef4c5467 100644
--- a/publishedExamples/runSiliconGraphiteBattery.html
+++ b/publishedExamples/runSiliconGraphiteBattery.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/publishedExamples/runSiliconGraphiteBattery_source.html b/publishedExamples/runSiliconGraphiteBattery_source.html
index 4601abc1..ecf342b9 100644
--- a/publishedExamples/runSiliconGraphiteBattery_source.html
+++ b/publishedExamples/runSiliconGraphiteBattery_source.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/run_temperature_example.html b/run_temperature_example.html
index 8d9c7e87..5dbe8cff 100644
--- a/run_temperature_example.html
+++ b/run_temperature_example.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/search.html b/search.html
index 4404ccfc..2cb85668 100644
--- a/search.html
+++ b/search.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/searchindex.js b/searchindex.js
index 2ced2209..3acdbbde 100644
--- a/searchindex.js
+++ b/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"docnames": ["advancedtopics", "architecture", "basicusage", "bibliography", "compositeElectrode", "controlinput", "geometryinput", "gui", "index", "installation", "intermediate", "json", "jsonexample", "juliabridge", "modelinitialisation", "octave", "optimisation", "parsets", "publishedExamples/battMoTutorial", "publishedExamples/battMoTutorial_source", "publishedExamples/runBatteryP2D", "publishedExamples/runBatteryP2D_source", "publishedExamples/runElectrolyser", "publishedExamples/runElectrolyserPreamble", "publishedExamples/runElectrolyser_source", "publishedExamples/runJsonScript", "publishedExamples/runJsonScript_source", "publishedExamples/runSEIActiveMaterial", "publishedExamples/runSEIActiveMaterial_source", "publishedExamples/runSiliconGraphiteBattery", "publishedExamples/runSiliconGraphiteBattery_source", "run_temperature_example", "seealso", "soliddiffusion", "thermal", "tutorials", "units"], "filenames": ["advancedtopics.rst", "architecture.rst", "basicusage.rst", "bibliography.rst", "compositeElectrode.rst", "controlinput.rst", "geometryinput.rst", "gui.rst", "index.rst", "installation.rst", "intermediate.rst", "json.rst", "jsonexample.rst", "juliabridge.rst", "modelinitialisation.rst", "octave.rst", "optimisation.rst", "parsets.rst", "publishedExamples/battMoTutorial.rst", "publishedExamples/battMoTutorial_source.rst", "publishedExamples/runBatteryP2D.rst", "publishedExamples/runBatteryP2D_source.rst", "publishedExamples/runElectrolyser.rst", "publishedExamples/runElectrolyserPreamble.rst", "publishedExamples/runElectrolyser_source.rst", "publishedExamples/runJsonScript.rst", "publishedExamples/runJsonScript_source.rst", "publishedExamples/runSEIActiveMaterial.rst", "publishedExamples/runSEIActiveMaterial_source.rst", "publishedExamples/runSiliconGraphiteBattery.rst", "publishedExamples/runSiliconGraphiteBattery_source.rst", "run_temperature_example.rst", "seealso.rst", "soliddiffusion.rst", "thermal.rst", "tutorials.rst", "units.rst"], "titles": ["Advanced Usage", "BattMo Model Architecture", "Basic Usage", "Reference lists", "Composite electrode json input file", "Control models", "Battery Geometries", "BattMo GUI", "Welcome", "Installation and First Steps", "Intermediate usage", "JSON input specification", "Json input example", "BattMo Julia bridge", "The Battery Simulation Model", "Note on Octave Support", "Optimization", "Parameter sets", "BattMo Tutorial", "Source code for battMoTutorial", "Pseudo-Two-Dimensional (P2D) Lithium-Ion Battery Model", "Source code for runBatteryP2D", "Alkaline Membrane Electrolyser", "<no title>", "Source code for runElectrolyser", "BattMo example Json input", "Source code for runJsonScript", "Particle simulation with SEI layer growth", "Source code for runSEIActiveMaterial", "Composite Silicon Graphite electrode", "Source code for runSiliconGraphiteBattery", "runThermalModel", "See Also", "Solid Diffusion Models", "Thermal Simulation", "List of curated examples", "Units"], "terms": {"The": [0, 1, 2, 3, 5, 6, 9, 10, 11, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 32, 33, 34, 36], "batteri": [0, 1, 2, 3, 5, 8, 10, 11, 16, 17, 19, 21, 24, 26, 28, 30, 35], "simul": [0, 1, 5, 6, 8, 13, 16, 19, 21, 23, 24, 26, 28, 30, 31, 32, 35], "model": [0, 3, 6, 8, 9, 13, 16, 17, 19, 21, 23, 24, 26, 28, 30, 31, 32, 34, 35], "control": [0, 1, 10, 14, 16, 19, 20, 21, 22, 24, 26, 27, 28, 30, 31, 33, 34], "solid": [0, 1, 3, 8, 14], "diffus": [0, 1, 3, 14, 16, 18, 19], "paramet": [0, 1, 5, 12, 13, 14, 18, 19, 20, 21, 22, 24, 26, 34], "set": [0, 2, 5, 6, 10, 11, 13, 14, 16, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 34], "unit": [0, 2, 12, 14], "thermal": [0, 1, 2, 3, 8, 16, 18, 19, 20, 21, 29, 30, 31], "optimis": 0, "octav": 0, "support": [0, 6, 11, 13, 32, 34, 36], "we": [1, 2, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36], "us": [1, 2, 5, 8, 9, 11, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36], "multi": [1, 2, 3, 8, 10], "approach": [1, 2, 10, 14, 16, 22, 23], "ar": [1, 2, 5, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 31, 33, 34, 35, 36], "organ": [1, 11], "hierarchi": [1, 2, 18, 19, 22, 23], "mean": [1, 6, 11, 13, 14, 15, 16, 18, 19, 34, 36], "given": [1, 2, 5, 10, 11, 12, 13, 14, 16, 18, 19, 22, 23, 25, 26, 27, 28, 29, 30, 33, 34, 36], "can": [1, 2, 5, 6, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 32, 34, 35, 36], "have": [1, 2, 5, 6, 10, 11, 13, 14, 15, 16, 18, 19, 21, 22, 23, 24, 26, 28, 29, 30, 33, 34], "sub": [1, 5, 11, 14, 17, 27, 28, 29, 30], "A": [1, 3, 5, 6, 11, 14, 18, 19, 21, 22, 23, 24, 25, 26, 28, 34], "correspond": [1, 6, 10, 11, 13, 14, 16, 17, 27, 28, 34, 36], "physic": [1, 2, 3, 8, 11, 16, 19, 22, 24], "system": [1, 2, 8, 13, 16, 22, 23, 24], "defin": [1, 11, 16, 18, 19, 20, 21, 22, 24, 29, 30], "function": [1, 2, 5, 6, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 32], "variabl": [1, 11, 14, 16, 18, 19, 22, 24, 27, 28, 32], "need": [1, 2, 10, 11, 14, 18, 19, 22, 23, 34], "assembl": [1, 22, 23], "discret": [1, 11, 14, 16, 18, 19, 20, 21, 23, 24, 32, 33], "govern": [1, 5, 14, 22, 23], "equat": [1, 3, 5, 11, 13, 14, 16, 22, 23, 24, 32, 33], "For": [1, 2, 5, 8, 9, 11, 13, 14, 16, 18, 19, 29, 30, 33, 34], "lithium": [1, 3, 8, 10, 11, 18, 19, 21, 35], "ion": [1, 2, 3, 8, 10, 11, 16, 18, 19, 21, 28, 35], "top": [1, 11], "see": [1, 2, 5, 6, 11, 12, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 33], "schema": [1, 5, 6, 14, 22, 23, 33], "descript": [1, 11], "standard": [1, 5, 6, 11, 13, 15, 16, 20, 21, 22, 24, 25, 26, 29, 30, 33, 34], "input": [1, 2, 6, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 26, 29, 34, 35], "contain": [1, 2, 5, 10, 11, 13, 14, 18, 19, 22, 24, 25, 26, 32], "follow": [1, 2, 5, 9, 10, 14, 16, 17, 18, 19, 22, 23, 27, 28, 29, 30, 32, 34, 35], "neg": [1, 2, 6, 11, 14, 16, 18, 19, 22, 24, 29, 30], "electrod": [1, 2, 3, 6, 8, 10, 14, 16, 18, 19, 22, 23, 27, 28, 30, 33], "posit": [1, 2, 6, 11, 14, 16, 18, 19, 22, 24], "electrolyt": [1, 2, 3, 13, 14, 16, 18, 19, 20, 21, 22, 23, 27, 28], "separ": [1, 2, 6, 10, 14, 16, 17], "thermalmodel": [1, 2, 11, 12, 14, 16, 18, 19, 20, 21, 31, 34], "instanc": [1, 14, 18, 19, 20, 21], "same": [1, 2, 5, 10, 11, 14, 16, 18, 19, 22, 23, 34], "an": [1, 2, 3, 5, 6, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 25, 26, 36], "coat": [1, 2, 4, 6, 10, 14, 16, 18, 19, 20, 21, 29, 30, 34], "materi": [1, 6, 8, 10, 14, 16, 18, 19, 21, 26, 28, 29, 30, 31, 33, 34], "current": [1, 2, 5, 6, 10, 16, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "collector": [1, 2, 6, 10, 16, 18, 19, 29, 30], "its": [1, 2, 11, 14, 16, 20, 21, 36], "ha": [1, 2, 8, 11, 13, 14, 16, 18, 19, 32], "two": [1, 2, 5, 10, 11, 21, 22, 23, 29, 30, 33, 34, 35], "i": [1, 2, 4, 5, 6, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 36], "option": [1, 11, 16, 19, 21, 24, 26, 28, 33], "In": [1, 2, 3, 5, 9, 10, 11, 12, 14, 15, 16, 18, 19, 33, 34, 35, 36], "particular": [1, 11, 14, 16, 19, 21, 24, 26, 28], "1d": [1, 6, 8, 11, 13, 15, 16, 18, 19, 20, 21, 22, 23, 24], "fact": [1, 11, 14, 16, 22, 23], "more": [1, 2, 5, 6, 10, 11, 13, 14, 15, 16, 19, 21, 24, 26, 28, 35], "realist": 1, "includ": [1, 2, 5, 6, 8, 11, 16, 17, 18, 19, 20, 21, 22, 23, 34, 35, 36], "associ": [1, 2], "three": [1, 16, 22, 23, 24], "which": [1, 2, 5, 6, 9, 10, 11, 13, 14, 16, 18, 19, 22, 23, 27, 28, 29, 30, 32, 34, 36], "compon": [1, 11, 14, 22, 23, 34], "activ": [1, 2, 5, 6, 8, 14, 16, 18, 19, 20, 21, 33], "binder": [1, 14, 29, 30], "conduct": [1, 13, 14, 16, 22, 23, 34], "addit": [1, 14, 16, 33], "case": [1, 5, 10, 11, 12, 14, 16, 18, 19, 20, 21, 29, 30, 36], "composit": [1, 3, 11, 30], "differ": [1, 2, 6, 10, 11, 13, 16, 17, 22, 24, 25, 26, 29, 30, 34], "structur": [1, 5, 10, 11, 12, 13, 14, 15, 16, 18, 19, 22, 23, 24, 25, 26, 29, 30, 34], "describ": [1, 2, 5, 6, 10, 11, 14, 17, 22, 23, 33], "interfac": [1, 2, 4, 6, 8, 10, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30, 34], "soliddiffus": [1, 4, 10, 11, 12, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30], "enter": [1, 11], "reaction": [1, 11, 22, 23], "butler": [1, 3, 11, 16], "volmer": [1, 3, 11, 16], "solv": [1, 5, 14, 15, 16, 22, 23, 24, 33], "implement": [1, 5, 6, 11, 13, 14, 22, 23, 24, 33], "here": [1, 2, 4, 5, 6, 9, 10, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 32, 33, 34, 36], "do": [1, 2, 5, 6, 10, 11, 14, 15, 16, 18, 19, 22, 24, 25, 26, 29, 30, 34, 36], "detail": [1, 2, 6, 9, 10, 14, 16, 19, 21, 22, 23, 24, 26, 28], "exampl": [1, 2, 5, 6, 9, 10, 11, 13, 14, 18, 19, 20, 21, 22, 23, 26, 27, 28, 31, 34, 36], "fulli": [1, 8, 13, 14], "coupl": [1, 6, 8, 11, 16, 22, 23, 31, 34], "present": [1, 11, 12, 16], "thi": [2, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 33, 35, 36], "section": [2, 10, 11, 14], "still": [2, 16], "under": [2, 8, 11, 16, 19, 21, 24, 26, 28], "develop": [2, 3, 8, 15, 16, 32], "introduc": [2, 16], "some": [2, 5, 6, 11, 15, 16, 18, 19, 20, 21, 27, 28, 29, 30, 36], "simpl": [2, 11, 16, 20, 21, 22, 23, 34], "workflow": [2, 16], "highlight": 2, "import": [2, 14, 16, 21, 28, 30], "let": [2, 5, 10, 14, 34], "": [2, 8, 10, 16, 20, 21, 31, 33, 34], "make": [2, 11, 13, 14, 15, 16, 18, 19, 36], "your": [2, 8, 9, 14, 19, 21, 24, 26, 28], "build": [2, 8, 10, 22, 23], "visual": [2, 6, 15, 24, 34], "p2d": [2, 16, 21, 35], "simult": 2, "li": [2, 3, 8, 10, 16, 21, 28], "cell": [2, 3, 8, 10, 11, 14, 16, 18, 19, 21, 22, 23, 24, 25, 26, 28, 34, 35], "how": [2, 5, 10, 14, 16, 18, 19, 20, 21], "handl": [2, 11, 16], "final": [2, 13, 14, 16, 18, 19, 31], "discuss": [2, 16], "json": [2, 6, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 33, 34, 35], "manag": [2, 8, 13], "allow": [2, 8, 10], "you": [2, 8, 9, 10, 13, 14, 16, 19, 21, 24, 26, 28, 32, 36], "easili": [2, 11], "save": [2, 11, 16], "document": [2, 8, 11, 32], "share": [2, 22, 23], "complet": [2, 5, 16, 18, 20, 22, 25, 27, 29], "from": [2, 5, 6, 8, 9, 10, 11, 13, 14, 16, 18, 19, 21, 22, 23, 24, 25, 26, 28, 30, 34], "specif": [2, 10, 14, 18, 19, 22, 24, 25, 26, 34], "long": 2, "explicit": [2, 11, 14], "kei": [2, 6, 11, 16], "name": [2, 5, 6, 11, 14, 16, 17, 18, 19, 20, 21, 35], "good": [2, 16, 33], "readabl": [2, 22, 23], "If": [2, 11, 16, 19, 21, 24, 26, 28, 35, 36], "new": [2, 16, 29, 30, 32], "learn": 2, "about": [2, 10, 16, 18, 19], "avail": [2, 5, 6, 11, 13, 14, 16, 17, 18, 19], "provid": [2, 5, 6, 8, 9, 10, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 36], "sampl": [2, 5], "file": [2, 11, 12, 14, 17, 18, 19, 21, 22, 24, 26, 28, 29, 30, 36], "sample_input": [2, 5, 14], "nmc": [2, 10, 16], "graphit": [2, 4, 10, 16, 30], "load": [2, 5, 11, 13, 16, 18, 19, 20, 21, 24, 26, 27, 28, 29, 30], "pars": [2, 10, 14, 18, 19], "command": [2, 9, 13, 14, 25, 26], "jsonstruct": [2, 5, 10, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34, 36], "parsebattmojson": [2, 5, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "jsondatafil": [2, 5, 10, 14, 16, 25, 26, 31, 34], "transform": 2, "data": [2, 6, 10, 11, 13, 14, 15, 16, 17, 22, 23, 27, 28, 29, 30, 35], "matlab": [2, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 25, 26], "setup": [2, 5, 6, 9, 14, 16, 18, 19, 21, 23, 24, 25, 26, 28, 30, 31, 34], "within": [2, 10, 13, 14], "window": [2, 9, 14], "navig": [2, 9], "level": [2, 8, 11, 14, 18, 19, 22, 23], "want": [2, 5, 11, 16, 18, 19], "know": [2, 5, 11, 14, 18, 19], "thick": [2, 11, 12, 27, 28], "give": [2, 5, 11, 13, 16, 34], "negativeelectrod": [2, 4, 10, 11, 12, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30], "return": [2, 11, 13, 14, 15, 16, 20, 21, 36], "6": [2, 3, 12, 13, 36], "4000e": 2, "05": [2, 12, 14, 16, 27, 28, 36], "unless": 2, "otherwis": [2, 11, 17, 20, 21], "specifi": [2, 11, 14, 16, 19], "si": [2, 14, 36], "base": [2, 3, 6, 8, 16, 18, 19, 29, 30, 32], "quantiti": [2, 8, 14, 16, 22, 24, 34], "runbatteryjson": [2, 10, 16, 25, 26, 31, 34], "main": [2, 6, 11, 22, 23], "plotdashboard": 2, "time": [2, 5, 10, 13, 14, 15, 16, 18, 19, 21, 23, 24, 25, 26, 27, 28, 30, 31, 33, 34], "10": [2, 3, 4, 6, 12, 13, 16, 20, 21, 22, 24, 27, 28, 29, 30], "solut": [2, 3, 8, 10, 14, 15, 33], "timestep": [2, 5, 11, 12, 13, 16, 18, 19, 25, 26], "left": [2, 16], "3": [2, 3, 4, 5, 6, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 36], "column": [2, 16], "profil": [2, 8, 16, 27, 28, 33], "concentr": [2, 8, 10, 11, 12, 18, 19, 22, 23, 24, 27, 28, 33], "electr": [2, 3, 8, 27, 28], "potenti": [2, 5, 8, 11, 16, 20, 21, 27, 28], "rightmost": 2, "calcul": [2, 8, 16, 18, 19, 20, 21, 36], "voltag": [2, 5, 8, 11, 13, 14, 16, 18, 19, 21, 22, 24, 25, 26, 29, 30, 31], "subsect": 2, "access": [2, 14, 18, 19, 22, 23, 34], "among": 2, "other": [2, 8, 11, 12, 14, 16, 18, 19], "thing": [2, 18, 19, 25, 26, 36], "1x1": [2, 14], "struct": [2, 5, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 36], "inform": [2, 8, 11, 16, 18, 19, 29, 30], "initi": [2, 5, 8, 11, 14, 16, 19, 21, 23, 24, 28, 30, 33], "condit": [2, 11, 14, 24], "while": [2, 11, 22, 23], "each": [2, 5, 11, 14, 15, 16, 18, 19, 22, 23, 24, 25, 26, 33, 34], "requir": [2, 5, 11, 14, 15, 16, 18, 19, 21, 28, 30], "e": [2, 3, 10, 11, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 36], "what": [2, 16], "where": [2, 5, 9, 10, 11, 13, 14, 16, 18, 19, 22, 23, 25, 26, 34], "valu": [2, 5, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34, 36], "mesh": [2, 6, 29, 30], "one": [2, 6, 9, 10, 16, 18, 19, 22, 23, 31, 34], "most": [2, 5, 10, 14, 16], "properti": [2, 5, 10, 11, 13, 16, 18, 19, 21, 22, 24, 26, 28, 30, 31, 34], "g": [2, 10, 14, 16, 22, 24, 31, 34], "store": [2, 18, 19, 20, 21, 22, 24], "face": [2, 6, 31, 34], "node": 2, "etc": [2, 36], "centroid": [2, 22, 24], "To": [2, 6, 11, 13, 14, 16, 18, 19, 25, 26, 34], "x": [2, 6, 8, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "zero": [2, 5, 11, 16, 20, 21, 34], "size": [2, 5, 18, 19, 22, 23], "o": [2, 3], "xlabel": [2, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "m": [2, 3, 18, 20, 22, 25, 27, 28, 29, 31, 34], "overal": [2, 5, 10, 11, 33], "howev": [2, 10, 11, 14, 15, 36], "modular": [2, 10], "compos": [2, 11], "smaller": [2, 16, 20, 21], "submodel": [2, 11, 14, 18, 19, 20, 21, 22, 24], "own": [2, 15], "color": [2, 22, 24], "x_ne": 2, "x_sep": 2, "x_pe": 2, "positiveelectrod": [2, 10, 11, 12, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30], "hold": [2, 16, 18, 19, 22, 24, 27, 28, 29, 30, 31, 34], "ok": 2, "would": [2, 9, 10, 14], "like": [2, 8, 9, 10, 15, 16], "pleas": [2, 8], "architectur": [2, 14, 20, 21], "arrai": [2, 5, 11, 14, 18, 19], "entri": 2, "look": [2, 5, 10, 14, 16, 22, 23, 34], "shown": [2, 10, 14, 16, 36], "abov": [2, 5, 11, 13, 14, 16, 22, 23, 27, 28], "1": [2, 3, 4, 5, 6, 10, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 34, 36], "504": 2, "second": [2, 5, 18, 19], "c": [2, 3, 13, 14, 18, 19, 21, 27, 28, 31, 34], "30": [2, 6, 16, 20, 21], "doubl": [2, 14], "phi": [2, 13], "vector": [2, 16, 18, 19, 31, 34], "match": [2, 10, 14, 16, 33], "wai": [2, 5, 11, 13, 18, 19, 22, 23, 34], "ylabel": [2, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "mol": [2, 10, 12, 22, 23, 24, 27, 28, 36], "cdot": 2, "also": [2, 5, 6, 9, 10, 11, 14, 15, 16, 18, 19, 22, 23, 27, 28, 33, 36], "dedic": [2, 11, 14, 32], "come": [2, 18, 19, 22, 23, 27, 28], "handi": 2, "when": [2, 5, 10, 11, 13, 14, 16, 18, 19, 25, 26, 36], "start": [2, 5, 9, 11, 13, 16, 18, 19, 26, 29, 30], "work": [2, 14, 36], "complex": [2, 8, 10, 22, 23], "p4d": 2, "gener": [2, 5, 6, 8, 11, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 32], "plotcelldata": [2, 10, 31, 34], "That": [2, 10], "post": [2, 11], "process": [2, 5, 10, 11, 13, 14, 21, 22, 23, 34], "But": [2, 13], "lot": [2, 34], "excit": 2, "featur": 2, "discov": 2, "keep": [2, 5, 11], "go": [2, 5, 13], "chage": 2, "try": 2, "discharg": [2, 3, 5, 11, 14, 16, 20, 21, 30, 33, 34], "rate": [2, 11, 21, 27, 28], "onc": [2, 13, 18, 19, 22, 23], "been": [2, 11, 14, 18, 19, 29, 30, 32, 33], "read": [2, 11, 22, 24], "modifi": [2, 11, 19, 21, 24, 26, 28], "programmat": 2, "loop": 2, "replac": [2, 5], "re": [2, 8, 10], "crate": [2, 5, 11, 12, 14, 16, 18, 19, 20, 21, 25, 26, 29, 30], "0": [2, 4, 5, 6, 10, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 34, 36], "5": [2, 5, 6, 10, 12, 13, 16, 18, 19, 20, 21, 22, 24, 27, 28], "2": [2, 3, 5, 6, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 34], "figur": [2, 5, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 34], "numel": [2, 16, 18, 19, 22, 24, 27, 28, 29, 30], "cellfun": [2, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "hour": [2, 13, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "linewidth": [2, 13], "end": [2, 14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34], "off": [2, 18, 19], "comparison": [2, 3, 35], "curv": [2, 16, 19, 22, 24, 33, 34], "now": [2, 5, 10, 14, 16, 18, 19, 20, 21, 29, 30], "could": [2, 11, 13, 16, 29, 30], "consid": [2, 10, 11, 12, 22, 23, 24, 29, 30, 33], "take": [2, 10, 11, 13, 14, 15, 16, 18, 19, 25, 26, 34], "previou": [2, 11, 14], "iter": [2, 5, 9, 11, 16, 20, 21, 22, 24, 29, 30], "through": [2, 9, 11, 17, 34], "16": [2, 6, 18, 19, 29, 30], "32": 2, "48": 2, "64": [2, 6], "1e": [2, 4, 5, 12, 13, 16, 20, 21, 27, 28, 29, 30], "thin": [2, 34], "capac": [2, 3, 5, 11, 14, 21, 34], "limit": [2, 5, 11, 16], "increas": [2, 5, 11, 22, 23, 24], "eventu": 2, "becom": 2, "collect": [2, 18, 19, 25, 26], "scientif": [2, 15], "literatur": 2, "lfp": 2, "clear": [2, 14, 16, 18, 19, 20, 21, 27, 28], "workspac": [2, 16, 20, 21, 27, 28], "reload": 2, "origin": [2, 16], "clean": 2, "slate": 2, "all": [2, 5, 6, 12, 14, 16, 18, 19, 20, 21, 22, 23, 24, 27, 28, 34, 36], "close": [2, 13, 16, 18, 19, 20, 21, 27, 28], "librari": 2, "move": 2, "right": [2, 11, 16], "place": [2, 10, 11], "parameterdata": [2, 4, 10, 16, 17, 18, 19, 20, 21, 25, 26, 27, 28, 29, 30, 31, 34], "materialproperti": [2, 4, 10, 17], "jsonstruct_lfp": 2, "activemateri": [2, 10, 11, 12, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30], "merg": [2, 10, 25, 26, 29, 30, 34], "our": [2, 5, 6, 8, 10, 13, 14, 16, 29, 30, 34], "exist": [2, 11], "mergejsonstruct": [2, 11, 16, 25, 26, 29, 30, 31, 34], "sure": [2, 11, 14, 16, 18, 19, 36], "consist": [2, 11, 14, 18, 19, 22, 23, 34], "across": 2, "densiti": [2, 4, 10, 11, 12, 14, 16, 36], "effectivedens": [2, 11, 12], "900": 2, "And": 2, "written": [2, 11, 13], "publish": [2, 19, 21, 24, 26, 28, 35], "live": 2, "code": [2, 10, 13, 14, 16, 18, 20, 22, 23, 25, 27, 29, 36], "format": [2, 20, 21, 22, 23], "mlx": 2, "thei": [2, 10, 11, 14, 16, 17, 22, 23, 34, 35, 36], "interact": 2, "manner": [2, 14], "found": [2, 5, 16, 18, 19, 20, 22, 25, 27, 29, 35, 36], "directori": [2, 9, 11, 17, 35], "download": 2, "tutori": [2, 8, 10, 16, 19, 35], "view": [2, 18, 19, 31, 34], "protocol": 2, "4": [2, 5, 6, 12, 13, 14, 16, 20, 21, 25, 26, 27, 28, 29, 30], "cc": [2, 5, 11, 16, 18, 19, 20, 21], "cv": 2, "cycl": [2, 5, 16], "perform": [2, 3, 8, 10, 16], "7": [2, 6, 16], "8": [2, 3, 4, 13], "layer": [2, 10, 11, 14, 22, 23, 28, 35], "pouch": [2, 11], "9": [2, 6, 16, 29, 30], "cylindr": 2, "congratul": 2, "familiar": 2, "should": [2, 11, 13, 14, 15, 16, 19, 21, 24, 26, 28, 35], "enough": [2, 6, 14], "advanc": [2, 8, 14], "up": [2, 5, 6, 13, 16, 19, 20, 21, 22, 23, 26], "custom": 2, "p3d": 2, "effect": [2, 3, 10, 11, 14, 16, 18, 19, 31, 34], "cporegan": [3, 17, 33], "20": [3, 6, 10, 17, 31, 33], "chang": [3, 5, 14, 16, 18, 19, 20, 21, 29, 30, 31], "hui": 3, "chen": [3, 17, 33, 35], "ferran": 3, "planella": 3, "kieran": 3, "regan": 3, "dominika": 3, "gastol": 3, "dhammika": 3, "widanagea": 3, "emma": 3, "kendrick": 3, "experiment": [3, 16], "techniqu": 3, "parameter": [3, 6, 11, 14, 16], "scale": [3, 6, 8, 10, 16, 18, 19], "journal": 3, "electrochem": [3, 8, 10, 11], "societi": 3, "167": 3, "080534": 3, "2020": [3, 8, 11, 17], "doi": 3, "1149": 3, "1945": 3, "7111": 3, "ab9050": 3, "dfn93": [3, 33], "marc": 3, "doyl": [3, 8], "thoma": 3, "f": 3, "fuller": [3, 8, 33], "john": 3, "newman": [3, 8, 33], "galvanostat": 3, "charg": [3, 5, 11, 14, 19, 22, 23, 30], "polym": 3, "insert": 3, "140": 3, "1526": 3, "1533": 3, "june": 3, "1993": 3, "url": 3, "http": [3, 8, 9, 11, 19, 21, 24, 26, 28], "dx": 3, "org": [3, 11, 19, 21, 24, 26, 28], "2221597": 3, "gbk": [3, 22, 23], "23": [3, 22, 23], "michael": 3, "robert": 3, "gerhardt": 3, "alejandro": 3, "barnett": 3, "thulil": 3, "khoza": 3, "patrick": 3, "fortin": 3, "sara": 3, "andrenacci": 3, "alaa": 3, "y": [3, 6], "faid": 3, "p": [3, 14, 16], "\u00e5": 3, "l": [3, 6, 14, 27, 28], "emil": 3, "england": 3, "karstensen": 3, "svein": 3, "sund": 3, "simon": 3, "clark": 3, "open": [3, 8, 9, 11, 15, 16, 20, 21, 27, 28, 32], "sourc": [3, 5, 6, 8, 9, 10, 11, 15, 16, 18, 20, 22, 23, 25, 27, 29, 32], "continuum": [3, 8], "anion": 3, "exchang": [3, 11, 16, 22, 23, 34], "membran": [3, 23, 24, 35], "water": [3, 22, 23], "electrolysi": [3, 22, 23], "meet": 3, "abstract": 3, "243": 3, "number": [3, 5, 8, 11, 16, 20, 21, 29, 30], "36": 3, "2002": 3, "inc": 3, "2023": [3, 19, 21, 24, 26, 28], "lz13": [3, 14], "arnulf": 3, "latz": 3, "jochen": 3, "zausch": 3, "thermodynam": 3, "deriv": [3, 5, 13, 16, 22, 23], "intercal": 3, "electrochimica": 3, "acta": 3, "110": 3, "358": 3, "362": 3, "nov": 3, "2013": 3, "1016": 3, "j": [3, 22, 24], "electacta": 3, "06": [3, 4, 12, 16], "043": 3, "lz16": [3, 14], "multiscal": 3, "aspect": 3, "jul": 3, "2016": 3, "1515": 3, "nano": [3, 27, 28], "bjneah": 3, "102": 3, "lzi11": [3, 14], "oleg": 3, "iliev": 3, "speci": [3, 11, 12], "transport": [3, 11, 14, 22, 23], "non": [3, 5, 11, 14, 23, 24, 28], "equilibrium": [3, 11, 14, 18, 19], "numer": [3, 8, 16, 18, 19], "method": [3, 5, 13, 14, 16, 18, 19, 20, 21, 22, 24, 29, 30, 33], "applic": 3, "page": [3, 7, 11, 12], "329": 3, "337": 3, "springer": 3, "berlin": 3, "heidelberg": 3, "2011": 3, "1007": 3, "978": 3, "642": 3, "18466": 3, "6_39": 3, "lxl": [3, 17], "15": [3, 4, 6, 12, 17, 18, 19, 22, 24, 27, 28, 31], "chunj": 3, "lin": [3, 17], "sichuan": 3, "xu": 3, "zhao": 3, "bin": 3, "guofeng": 3, "jinl": 3, "liu": 3, "analysi": 3, "larg": [3, 9, 16, 33], "lifepo4": 3, "power": [3, 8, 16], "vehicl": 3, "294": 3, "633": 3, "2015": [3, 17], "jpowsour": 3, "129": 3, "smtd09": [3, 17], "safari": [3, 17], "morcrett": 3, "teyssot": 3, "delacourt": 3, "multimod": 3, "ag": 3, "life": [3, 18, 19], "predict": 3, "156": 3, "a145": 3, "2009": [3, 17], "3043429": 3, "sgw19": 3, "lauren": 3, "n": [3, 4, 5, 11, 12, 14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "stanislaw": 3, "r": [3, 16, 27, 28], "adam": 3, "z": [3, 6], "weber": 3, "electrolyz": [3, 8], "ec": 3, "transact": 3, "92": [3, 4], "767": 3, "2019": 3, "zw07a": 3, "qi": 3, "zhang": 3, "ralph": 3, "white": 3, "approxim": [3, 16, 33], "phase": [3, 11, 22, 23, 33], "porou": [3, 11, 22, 23], "165": 3, "880": 3, "886": 3, "2007": 3, "2006": 3, "12": [3, 11, 16], "056": 3, "zw07b": [3, 33], "march": 3, "part": [4, 6, 11, 16, 17, 18, 19, 21, 22, 23, 24, 26, 28, 33], "silicon": [4, 30], "active_material_typ": [4, 11, 12], "activematerial1": [4, 11, 29, 30], "specificheatcapac": [4, 11, 12, 14], "632": [4, 12, 14], "heatcapac": 4, "632000": 4, "thermalconduct": [4, 11, 12, 14], "04": [4, 12], "electronicconduct": [4, 11, 12, 14], "100": [4, 6, 11, 12, 14, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34], "massfract": [4, 11, 12, 14, 29, 30], "2240": [4, 10, 12, 14], "isfil": [4, 10, 11, 12], "true": [4, 5, 10, 11, 12, 16, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34], "filenam": [4, 10, 12], "diffusionmodeltyp": [4, 11, 12, 16, 18, 19, 33], "full": [4, 12, 13, 18, 19, 33, 36], "activationenergyofdiffus": [4, 11, 12], "5000": [4, 10, 12], "referencediffusioncoeffici": [4, 11, 12], "9e": [4, 12], "14": [4, 12, 22, 24], "particleradiu": [4, 11, 12, 27, 28], "activematerial2": [4, 11, 29, 30], "08": [4, 29, 30], "2330": 4, "6e": 4, "determin": [5, 11, 16], "type": [5, 10, 11, 12, 13, 17, 18, 19, 33], "At": [5, 11, 16], "total": [5, 11, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "plan": [5, 8, 9, 11, 13], "below": [5, 10, 11, 14, 16, 18, 19, 22, 23, 36], "short": [5, 16], "explan": 5, "call": [5, 14, 16, 18, 19], "battmo": [5, 8, 9, 10, 11, 14, 15, 16, 19, 21, 22, 23, 24, 26, 28, 32, 33, 34, 35], "constant": [5, 11, 16], "ccdischarg": [5, 11, 12, 16, 18, 19, 20, 21, 29, 30], "cccharg": [5, 11], "cccv": [5, 11, 20, 21], "controlmodel": [5, 11], "u": [5, 10, 14, 22, 23, 34, 35], "review": 5, "them": [5, 14, 16, 22, 23], "controlpolici": [5, 11, 12, 20, 21], "befor": [5, 6, 34, 36], "comput": [5, 11, 13, 15, 16, 18, 19, 21, 22, 23, 24, 27, 28, 29, 30, 32, 33, 34], "lower": [5, 11, 16], "cutoff": [5, 11], "stop": [5, 11, 16, 18, 19, 20, 21], "usecvswitch": [5, 11, 16], "continu": 5, "until": [5, 11, 16], "fix": [5, 11], "switch": [5, 11, 20, 21], "strong": [5, 16], "linear": [5, 11, 14, 16, 23, 24, 28], "mai": [5, 10, 11, 13, 15, 16], "creat": [5, 6, 10, 11, 13, 18, 19, 31, 34], "difficulti": [5, 15], "reach": [5, 11, 16], "reason": [5, 11, 13, 14, 16, 34], "possibl": [5, 8, 11, 13, 16, 18, 19, 22, 23, 34], "rampup": [5, 11, 27, 28, 29, 30], "gradual": 5, "target": [5, 11, 29, 30], "rampuptim": [5, 11, 12, 16], "lowercutoffvoltag": [5, 11, 12, 16, 18, 19, 20, 21, 29, 30], "dataset": [5, 33], "obtain": [5, 10, 11, 14, 16, 25, 26, 34], "result": [5, 13, 16, 19, 23, 24, 34], "first": [5, 6, 10, 13, 14, 16, 18, 19, 25, 26, 34], "upper": [5, 11], "cuttoff": 5, "As": [5, 11, 16], "uppercutoffvoltag": [5, 11, 12, 20, 21, 29, 30], "initialcontrol": [5, 11, 20, 21], "numberofcycl": [5, 11], "didtlimit": [5, 11, 12, 20, 21], "dedtlimit": [5, 11, 12, 20, 21], "procedur": [5, 16], "Then": [5, 9, 14, 15, 16, 34], "step": [5, 10, 14, 15, 16, 18, 19, 21, 22, 23, 24, 27, 28, 30, 34], "frac": 5, "de": 5, "dt": [5, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "opposit": 5, "sign": [5, 16, 29, 30], "monitor": 5, "di": 5, "than": [5, 13, 16], "again": [5, 16, 34], "script": [5, 9, 15, 25, 26, 33, 34, 35], "besid": 5, "simulateschedulead": [5, 14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "run": [5, 9, 11, 13, 14, 15, 16, 19, 21, 23, 24, 25, 26, 28, 30, 31, 34, 35], "It": [5, 8, 10, 11, 13, 14, 15, 16, 18, 19, 34], "problem": [5, 13, 14, 16], "state": [5, 8, 10, 11, 13, 14, 16, 19, 21, 22, 24, 25, 26, 28, 30, 31, 34], "schedul": [5, 14, 16, 18, 19, 21, 24, 28, 30], "field": [5, 11, 18, 19, 22, 24, 27, 28, 29, 30, 34, 36], "typic": [5, 11, 14, 34], "src": [5, 16, 22, 24, 27, 28, 29, 30], "equal": [5, 18, 19, 31, 34], "val": [5, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34, 36], "index": [5, 31, 34], "indic": [5, 11], "choos": [5, 11, 21, 33], "sinusoid": 5, "t": [5, 10, 11, 13, 18, 19, 20, 21, 27, 28, 31, 34], "minut": [5, 16], "ones": [5, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "period": [5, 29, 30], "amper": [5, 22, 24, 27, 28, 36], "sin": 5, "pi": [5, 11], "setupmodelfromjson": [5, 14, 31, 34], "soc": [5, 11, 12, 14, 18, 19, 29, 30], "so": [5, 14, 16, 34], "hit": [5, 16], "99": [5, 12], "default": [5, 6, 11, 12, 16, 20, 21, 22, 24, 29, 30, 34], "initialis": [5, 11, 19, 29, 30], "setupinitialst": [5, 16, 18, 19, 20, 21, 29, 30], "initst": [5, 14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "examplecontrol": 5, "multidimension": 6, "3d": [6, 8, 11, 12, 15, 34, 35], "must": [6, 11, 16, 18, 19, 25, 26, 36], "class": [6, 16, 18, 19, 20, 21, 29, 30], "batterygener": 6, "templat": 6, "construct": [6, 11, 14, 16], "sepat": 6, "between": [6, 11, 16, 22, 23, 33], "those": [6, 11, 14, 15, 22, 24, 34], "output": [6, 10, 13, 14, 16, 18, 19, 21, 25, 26, 29, 30, 31, 34], "grid": [6, 8, 11, 13, 14, 16, 18, 19, 21, 22, 24], "reli": [6, 10, 13, 22, 23, 32], "essenti": [6, 8, 11, 32], "mrst": [6, 8, 9, 10, 11, 16, 18, 19, 21, 24, 25, 26, 28, 30], "tool": 6, "often": [6, 11, 16], "small": [6, 11, 13, 14, 16, 34], "whole": [6, 34], "geometr": [6, 10, 11, 25, 26, 34], "illustr": [6, 16, 22, 23], "list": [6, 11, 13, 14, 17, 22, 23, 36], "produc": [6, 14, 22, 24, 33], "aref": 6, "sake": 6, "length": [6, 18, 19], "25": [6, 16], "\u03bcm": 6, "57": 6, "ccnen": 6, "nenx": 6, "sepnx": 6, "penx": 6, "ccpenx": 6, "area": [6, 11, 14, 16], "facearea": [6, 11], "cm": [6, 14, 22, 23, 24], "2d": [6, 8, 11, 35], "xlength": 6, "50": [6, 12, 31, 34], "80": [6, 16], "direct": [6, 10, 11, 14, 20, 21, 33], "ylength": 6, "ccnenx": 6, "ny": [6, 11], "consis": 6, "onli": [6, 11, 13, 14, 15, 16, 22, 23, 24, 33, 34], "tab": [6, 10, 11, 12, 34], "ax": 6, "show": [6, 25, 26, 27, 28, 29, 30, 31, 34], "last": [6, 27, 28, 29, 30, 33, 34], "4cm": 6, "1mn": 6, "mm": [6, 22, 24, 27, 28], "sep_nz": 6, "ne_am_nz": 6, "pe_am_nz": 6, "ne_cc_nz": 6, "pe_cc_nz": 6, "interior": 6, "region": [6, 11], "int_elyte_nx": 6, "ne_cc_nx": 6, "pe_cc_nx": 6, "elyte_ni": 6, "ne_cc_ni": 6, "pe_cc_ni": 6, "jelli": [6, 10, 14, 35], "roll": [6, 10, 14, 35], "th": 6, "4680": 6, "negativeco": 6, "94": [6, 12], "negativecurrentcollector": 6, "positiveco": 6, "84": 6, "positivecurrentcollector": 6, "wind": 6, "spiral": 6, "nwind": 6, "52": 6, "inner": [6, 11], "radiu": [6, 11, 27, 28], "correspod": 6, "empti": [6, 11], "space": [6, 8, 11, 16, 22, 23], "middl": 6, "rinner": 6, "height": [6, 11, 12], "70": 6, "angular": [6, 11], "na": [6, 8, 11], "longitudon": 6, "There": [6, 10, 11, 14], "73": 6, "18": [6, 18, 19, 29, 30], "67": 6, "radial": [6, 33], "numradi": 6, "numangular": 6, "fill": 7, "toolbox": [8, 15, 19, 21, 24, 26, 28], "comprehens": 8, "devic": 8, "julia": 8, "facilit": 8, "deep": [8, 22, 24], "understand": 8, "virtual": 8, "dynam": 8, "spatial": [8, 10, 22, 23, 33], "temperatur": [8, 11, 12, 14, 18, 19, 27, 28, 31, 34], "focus": 8, "broader": 8, "extens": [8, 10], "chemistri": [8, 16], "metal": 8, "air": 8, "zinc": 8, "along": [8, 19, 21, 24, 26, 28], "hydrogen": [8, 22, 23], "fuel": 8, "offer": 8, "flexibl": [8, 13], "framework": 8, "geometri": [8, 10, 13, 14, 16, 19, 21, 22, 23, 26, 31, 34, 35], "reservoir": [8, 32], "effici": [8, 16], "finit": [8, 14, 16], "volum": [8, 11, 14, 16, 22, 23, 33, 34], "solver": [8, 9, 13, 14, 15, 16, 18, 19, 21, 24, 28, 30, 32], "ensur": [8, 14], "swift": 8, "even": [8, 14, 19, 21, 22, 23, 24, 26, 28, 36], "whether": 8, "research": 8, "gatewai": 8, "unlock": 8, "dive": 8, "explor": [8, 10], "latest": 8, "video": [8, 9], "project": 8, "galleri": 8, "visit": 8, "webpag": [8, 32], "batterymodel": 8, "com": [8, 9, 26], "receiv": [8, 19, 21, 24, 26, 28], "fund": 8, "european": 8, "union": 8, "horizon": 8, "innov": 8, "program": [8, 15, 16], "grant": 8, "agreement": [8, 33], "875527": 8, "hybrid": 8, "energi": [8, 11, 14, 16, 19, 21, 24, 26, 28], "next": [8, 10, 16], "hydra": 8, "957189": 8, "genom": 8, "acceler": 8, "platform": 8, "big": [8, 13], "map": 8, "101069765": 8, "sustain": [8, 19, 21, 24, 26, 28], "high": [8, 11], "ev": 8, "intellig": 8, "101104031": 8, "domain": [8, 11, 22, 24, 34], "digit": [8, 19, 21, 24, 26, 28, 32], "twin": 8, "batmax": 8, "clone": 9, "git": 9, "repositori": 9, "recurs": [9, 14], "submodul": 9, "depend": [9, 11, 14, 16, 34], "termin": [9, 16], "github": [9, 13], "battmoteam": 9, "startupbattmo": 9, "check": [9, 11, 16], "correctli": [9, 16], "runbatteryp2d": [9, 20], "guid": 9, "consult": 9, "necessari": [9, 18, 19, 29, 30], "version": [9, 16, 19, 21, 24, 26, 28], "2012": 9, "agmg": [9, 18, 19, 20, 21], "integr": [9, 16, 32], "newer": 9, "amgcl": [9, 20, 21], "pseudo": [10, 21, 33, 35], "four": 10, "dimension": [10, 21, 22, 23, 35], "mix": 10, "definit": [10, 11, 14], "shape": 10, "computation": 10, "expens": 10, "therefor": [10, 11, 14, 15], "usual": [10, 16], "reserv": 10, "specici": 10, "plai": [10, 16], "signific": [10, 16], "role": [10, 16], "similar": [10, 16, 18, 19], "basic": [10, 16, 18, 19], "aim": [10, 15], "without": [10, 12, 13, 16, 19, 21, 24, 26, 28, 36], "much": [10, 16], "multipl": [10, 16], "combin": [10, 16, 20, 21], "five": [10, 16], "polici": [10, 18, 19, 20, 21], "jsonfilenam": [10, 25, 26, 31, 34], "batterycellparamet": [10, 16, 17, 18, 19, 20, 21, 25, 26, 29, 30, 31, 34], "lithiumionbatterycel": [10, 16, 18, 19, 20, 21, 25, 26, 29, 30, 31, 34], "lithium_ion_battery_nmc_graphit": [10, 16, 18, 19, 20, 21, 25, 26, 29, 30, 31, 34], "jsonstruct_materi": [10, 25, 26, 31, 34], "geometry3d": [10, 31, 34], "jsonstruct_geometri": [10, 25, 26, 31, 34], "remain": [10, 14, 29, 30], "fullfil": [10, 13, 16, 18, 19, 20, 21, 25, 26, 27, 28, 31, 34], "ie_control": 10, "jsonstruct_control": [10, 25, 26, 31, 34], "simulation_paramet": [10, 16, 25, 26], "jsonstruct_simparam": [10, 25, 26], "extra_output": [10, 25, 26], "jsonstruct_output": [10, 25, 26], "singl": [10, 12, 14], "plot": [10, 13, 15, 16, 19, 20, 21, 24, 26, 28, 29, 30, 31, 33, 34], "plotbatterygrid": 10, "note": [10, 16, 29, 30], "axi": [10, 16, 31], "find": [10, 11, 14, 16, 18, 19, 32], "interest": [10, 16], "plotgrid": 10, "surfac": [10, 11, 14, 16, 27, 28], "particl": [10, 11, 28, 33, 35], "both": [10, 13, 16, 18, 19], "facecolor": 10, "none": [10, 15], "edgealpha": 10, "csurfac": [10, 27, 28], "litr": [10, 12, 22, 23, 24, 27, 28, 36], "titl": [10, 18, 19, 22, 24, 27, 28, 29, 30, 31, 34], "mechan": [10, 11], "just": [10, 11, 13, 14, 18, 19, 36], "seen": [10, 14, 16], "jsondecod": [10, 25, 26, 36], "keyword": 10, "fetch": 10, "locat": [10, 11, 16, 18, 19, 33], "taken": [10, 22, 23, 36], "line": [10, 14, 18, 19], "content": 10, "henc": 10, "write": [10, 16, 35, 36], "fileread": 10, "equival": 10, "copi": [10, 19, 21, 24, 26, 28], "past": 10, "saturationconcentr": [10, 11, 12, 18, 19, 27, 28], "30555": [10, 12], "volumetricsurfacearea": [10, 11, 12, 16], "723600": [10, 12], "numberofelectronstransf": [10, 11, 12], "activationenergyofreact": [10, 11, 12], "reactionrateconst": [10, 11, 12, 16], "031e": [10, 12], "11": [10, 12, 16], "gueststoichiometry100": [10, 11, 12, 18, 19], "88551": [10, 12], "gueststoichiometry0": [10, 11, 12, 18, 19, 27, 28], "1429": [10, 12], "chargetransfercoeffici": [10, 11, 12], "opencircuitpotenti": [10, 11, 12], "functionnam": [10, 12], "computeocp_graphit": [10, 12], "argumentlist": [10, 11, 12, 13], "celectrod": 10, "cmax": [10, 11, 12, 18, 19, 27, 28], "ad": [11, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "extra": [11, 13, 25, 26], "syntax": [11, 13, 15], "bring": 11, "refer": [11, 17, 22, 23, 27, 28], "onthologi": 11, "battinfo": 11, "common": [11, 36], "object": [11, 14, 16, 19, 20, 21, 29, 30], "valid": [11, 14, 16, 22, 23, 29, 30], "parallelli": 11, "sai": 11, "electolyt": 11, "clarifi": 11, "conveni": [11, 14, 16, 17], "care": [11, 14, 36], "id": 11, "draft": 11, "allof": 11, "ref": [11, 26, 30], "modelspecif": [11, 12], "choic": [11, 22, 23], "stateiniti": [11, 12], "jsonschema": 11, "reproduc": [11, 33], "recogn": [11, 14, 20, 21], "thermalcompon": [11, 12, 14], "ionic": [11, 13, 22, 23], "coeffici": [11, 14, 16, 31, 34], "signatur": [11, 14], "form": [11, 16, 29, 30], "argument": [11, 14], "ionicconduct": [11, 12, 13], "moment": [11, 13, 16], "add": [11, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "user": [11, 13, 14, 15, 20, 21, 32, 36], "path": [11, 18, 19, 22, 23, 25, 26], "veri": [11, 13, 16, 34], "soon": 11, "pure": 11, "either": [11, 13, 14, 19, 21, 24, 26, 28], "string": [11, 13, 22, 24, 36], "evalu": [11, 16], "tabl": 11, "interpol": 11, "point": [11, 18, 19], "prefixitem": 11, "const": 11, "symbol": 11, "kappa": 11, "diffusioncoeffici": [11, 12], "d": 11, "molecul": 11, "binari": 11, "chargenumb": [11, 12], "transferencenumb": [11, 12], "transfer": [11, 31, 34], "nominalconcentr": [11, 12], "physicalquant": 11, "nomin": [11, 21], "later": [11, 16, 19, 21, 24, 26, 28], "mass": [11, 14, 22, 23, 29, 30], "rho": 11, "bruggemancoeffici": [11, 12, 16], "media": 11, "beta": 11, "intrins": [11, 14], "heat": [11, 31, 34], "currentcollector": [11, 12, 16, 18, 19, 20, 21], "electroniccompon": 11, "conductingaddit": [11, 12, 14, 29, 30], "wet": 11, "calendar": 11, "respect": [11, 16, 25, 26, 34], "pore": 11, "bruggeman": [11, 14, 16], "enum": 11, "occur": [11, 34], "chemic": 11, "itself": 11, "By": 11, "directli": [11, 13, 14, 17, 36], "initializaton": 11, "design": [11, 15, 21, 28, 36], "rdf_type": 11, "htttp": 11, "emmo": 11, "info": 11, "uuid": 11, "electron": [11, 14, 16], "sigma": 11, "ratio": [11, 14], "mixtur": 11, "gamma": 11, "anyof": 11, "fullsoliddiffusionmodel": [11, 14], "els": [11, 16], "simplifiedsoliddiffusionmodel": 11, "circuit": 11, "mention": [11, 14, 22, 23], "tabul": [11, 13], "satur": 11, "guest": 11, "host": 11, "stoichiometr": 11, "per": [11, 16, 31, 34], "eak": 11, "k0": 11, "exchangecurrentdens": 11, "j0": 11, "theta100": [11, 18, 19], "theta0": [11, 18, 19], "ocp": [11, 19, 27, 28], "alpha": 11, "volumetr": [11, 14, 16], "arrheniu": 11, "soliddiffusionmodel": 11, "characterist": 11, "rp": 11, "ead": 11, "pre": [11, 18, 19], "exponenti": 11, "d0": 11, "stoichiometri": 11, "conductiv": 11, "poros": [11, 16, 27, 28], "fraction": [11, 14, 16, 22, 23, 29, 30, 34], "free": [11, 15, 16, 19, 21, 24, 26, 28], "varepsilon": 11, "extern": [11, 31, 34], "paremet": 11, "exterior": [11, 31, 34], "flag": [11, 16, 34], "dry": 11, "yet": [11, 14], "alwai": [11, 14], "usewetproperti": 11, "boolean": 11, "measur": 11, "NOT": 11, "fals": [11, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "ignor": 11, "externalheattransfercoeffici": [11, 12, 31, 34], "surround": 11, "externalheattransfercoefficienttopfac": 11, "externalheattransfercoefficientsidefac": 11, "side": 11, "externalheattransfercoefficienttab": [11, 12, 31, 34], "externaltemperatur": [11, 12], "manufactur": 11, "industri": [11, 19, 21, 24, 26, 28], "oper": [11, 14, 16, 18, 19, 20, 21, 22, 23, 32], "done": [11, 13, 14, 16, 34], "cad": 11, "softwar": [11, 19, 21, 24, 26, 28, 32], "multilayerpouch": 11, "demo": [11, 12], "jellyrol": 11, "sectormodel": 11, "coincel": 11, "def": 11, "particlediscret": 11, "layerspec": 11, "numberofdiscretecel": 11, "cross": 11, "nlayer": 11, "width": [11, 12, 18, 19], "cap_tab": 11, "remov": [11, 29, 30], "nx": 11, "dimens": [11, 22, 23, 33], "further": [11, 13], "parametr": 11, "batterygeneratorp3d": 11, "batterygeneratorp4d": 11, "nw": [11, 12, 18, 19], "nh": [11, 12], "currentcolector": 11, "dependentschema": 11, "integ": 11, "outerradiu": 11, "outer": 11, "innerradiu": 11, "numberofdiscretecellsvert": 11, "vertic": 11, "numberofdiscretecellsangular": 11, "discretis": [11, 18, 19], "sector": 11, "horizont": 11, "plane": 11, "tabparam": 11, "angl": 11, "usetab": 11, "item": 11, "sectortabparam": 11, "variou": [11, 18, 19, 36], "powercontrol": 11, "linearli": [11, 22, 23, 24], "avoid": [11, 16, 29, 30], "converg": [11, 16], "issu": [11, 13, 15, 25, 26], "cpcv": 11, "dischargingpow": 11, "chargingpow": 11, "powercontrolcas": 11, "dischargingtim": 11, "chargingtim": 11, "lowercutoffpow": 11, "uppercutoffpow": 11, "chose": 11, "totaltim": [11, 25, 26], "infer": 11, "symmbol": 11, "timestepdur": 11, "numberoftimestep": [11, 12, 16, 25, 26], "durat": 11, "userampup": [11, 12], "numberoframpupstep": [11, 12, 16], "interv": 11, "rampuptimestep": [11, 22, 24], "desrib": 11, "mani": [11, 16, 22, 23], "avaibl": 11, "nonlinearsolv": [11, 16, 20, 21, 22, 24, 27, 28, 29, 30], "newton": [11, 14, 22, 23, 32], "battmodir": [11, 13], "autodiff": 11, "core": [11, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "maxiter": [11, 16, 20, 21, 29, 30], "maximum": [11, 16, 20, 21, 29, 30, 31, 34], "nonlineartoler": [11, 16, 20, 21, 27, 28, 29, 30], "toler": [11, 16, 20, 21, 29, 30], "nonlinear": [11, 16, 21, 30], "verbos": [11, 16, 20, 21, 22, 24, 27, 28, 29, 30], "linearsolv": [11, 18, 19, 20, 21], "linearsolversetup": 11, "ask": 11, "alreadi": [11, 18, 19, 20, 21], "afterward": 11, "computeenergydens": 11, "ouput": [11, 26], "get": [11, 14, 16, 18, 19, 22, 23, 24], "energydens": 11, "specificenergi": 11, "saveoutput": 11, "disk": 11, "saveopt": 11, "sim_runn": 11, "packsimulationproblem": 11, "deal": [11, 32], "outputdirectori": 11, "clearsimul": 11, "eras": 11, "1900": 12, "gram": [12, 36], "centi": [12, 22, 24, 27, 28, 36], "meter": [12, 22, 24, 27, 28, 36], "03": [12, 20, 21, 29, 30, 36], "95": 12, "59600000": 12, "398": 12, "385": 12, "8960": 12, "link": 12, "3500": 12, "4650": 12, "700": 12, "55554": 12, "885000": 12, "33e": 12, "4955": 12, "99174": 12, "computeocp_nmc111": 12, "75": [12, 27, 28], "025": 12, "83": 12, "35500000": 12, "170": 12, "875": 12, "2700": 12, "computeelectrolyteconductivity_default": 12, "computediffusioncoefficient_default": 12, "2594": 12, "1000": [12, 34, 36], "2055": 12, "1200": 12, "298": [12, 14, 18, 19, 27, 28], "01": [12, 20, 21, 29, 30], "02": [12, 18, 19], "0001": 12, "004": 12, "001": 12, "8e": 12, "5e": [12, 27, 28, 36], "include_current_collector": [12, 16, 18, 19, 20, 21, 29, 30, 31, 34], "use_therm": [12, 16, 18, 19, 20, 21, 29, 30, 34], "initializationsetup": 12, "initt": [12, 14], "initialconcentr": 12, "pxd": [13, 14], "jl": 13, "packag": 13, "regist": 13, "registri": 13, "significantli": [13, 14], "faster": 13, "sever": [13, 16], "order": 13, "magnitud": 13, "speed": 13, "assembli": [13, 14], "residu": [13, 14], "optim": 13, "completli": 13, "compil": 13, "jutul": 13, "retriev": 13, "instal": [13, 16, 17, 35], "intervent": 13, "server": 13, "commun": 13, "man": 13, "servermanag": 13, "pass": [13, 14, 16, 29, 30], "session": 13, "notic": [13, 34], "background": 13, "expect": 13, "inputfilenam": 13, "jsonfil": 13, "p2d_40_jl_ud": 13, "inputtyp": 13, "With": 13, "ani": [13, 19, 21, 22, 23, 24, 26, 28], "668e": 13, "494e": 13, "074": 13, "78e": 13, "86e": 13, "96e": 13, "80e": 13, "snippet": 13, "becaus": [13, 16], "arithmet": 13, "express": 13, "bpp": 13, "cumsum": 13, "legend": [13, 16, 18, 19, 27, 28, 29, 30, 31, 34], "h": [13, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34], "usag": 14, "cover": 14, "seri": 14, "paper": [14, 22, 23], "conserv": [14, 22, 23], "partial": 14, "differenti": [14, 16, 22, 23, 32], "stabil": 14, "implicit": [14, 22, 23], "backward": 14, "euler": 14, "global": 14, "report": [14, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "globvar": 14, "schedulereport": 14, "varargin": [14, 16], "task": 14, "send": [14, 18, 19, 20, 21], "intern": 14, "convert": 14, "inputparam": [14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "batteryinputparam": [14, 16, 18, 19, 20, 21, 29, 30, 36], "doe": [14, 16], "appear": 14, "redund": 14, "advantag": 14, "developp": [14, 15], "environ": [14, 19, 26], "enabl": [14, 22, 23], "complic": 14, "closer": 14, "resolveunitinputjson": 14, "everi": 14, "overview": 14, "suffix": 14, "activematerialinputparam": [14, 18, 19], "setupbatterygridfromjson": 14, "appropri": [14, 16], "instanti": [14, 16, 18, 19, 30], "parallel": [14, 22, 23], "thu": [14, 15], "validateinputparam": [14, 29, 30], "simpli": [14, 16], "obscur": 14, "con": 14, "physicalconst": [14, 31, 34], "ccdischargecontrolmodel": 14, "9900": 14, "1500": 14, "9400": 14, "0400": 14, "conducit": 14, "never": 14, "earlier": [14, 29, 30], "effectr": 14, "3328": 14, "effectiveelectronicconduct": 14, "82": 14, "5961": 14, "constitu": [14, 34], "account": [14, 16, 34], "120": 14, "rememb": 14, "insid": [14, 36], "siemen": 14, "proce": 14, "118": 14, "4873": 14, "97": 14, "5413": 14, "util": [14, 36], "computecellmass": 14, "computecellcapac": 14, "computecellenergi": 14, "neglict": 14, "infinitli": 14, "print": [14, 16], "screen": 14, "cellspecificationsummari": 14, "css": 14, "printspecif": 14, "pack": 14, "kg": 14, "24": 14, "85": 14, "59526e": 14, "36e": 14, "00301148": 14, "ah": 14, "00310324": 14, "03047": 14, "0115753": 14, "wh": [14, 16], "321": 14, "958": 14, "851": 14, "122": 14, "17686": 14, "v": [14, 16, 18, 19, 20, 21, 25, 26, 27, 28, 29, 30, 31], "computecellenergygivencr": 14, "fprintf": [14, 16], "watt": 14, "0110781": 14, "gnu": [15, 19, 21, 24, 26, 28], "languag": 15, "compat": [15, 16], "strive": 15, "maintain": 15, "drop": 15, "altern": 15, "favor": 15, "easier": [15, 18, 19, 36], "robust": [15, 22, 23], "hard": [15, 16], "inde": 15, "runjsonscript": [15, 25], "met": 15, "resourc": 15, "topic": 16, "involv": 16, "maxim": 16, "mathemat": [16, 19, 21, 22, 23, 24, 26, 28, 32], "viewpoint": 16, "fit": [16, 19, 21, 24, 26, 28], "against": [16, 19], "experi": 16, "calibr": 16, "runparameteridentif": 16, "modul": [16, 18, 19, 21, 24, 25, 26, 28, 30], "mrstmodul": [16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "mpfa": [16, 18, 19, 20, 21, 27, 28], "gui": [16, 18, 19, 20, 21, 25, 26, 27, 28], "ne": [16, 18, 19, 20, 21, 27, 28, 29, 30], "pe": [16, 18, 19, 20, 21, 27, 28, 29, 30], "elyt": [16, 18, 19, 20, 21, 27, 28], "am": [16, 18, 19, 20, 21, 27, 28], "co": [16, 18, 19, 20, 21, 29, 30], "itf": [16, 18, 19, 20, 21, 27, 28, 29, 30], "sd": [16, 18, 19, 20, 21, 27, 28, 29, 30], "ctrl": [16, 18, 19, 20, 21], "sep": 16, "sinc": 16, "python": 16, "turn": 16, "test": [16, 17, 35], "comment": 16, "finer": 16, "stricter": 16, "jsonparam": 16, "jsongeom": 16, "geometry1d": [16, 25, 26], "jsoncontrol": 16, "cc_discharge_control": [16, 25, 26, 31, 34], "jsonsim": 16, "validatejson": 16, "conventi": 16, "json0": 16, "output0": 16, "simsetup": 16, "state0": 16, "modelparamet": 16, "arbitrari": 16, "belong": [16, 29, 30], "boxlim": 16, "constraint": 16, "rang": 16, "logarithm": 16, "param": 16, "addparamet": 16, "elyte_bruggeman": 16, "belongsto": 16, "eqn": 16, "ne_k0": 16, "log": 16, "pe_k0": 16, "ne_vsa": 16, "1e5": 16, "1e7": 16, "pe_vsa": 16, "shortli": 16, "e_exp": 16, "i_exp": 16, "averag": 16, "easi": [16, 32], "jsonexp": 16, "pexp": 16, "ip": 16, "loc": 16, "orig": 16, "getfun": 16, "setfun": 16, "outputexp": 16, "seek": 16, "minim": 16, "vari": 16, "least": 16, "squar": 16, "dure": [16, 18, 19], "obj": 16, "correct": 16, "costli": 16, "accur": 16, "algorithm": 16, "sens": 16, "few": 16, "One": 16, "accomplish": 16, "gradient": [16, 22, 23], "hood": 16, "adjoint": 16, "leastsquaresei": 16, "debug": 16, "objval": 16, "assert": 16, "max": [16, 20, 21, 27, 28, 31, 34], "ab": 16, "objscal": 16, "sum": 16, "objectivegradi": 16, "evalobjectivebattmo": 16, "compar": [16, 33], "classic": 16, "rel": [16, 29, 30], "too": 16, "basal": 16, "statement": 16, "uncom": 16, "ptmp": 16, "getscaledparametervector": 16, "vad": 16, "gad": 16, "gradientmethod": 16, "adjointad": 16, "vnum": 16, "gnum": 16, "perturbationadnum": 16, "perturbations": 16, "error": [16, 20, 21, 29, 30, 36], "disp": [16, 20, 21], "readi": [16, 35], "well": 16, "bfg": 16, "guess": 16, "deduc": 16, "actual": [16, 18, 19], "after": [16, 33, 35], "back": 16, "criteria": [16, 18, 19], "gradtol": 16, "less": 16, "objchangetol": 16, "maxit": 16, "out": [16, 18, 19, 35], "great": 16, "tempor": 16, "influenc": 16, "Not": 16, "p0scale": 16, "popttmp": 16, "histori": 16, "unitboxbfg": 16, "logplot": 16, "numit": 16, "wait": 16, "finish": 16, "laptop": 16, "displai": 16, "jsonopt": 16, "popt": 16, "outputopt": 16, "do_plot": 16, "defaultlinelinewidth": [16, 18, 19, 22, 24, 27, 28, 29, 30, 31], "gettim": 16, "gete": 16, "t0": [16, 31], "e0": 16, "topt": 16, "eopt": 16, "texp": 16, "eexp": 16, "tight": 16, "displaynam": [16, 27, 28, 29, 30, 31, 34], "e_": 16, "exp": 16, "opt": 16, "summar": 16, "porig": 16, "getparamet": 16, "box": [16, 35], "tol": 16, "k": [16, 34], "nexperiment": 16, "nrel": 16, "relerr": 16, "niter": 16, "exact": 16, "___________________": 16, "__________": 16, "_________": 16, "6149": 16, "2599e": 16, "005e": 16, "8927e": 16, "9014e": 16, "05e": 16, "018e": 16, "toward": 16, "begin": [16, 18, 19, 33], "e_0": 16, "e_opt": 16, "why": 16, "9998": 16, "09": 16, "4029e": 16, "4994e": 16, "7775e": 16, "adjust": [16, 25, 26, 29, 30], "runbattery1doptim": 16, "cathod": 16, "anod": 16, "currect": 16, "analyt": 16, "contrast": 16, "ambiti": 16, "reader": 16, "encourag": 16, "investig": 16, "shorthand": [16, 18, 19, 20, 21, 27, 28], "simplic": [16, 20, 21], "cost": 16, "gen": [16, 18, 19, 20, 21, 29, 30], "batterygeneratorp2d": [16, 18, 19, 20, 21, 29, 30], "updat": [16, 18, 19, 20, 21, 29, 30], "updatebatteryinputparam": [16, 18, 19, 20, 21, 29, 30], "shock": 16, "ramp": [16, 20, 21], "prescrib": 16, "automat": [16, 22, 23, 24, 32, 36], "built": 16, "setupschedulecontrol": [16, 18, 19, 20, 21], "larger": [16, 18, 19, 20, 21], "normal": [16, 20, 21], "40": [16, 25, 26], "assign": [16, 20, 21, 27, 28], "nc": 16, "nst": 16, "ind": [16, 20, 21, 27, 28], "floor": [16, 22, 24], "imax": [16, 20, 21, 27, 28, 29, 30], "repmat": 16, "capabl": [16, 22, 23], "cut": [16, 18, 19], "half": 16, "fail": 16, "ministep": 16, "nl": [16, 20, 21, 22, 24, 27, 28, 29, 30], "behavior": [16, 20, 21, 29, 30], "erroronfailur": [16, 20, 21, 22, 24, 27, 28, 29, 30], "outputministep": [16, 20, 21, 22, 24, 27, 28, 29, 30], "isempti": [16, 20, 21, 27, 28], "doplot": 16, "energyoutput": 16, "trapezoid": 16, "rule": [16, 25, 26], "totval": 16, "totval_trapz": 16, "trapz": 16, "rectangl": 16, "instead": 16, "poris": 16, "porositysett": 16, "routin": 16, "simulatorsetup": 16, "paramsett": 16, "getporo": 16, "notus": 16, "getvalu": 16, "setporo": 16, "setvalu": 16, "rampupswitchcontrol": [16, 27, 28, 29, 30], "stopfunct": [16, 27, 28], "hook": 16, "reduc": [16, 33], "evalut": 16, "objmatch": 16, "fn": 16, "plotafterstepiv": 16, "afterstepfn": 16, "minu": [16, 29, 30], "worth": 16, "sensit": 16, "p_base": 16, "optimum": 16, "p_opt": 16, "200": 16, "setup_opt": 16, "updatesetupfromscaledparamet": 16, "states_opt": 16, "time_opt": 16, "i_opt": 16, "totval_trapz_opt": 16, "p0": 16, "pu": 16, "mwh": 16, "milli": [16, 22, 24, 36], "12163": 16, "55": 16, "187132": 16, "152395": 16, "472783": 16, "100268": 16, "00986981": 16, "0147641": 16, "8822": 16, "44": 16, "0736": 16, "parameterset": [17, 27, 28], "author": 17, "year": 17, "et": 17, "al": 17, "chen2020": 17, "safari2009": [17, 27, 28], "lin2015": 17, "organis": 17, "whose": 17, "batterycomponentparamet": 17, "battmotutori": 18, "explain": [18, 19], "memori": [18, 19], "thicker": [18, 19], "font": [18, 19], "defaultaxesfonts": [18, 19, 22, 24, 27, 28, 29, 30, 31], "defaulttextfonts": [18, 19, 27, 28, 29, 30, 31], "fname": [18, 19], "exclud": [18, 19], "These": [18, 19, 22, 23], "referenc": [18, 19], "ourselv": [18, 19], "fullsoliddiffusionmodelinputparam": [18, 19], "batterygeometri": [18, 19], "folder": [18, 19], "relev": [18, 19], "chosen": [18, 19, 34], "constructor": [18, 19, 20, 21], "inspect": [18, 19], "being": [18, 19], "eld": [18, 19], "ield": [18, 19], "el_itf": [18, 19], "linspac": [18, 19, 22, 24, 27, 28], "theta": [18, 19], "computeocpfunc": [18, 19], "ylim": [18, 19], "break": [18, 19], "togeth": [18, 19], "term": [18, 19, 21, 22, 23, 24, 26, 28], "primari": [18, 19, 22, 24], "sol": [18, 19], "technic": [18, 19], "extract": [18, 19, 22, 24, 29, 30, 34], "subplot": [18, 19, 22, 24, 25, 26, 29, 30], "mod": [19, 26], "mrstbattmo": [19, 26], "battmofil": [19, 24], "copyright": [19, 21, 24, 26, 28], "2021": [19, 21, 24, 26, 28], "sintef": [19, 21, 24, 26, 28, 32], "technologi": [19, 21, 24, 26, 28], "cybernet": [19, 21, 24, 26, 28, 32], "redistribut": [19, 21, 24, 26, 28], "public": [19, 21, 24, 26, 28], "licens": [19, 21, 24, 26, 28], "foundat": [19, 21, 24, 26, 28], "distribut": [19, 21, 24, 26, 28, 34], "hope": [19, 21, 24, 26, 28], "warranti": [19, 21, 24, 26, 28], "impli": [19, 21, 24, 26, 28], "merchant": [19, 21, 24, 26, 28], "FOR": [19, 21, 24, 26, 28], "purpos": [19, 21, 24, 26, 28, 36], "www": [19, 21, 24, 26, 28], "demonstr": [20, 21, 34, 36], "propag": [20, 21], "throughout": [20, 21], "manual": [20, 21], "use_cccv": [20, 21], "cccvstruct": [20, 21], "cccvparamobj": [20, 21], "cccvcontrolmodelinputparam": [20, 21], "cccvinputparam": [20, 21], "autodiffbackend": [20, 21], "inspectgraph": [20, 21], "cgt": [20, 21], "computationalgraph": [20, 21], "amgclsolverad": [20, 21], "reducetocel": [20, 21], "linearsolverbatteryextra": [20, 21], "reuse_setup": [20, 21], "unknown": [20, 21], "timestepselector": [20, 21, 29, 30], "statechangetimestepselector": [20, 21, 29, 30], "targetprop": [20, 21, 29, 30], "targetchangeab": [20, 21, 29, 30], "tmax": [20, 21, 31, 34], "socn": [20, 21], "socp": [20, 21], "calculatesoc": [20, 21], "writeh5": [20, 21], "writeoutput": [20, 21], "h5": [20, 21], "recov": [21, 22, 24], "runelectrolys": 22, "aem": [22, 23], "wa": [22, 23], "motiv": [22, 23], "better": [22, 23], "h2": [22, 23, 24], "had": [22, 23], "andinclud": [22, 23], "coupledprocess": [22, 23], "ionom": [22, 23], "liquid": [22, 23], "induc": [22, 23], "ga": [22, 23], "hydroxid": [22, 23], "hopefulli": [22, 23], "clearli": [22, 23], "split": [22, 23], "oxygen": [22, 23], "evolut": [22, 23], "catalyst": [22, 23], "appli": [22, 23], "scheme": [22, 23], "independ": [22, 23], "oftim": [22, 23], "algorithmus": [22, 23], "infrastructur": [22, 23], "pressur": [22, 23], "boundari": [22, 23], "atmospher": [22, 23], "oh": [22, 23], "pictur": [22, 23], "acquaint": [22, 23], "catalystlay": [22, 23, 24], "evolutionelectrod": [22, 23], "exchangereact": [22, 23, 24], "ionomermembran": [22, 23, 24], "poroustransportlay": [22, 23, 24], "electrolysergeometri": [22, 23], "matlab_bgl": [22, 24, 29, 30], "alkalineelectrolys": [22, 24], "electrolyserinputparam": [22, 24], "electrolysergeometry1d": [22, 24], "setupelectrolysergridfromjson": [22, 24], "shortcut": [22, 24, 30], "inm": [22, 24], "her": [22, 24], "hydrogenevolutionelectrod": [22, 24], "oer": [22, 24], "oxygenevolutionelectrod": [22, 24], "ptl": [22, 24], "exr": [22, 24], "ctl": [22, 24], "setupbcandinitialst": [22, 24], "over": [22, 24], "rampupcontrol": [22, 24, 27, 28], "controli": [22, 24], "o2": [22, 24], "tup": [22, 24, 27, 28, 29, 30], "srcfunc": [22, 24, 27, 28, 29, 30], "rampupcas": [22, 24], "minor": [22, 24], "modif": [22, 24], "unknwon": [22, 24], "descriv": [22, 24], "addvari": [22, 24], "intermedi": [22, 24], "istat": [22, 24, 27, 28, 29, 30], "polaris": [22, 24], "helper": [22, 24], "coh": [22, 24], "800": [22, 24, 27, 28], "450": [22, 24], "ntime": [22, 24], "cmap": [22, 24], "cmocean": [22, 24], "ifield": [22, 24], "fd": [22, 24], "itim": [22, 24], "getprop": [22, 24], "log10": [22, 24], "distribit": [22, 24], "colormap": [22, 24], "hcolorbar": [22, 24], "colorbar": [22, 24, 31, 34], "caxi": [22, 24], "htitl": [22, 24], "electrolys": [23, 24, 35], "alkalin": [24, 35], "ph": 24, "exclus": [25, 26], "nativ": [25, 26], "warn": [25, 26, 29, 30], "preced": [25, 26], "se": 26, "mathwork": 26, "help": 26, "html": 26, "_": 26, "specifici": 26, "runseiactivemateri": 27, "anode_sei": [27, 28], "solidelectrodeinterfac": [27, 28], "sr": [27, 28], "sidereact": [27, 28], "seiactivematerialinputparam": [27, 28], "stand": [27, 28], "alon": [27, 28], "standalon": [27, 28], "seiactivemateri": [27, 28], "nsd": [27, 28], "nsei": [27, 28], "celectrodeinit": [27, 28], "phielectrodeinit": [27, 28], "celectrolyt": [27, 28, 36], "cite": [27, 28], "safari_2009": [27, 28], "film": [27, 28], "epsisei": [27, 28], "solvent": [27, 28], "bulk": [27, 28], "cecsolut": [27, 28], "541": [27, 28], "cecextern": [27, 28], "evalvarnam": [27, 28, 29, 30], "phielectrolyt": [27, 28], "cinterfac": [27, 28], "delta": [27, 28], "static": [27, 28], "cextern": [27, 28], "roughli": [27, 28], "iref": [27, 28], "3e": [27, 28], "1e1": [27, 28], "cmin": [27, 28], "state0_inn": [27, 28], "defaultfigureposit": [27, 28], "400": [27, 28], "min": [27, 28, 31, 34], "caverag": [27, 28], "caver": [27, 28], "nm": [27, 28], "sei": [28, 35], "growth": [28, 35], "runsilicongraphitebatteri": 29, "shorcut": [29, 30], "am1": [29, 30], "am2": [29, 30], "bd": [29, 30], "jsonstruct_composite_materi": [29, 30], "lithium_ion_battery_nmc_silicon_graphit": [29, 30], "jsonstruct_cel": [29, 30], "cleaner": [29, 30], "rmfield": [29, 30], "parent": [29, 30], "consecut": [29, 30], "selector": [29, 30], "wellsol": [29, 30], "dischargest": [29, 30], "front": [29, 30], "chargest": [29, 30], "concaten": [29, 30], "allstat": [29, 30], "vertcat": [29, 30], "plote": [29, 30], "soc1": [29, 30], "soc2": [29, 30], "cumul": [29, 30], "compositeelectrod": 30, "perio": 30, "visualis": 30, "extrnal": [31, 34], "extfaceind": [31, 34], "couplingterm": [31, 34], "couplingfac": [31, 34], "nf": [31, 34], "getnumberoffac": 31, "nan": [31, 34], "plotfacedata": [31, 34], "edgecolor": [31, 34], "black": [31, 34], "w": [31, 34], "minimum": [31, 34], "absolutetemperatur": 31, "tmin": [31, 34], "cool": 31, "disctribut": 31, "sofwar": 32, "mrstwebpag": 32, "primarli": 32, "geoscienc": 32, "group": 32, "depart": 32, "api": 32, "heavili": 32, "On": 32, "recommend": 32, "useful": 32, "principl": 32, "doyler": 33, "repres": 33, "spheric": 33, "thee": 33, "polynomi": 33, "runchen2020": [33, 35], "pybamm": [33, 35], "observ": 33, "discrip": 33, "zoom": 33, "runthermalexampl": 34, "mainli": 34, "conducitivti": 34, "m\u00b2": 34, "overwritten": 34, "num": 34, "littl": 34, "variat": 34, "contact": 34, "releas": 34, "higher": 34, "tell": 35, "runbatteryp3d": 35, "runbatteryp4d": 35, "runcr": 35, "coin": 35, "rungitttest": 35, "gitt": 35, "runjellyrol": 35, "prefix": 36, "kilo": 36, "convers": 36, "500": 36, "0000": 36, "62": 36, "2000e": 36, "assum": 36, "pair": 36, "happen": 36, "isconvert": 36, "convertunitbattmo": 36, "1000e": 36, "logic": 36, "mistak": 36}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"advanc": 0, "usag": [0, 2, 10], "battmo": [1, 2, 7, 13, 18, 25, 36], "model": [1, 2, 5, 10, 11, 12, 14, 18, 20, 22, 27, 29, 33], "architectur": 1, "basic": 2, "A": 2, "first": [2, 9], "defin": [2, 10], "paramet": [2, 6, 10, 11, 16, 17, 25], "run": [2, 10, 18, 20, 22, 27, 29], "simul": [2, 10, 11, 12, 14, 18, 20, 22, 25, 27, 29, 34], "show": 2, "dashboard": 2, "explor": 2, "output": [2, 11, 20], "grid": [2, 20, 32], "state": [2, 12, 18, 20, 27, 29], "plot": [2, 6, 18, 22, 25, 27], "result": [2, 10, 18, 22], "chang": 2, "control": [2, 5, 11, 12, 18, 25, 29], "structur": 2, "materi": [2, 11, 12, 20, 25, 27], "notebook": 2, "next": 2, "step": [2, 9, 11, 12, 20, 29], "refer": 3, "list": [3, 35], "composit": [4, 29], "electrod": [4, 11, 12, 29], "json": [4, 5, 11, 12, 25, 36], "input": [4, 5, 11, 12, 22, 25, 36], "file": [4, 10, 25], "interfac": [5, 11, 12], "descript": 5, "batteri": [6, 12, 14, 18, 20, 27, 29], "geometri": [6, 11, 12, 18, 20, 25], "batterygeneratorp2d": 6, "valu": 6, "us": [6, 10, 13], "abov": 6, "batterygeneratorp3d": 6, "batterygeneratorp4d": 6, "spiralbatterygener": 6, "thick": 6, "discret": [6, 22], "number": 6, "n": 6, "ar": 6, "pass": 6, "through": 6, "dictionari": 6, "widthdict": 6, "nrdict": 6, "other": 6, "coincellbatterygener": 6, "each": 6, "compon": 6, "diamet": 6, "cell": [6, 20, 27], "layer": [6, 27], "nl": 6, "cr": 6, "2016": 6, "coin": 6, "gui": 7, "welcom": 8, "acknowledg": 8, "instal": 9, "intermedi": 10, "setup": [10, 11, 13, 20, 22, 27, 29], "p4d": 10, "mergejsonstruct": 10, "visual": [10, 22, 32], "link": 10, "insert": 10, "parsebattmojson": 10, "specif": [11, 12], "schema": 11, "electrolyt": [11, 12], "coat": [11, 12], "activ": [11, 12], "solid": [11, 12, 33], "diffus": [11, 12, 33], "full": 11, "binder": [11, 12], "conduct": [11, 12], "addit": [11, 12], "current": [11, 12, 20], "collector": [11, 12], "separ": [11, 12], "thermal": [11, 12, 34], "time": [11, 12, 20, 22, 29], "solver": [11, 20, 22, 27, 29], "exampl": [12, 16, 25, 35], "neg": 12, "posit": 12, "initi": [12, 18, 20, 22, 27, 29], "julia": 13, "bridg": 13, "introduct": 13, "The": 14, "initialis": [14, 18], "inspect": 14, "comput": [14, 20], "some": 14, "standard": 14, "static": 14, "properti": [14, 20, 25, 27, 29], "note": 15, "octav": 15, "support": 15, "optim": 16, "identif": 16, "set": [17, 18, 25], "tutori": [18, 32], "up": [18, 25], "environ": [18, 25], "specifi": 18, "physic": 18, "object": 18, "ocp": 18, "curv": 18, "against": 18, "charg": [18, 29], "sourc": [19, 21, 24, 26, 28, 30], "code": [19, 21, 24, 26, 28, 30], "battmotutori": 19, "pseudo": 20, "two": 20, "dimension": 20, "p2d": 20, "lithium": 20, "ion": [20, 27], "import": [20, 27, 29], "requir": [20, 27, 29], "modul": [20, 22, 27, 29], "from": [20, 27, 29], "mrst": [20, 22, 27, 29, 32], "li": [20, 27], "design": [20, 27], "nomin": 20, "capac": 20, "choos": 20, "c": 20, "rate": 20, "schedul": [20, 22, 27, 29], "nonlinear": [20, 29], "process": 20, "recov": 20, "voltag": 20, "runbatteryp2d": 21, "alkalin": 22, "membran": 22, "electrolys": 22, "load": [22, 25], "condit": 22, "non": [22, 27], "linear": [22, 27], "ph": 22, "distribut": 22, "runelectrolys": 24, "we": 25, "ouput": 25, "specifici": 25, "start": 25, "runjsonscript": 26, "particl": 27, "sei": 27, "growth": 27, "runseiactivemateri": 28, "silicon": 29, "graphit": 29, "shortcut": 29, "instanti": 29, "discharg": 29, "perio": 29, "visualis": 29, "runsilicongraphitebatteri": 30, "runthermalmodel": 31, "see": 32, "also": 32, "factori": 32, "fair": 32, "data": 32, "curat": 35, "unit": 36, "convert": 36}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinxcontrib.bibtex": 9, "sphinx.ext.intersphinx": 1, "sphinx": 57}, "alltitles": {"Advanced Usage": [[0, "advanced-usage"]], "BattMo Model Architecture": [[1, "battmo-model-architecture"]], "Basic Usage": [[2, "basic-usage"]], "A First BattMo Model": [[2, "a-first-battmo-model"]], "Define Parameters": [[2, "define-parameters"], [10, "define-parameters"]], "Run Simulation": [[2, "run-simulation"], [10, "run-simulation"]], "Show the Dashboard": [[2, "show-the-dashboard"]], "Explore the Output": [[2, "explore-the-output"]], "Explore the Grid": [[2, "explore-the-grid"]], "Explore the States": [[2, "explore-the-states"]], "Plot a Result": [[2, "plot-a-result"]], "Change Control Parameters": [[2, "change-control-parameters"]], "Change Structural Parameters": [[2, "change-structural-parameters"]], "Change Material Parameters": [[2, "change-material-parameters"]], "Notebooks": [[2, "notebooks"]], "Next Steps": [[2, "next-steps"]], "Reference lists": [[3, "reference-lists"]], "Composite electrode json input file": [[4, "composite-electrode-json-input-file"]], "Control models": [[5, "control-models"]], "Json input control interface": [[5, "json-input-control-interface"]], "Control model description": [[5, "control-model-description"]], "Battery Geometries": [[6, "battery-geometries"]], "BatteryGeneratorP2D": [[6, "batterygeneratorp2d"]], "Parameters with values used in plot above": [[6, "id2"], [6, "id3"], [6, "id4"]], "BatteryGeneratorP3D": [[6, "batterygeneratorp3d"]], "BatteryGeneratorP4D": [[6, "batterygeneratorp4d"]], "SpiralBatteryGenerator": [[6, "spiralbatterygenerator"]], "Thickness and discretization number (N) are passed through the dictionaries widthDict and nrDict, with values used in plot above.": [[6, "id5"]], "Other parameters, with values used in plot above.": [[6, "id6"]], "CoinCellBatteryGenerator": [[6, "coincellbatterygenerator"]], "Parameters for each component : thickness, diameter, number of cell layers (Nl), with the values used in the plot above (a CR 2016 coin cell)": [[6, "id7"]], "Other parameters, with values used in plot above": [[6, "id8"]], "BattMo GUI": [[7, "battmo-gui"]], "Welcome": [[8, "welcome"]], "Acknowledgements": [[8, "acknowledgements"]], "Installation and First Steps": [[9, "installation-and-first-steps"]], "Intermediate usage": [[10, "intermediate-usage"]], "Setup a P4D Model using mergeJsonStructs": [[10, "setup-a-p4d-model-using-mergejsonstructs"]], "Visualize Results": [[10, "visualize-results"]], "File links and insertions with parseBattmoJson": [[10, "file-links-and-insertions-with-parsebattmojson"]], "JSON input specification": [[11, "json-input-specification"]], "Simulation Schema": [[11, "simulation-schema"]], "Material Parameters": [[11, "material-parameters"]], "Electrolyte": [[11, "electrolyte"], [12, "electrolyte"]], "Electrode": [[11, "electrode"]], "Coating": [[11, "coating"], [12, "coating"]], "Active Material": [[11, "active-material"], [12, "active-material"]], "Interface": [[11, "interface"], [12, "interface"]], "Solid Diffusion": [[11, "solid-diffusion"], [12, "solid-diffusion"]], "Full Solid Diffusion": [[11, "full-solid-diffusion"]], "Binder": [[11, "binder"], [12, "binder"]], "Conducting Additive": [[11, "conducting-additive"], [12, "conducting-additive"]], "Current Collector": [[11, "current-collector"], [12, "current-collector"]], "Separator": [[11, "separator"], [12, "separator"]], "Thermal Model": [[11, "thermal-model"], [12, "thermal-model"]], "Geometry Setup": [[11, "geometry-setup"]], "Simulation Control Parameters": [[11, "simulation-control-parameters"]], "Time Stepping Parameters": [[11, "time-stepping-parameters"]], "Solver Parameters": [[11, "solver-parameters"]], "Output Parameters": [[11, "output-parameters"]], "Json input example": [[12, "json-input-example"]], "Simulation": [[12, "simulation"]], "Battery": [[12, "battery"]], "Negative Electrode": [[12, "negative-electrode"]], "Positive Electrode": [[12, "positive-electrode"]], "Geometry": [[12, "geometry"], [25, "geometry"]], "Model Specification": [[12, "model-specification"]], "Control": [[12, "control"], [25, "control"]], "Time Stepping": [[12, "time-stepping"]], "State Initialization": [[12, "state-initialization"]], "BattMo Julia bridge": [[13, "battmo-julia-bridge"]], "Introduction": [[13, "introduction"]], "Setup and Use": [[13, "setup-and-use"]], "The Battery Simulation Model": [[14, "the-battery-simulation-model"]], "Initialisation of a battery simulation model": [[14, "initialisation-of-a-battery-simulation-model"]], "Inspection of the model": [[14, "inspection-of-the-model"]], "Computing and inspecting some standard static properties of the model": [[14, "computing-and-inspecting-some-standard-static-properties-of-the-model"]], "Note on Octave Support": [[15, "note-on-octave-support"]], "Optimization": [[16, "optimization"]], "Parameter identification example": [[16, "parameter-identification-example"]], "Optimization example": [[16, "optimization-example"]], "Parameter sets": [[17, "parameter-sets"], [17, "id4"]], "BattMo Tutorial": [[18, "battmo-tutorial"]], "Setting up the environment": [[18, "setting-up-the-environment"], [25, "setting-up-the-environment"]], "Specifying the physical model": [[18, "specifying-the-physical-model"]], "Setting up the geometry": [[18, "setting-up-the-geometry"]], "Initialising the battery model object": [[18, "initialising-the-battery-model-object"]], "Plotting the OCP curves against state of charge": [[18, "plotting-the-ocp-curves-against-state-of-charge"]], "Controlling the simulation": [[18, "controlling-the-simulation"]], "Setting the initial state of the battery": [[18, "setting-the-initial-state-of-the-battery"]], "Running the simulation": [[18, "running-the-simulation"]], "Plotting the results": [[18, "plotting-the-results"]], "Source code for battMoTutorial": [[19, "source-code-for-battmotutorial"]], "Pseudo-Two-Dimensional (P2D) Lithium-Ion Battery Model": [[20, "pseudo-two-dimensional-p2d-lithium-ion-battery-model"]], "Import the required modules from MRST": [[20, "import-the-required-modules-from-mrst"], [27, "import-the-required-modules-from-mrst"], [29, "import-the-required-modules-from-mrst"]], "Setup the properties of Li-ion battery materials and cell design": [[20, "setup-the-properties-of-li-ion-battery-materials-and-cell-design"], [27, "setup-the-properties-of-li-ion-battery-materials-and-cell-design"]], "Setup the geometry and computational grid": [[20, "setup-the-geometry-and-computational-grid"]], "Initialize the battery model.": [[20, "initialize-the-battery-model"]], "Compute the nominal cell capacity and choose a C-Rate": [[20, "compute-the-nominal-cell-capacity-and-choose-a-c-rate"]], "Setup the time step schedule": [[20, "setup-the-time-step-schedule"]], "Setup the initial state of the model": [[20, "setup-the-initial-state-of-the-model"], [29, "setup-the-initial-state-of-the-model"]], "Setup the properties of the nonlinear solver": [[20, "setup-the-properties-of-the-nonlinear-solver"], [29, "setup-the-properties-of-the-nonlinear-solver"]], "Run the simulation": [[20, "run-the-simulation"], [22, "run-the-simulation"]], "Process output and recover the output voltage and current from the output states.": [[20, "process-output-and-recover-the-output-voltage-and-current-from-the-output-states"]], "Source code for runBatteryP2D": [[21, "source-code-for-runbatteryp2d"]], "Alkaline Membrane Electrolyser": [[22, "alkaline-membrane-electrolyser"]], "Load MRST modules": [[22, "load-mrst-modules"]], "Setup input": [[22, "setup-input"]], "Setup model": [[22, "setup-model"]], "Setup the initial condition": [[22, "setup-the-initial-condition"]], "Setup the schedule with the time discretization": [[22, "setup-the-schedule-with-the-time-discretization"]], "Setup the non-linear solver": [[22, "setup-the-non-linear-solver"]], "Visualize the results": [[22, "visualize-the-results"]], "pH distribution plot": [[22, "ph-distribution-plot"]], "Source code for runElectrolyser": [[24, "source-code-for-runelectrolyser"]], "BattMo example Json input": [[25, "battmo-example-json-input"]], "We load the json files": [[25, "we-load-the-json-files"]], "Material properties": [[25, "material-properties"]], "Simulation parameters": [[25, "simulation-parameters"]], "Ouput specificiations": [[25, "ouput-specificiations"]], "We start the simulation": [[25, "we-start-the-simulation"]], "Plotting": [[25, "plotting"], [27, "plotting"]], "Source code for runJsonScript": [[26, "source-code-for-runjsonscript"]], "Particle simulation with SEI layer growth": [[27, "particle-simulation-with-sei-layer-growth"]], "Setup the model": [[27, "setup-the-model"]], "Setup initial state": [[27, "setup-initial-state"]], "Setup schedule": [[27, "setup-schedule"]], "Setup non-linear solver": [[27, "setup-non-linear-solver"]], "Run simulation": [[27, "run-simulation"]], "Source code for runSEIActiveMaterial": [[28, "source-code-for-runseiactivematerial"]], "Composite Silicon Graphite electrode": [[29, "composite-silicon-graphite-electrode"]], "Shortcuts": [[29, "shortcuts"]], "Setup the properties of the battery": [[29, "setup-the-properties-of-the-battery"]], "Model Instantiation": [[29, "model-instantiation"]], "Setup schedule (control and time stepping)": [[29, "setup-schedule-control-and-time-stepping"]], "Run the simulation for the discharge": [[29, "run-the-simulation-for-the-discharge"]], "Setup charge schedule": [[29, "setup-charge-schedule"]], "Run the simulation for the charge perios": [[29, "run-the-simulation-for-the-charge-perios"]], "Visualisation": [[29, "visualisation"]], "Source code for runSiliconGraphiteBattery": [[30, "source-code-for-runsilicongraphitebattery"]], "runThermalModel": [[31, "runthermalmodel"]], "See Also": [[32, "see-also"]], "MRST": [[32, "mrst"]], "Visualization Tutorial": [[32, "visualization"]], "Grid Factory Tutorial": [[32, "id2"]], "FAIR Data": [[32, "fair-data"]], "Solid Diffusion Models": [[33, "solid-diffusion-models"]], "Thermal Simulation": [[34, "thermal-simulation"]], "List of curated examples": [[35, "list-of-curated-examples"]], "Units": [[36, "units"]], "Converting units in BattMo": [[36, "converting-units-in-battmo"]], "Units and JSON input": [[36, "units-and-json-input"]]}, "indexentries": {}})
\ No newline at end of file
+Search.setIndex({"docnames": ["advancedtopics", "architecture", "basicusage", "bibliography", "compositeElectrode", "controlinput", "geometryinput", "gui", "index", "installation", "intermediate", "json", "jsonexample", "juliabridge", "modelinitialisation", "octave", "optimisation", "parsets", "publishedExamples/battMoTutorial", "publishedExamples/battMoTutorial_source", "publishedExamples/runBatteryP2D", "publishedExamples/runBatteryP2D_source", "publishedExamples/runElectrolyser", "publishedExamples/runElectrolyserPreamble", "publishedExamples/runElectrolyser_source", "publishedExamples/runJsonScript", "publishedExamples/runJsonScript_source", "publishedExamples/runSEIActiveMaterial", "publishedExamples/runSEIActiveMaterial_source", "publishedExamples/runSiliconGraphiteBattery", "publishedExamples/runSiliconGraphiteBattery_source", "run_temperature_example", "seealso", "soliddiffusion", "thermal", "tutorials", "units"], "filenames": ["advancedtopics.rst", "architecture.rst", "basicusage.rst", "bibliography.rst", "compositeElectrode.rst", "controlinput.rst", "geometryinput.rst", "gui.rst", "index.rst", "installation.rst", "intermediate.rst", "json.rst", "jsonexample.rst", "juliabridge.rst", "modelinitialisation.rst", "octave.rst", "optimisation.rst", "parsets.rst", "publishedExamples/battMoTutorial.rst", "publishedExamples/battMoTutorial_source.rst", "publishedExamples/runBatteryP2D.rst", "publishedExamples/runBatteryP2D_source.rst", "publishedExamples/runElectrolyser.rst", "publishedExamples/runElectrolyserPreamble.rst", "publishedExamples/runElectrolyser_source.rst", "publishedExamples/runJsonScript.rst", "publishedExamples/runJsonScript_source.rst", "publishedExamples/runSEIActiveMaterial.rst", "publishedExamples/runSEIActiveMaterial_source.rst", "publishedExamples/runSiliconGraphiteBattery.rst", "publishedExamples/runSiliconGraphiteBattery_source.rst", "run_temperature_example.rst", "seealso.rst", "soliddiffusion.rst", "thermal.rst", "tutorials.rst", "units.rst"], "titles": ["Advanced Usage", "BattMo Model Architecture", "Basic Usage", "Reference lists", "Composite electrode json input file", "Control models", "Battery Geometries", "BattMo GUI", "Welcome", "Installation and First Steps", "Intermediate usage", "JSON input specification", "Json input example", "BattMo Julia bridge", "The Battery Simulation Model", "Note on Octave Support", "Optimization", "Parameter sets", "BattMo Tutorial", "Source code for battMoTutorial", "Pseudo-Two-Dimensional (P2D) Lithium-Ion Battery Model", "Source code for runBatteryP2D", "Alkaline Membrane Electrolyser", "<no title>", "Source code for runElectrolyser", "BattMo example Json input", "Source code for runJsonScript", "Particle simulation with SEI layer growth", "Source code for runSEIActiveMaterial", "Composite Silicon Graphite electrode", "Source code for runSiliconGraphiteBattery", "runThermalModel", "See Also", "Solid Diffusion Models", "Thermal Simulation", "List of curated examples", "Units"], "terms": {"The": [0, 1, 2, 3, 5, 6, 9, 10, 11, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 32, 33, 34, 36], "batteri": [0, 1, 2, 3, 5, 8, 10, 11, 16, 17, 19, 21, 24, 26, 28, 30, 35], "simul": [0, 1, 5, 6, 8, 16, 19, 21, 23, 24, 26, 28, 30, 31, 32, 35], "model": [0, 3, 6, 8, 9, 13, 16, 17, 19, 21, 23, 24, 26, 28, 30, 31, 32, 34, 35], "control": [0, 1, 10, 14, 16, 19, 20, 21, 22, 24, 26, 27, 28, 30, 31, 33, 34], "solid": [0, 1, 3, 8, 14], "diffus": [0, 1, 3, 14, 16, 18, 19], "paramet": [0, 1, 5, 12, 14, 18, 19, 20, 21, 22, 24, 26, 34], "set": [0, 2, 5, 6, 10, 11, 13, 14, 16, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 34], "unit": [0, 2, 12, 14], "thermal": [0, 1, 2, 3, 8, 16, 18, 19, 20, 21, 29, 30, 31], "optimis": 0, "octav": 0, "support": [0, 6, 11, 13, 32, 34, 36], "we": [1, 2, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36], "us": [1, 2, 5, 8, 9, 11, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 33, 34, 35, 36], "multi": [1, 2, 3, 8, 10], "approach": [1, 2, 10, 14, 16, 22, 23], "ar": [1, 2, 5, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 31, 33, 34, 35, 36], "organ": [1, 11], "hierarchi": [1, 2, 18, 19, 22, 23], "mean": [1, 6, 11, 13, 14, 15, 16, 18, 19, 34, 36], "given": [1, 2, 5, 10, 11, 12, 13, 14, 16, 18, 19, 22, 23, 25, 26, 27, 28, 29, 30, 33, 34, 36], "can": [1, 2, 5, 6, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 32, 34, 35, 36], "have": [1, 2, 5, 6, 10, 11, 13, 14, 15, 16, 18, 19, 21, 22, 23, 24, 26, 28, 29, 30, 33, 34], "sub": [1, 5, 11, 14, 17, 27, 28, 29, 30], "A": [1, 3, 5, 6, 11, 14, 18, 19, 21, 22, 23, 24, 25, 26, 28, 34], "correspond": [1, 6, 10, 11, 13, 14, 16, 17, 27, 28, 34, 36], "physic": [1, 2, 3, 8, 11, 16, 19, 22, 24], "system": [1, 2, 8, 13, 16, 22, 23, 24], "defin": [1, 11, 16, 18, 19, 20, 21, 22, 24, 29, 30], "function": [1, 2, 5, 6, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 32], "variabl": [1, 11, 14, 16, 18, 19, 22, 24, 27, 28, 32], "need": [1, 2, 10, 11, 14, 18, 19, 22, 23, 34], "assembl": [1, 22, 23], "discret": [1, 11, 14, 16, 18, 19, 20, 21, 23, 24, 32, 33], "govern": [1, 5, 14, 22, 23], "equat": [1, 3, 5, 11, 13, 14, 16, 22, 23, 24, 32, 33], "For": [1, 2, 5, 8, 9, 11, 13, 14, 16, 18, 19, 29, 30, 33, 34], "lithium": [1, 3, 8, 10, 11, 18, 19, 21, 35], "ion": [1, 2, 3, 8, 10, 11, 16, 18, 19, 21, 28, 35], "top": [1, 11], "see": [1, 2, 5, 6, 11, 12, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 33], "schema": [1, 5, 6, 14, 22, 23, 33], "descript": [1, 11], "standard": [1, 5, 6, 11, 13, 15, 16, 20, 21, 22, 24, 25, 26, 29, 30, 33, 34], "input": [1, 2, 6, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 26, 29, 34, 35], "contain": [1, 2, 5, 10, 11, 13, 14, 18, 19, 22, 24, 25, 26, 32], "follow": [1, 2, 5, 9, 10, 13, 14, 16, 17, 18, 19, 22, 23, 27, 28, 29, 30, 32, 34, 35], "neg": [1, 2, 6, 11, 14, 16, 18, 19, 22, 24, 29, 30], "electrod": [1, 2, 3, 6, 8, 10, 14, 16, 18, 19, 22, 23, 27, 28, 30, 33], "posit": [1, 2, 6, 11, 14, 16, 18, 19, 22, 24], "electrolyt": [1, 2, 3, 13, 14, 16, 18, 19, 20, 21, 22, 23, 27, 28], "separ": [1, 2, 6, 10, 14, 16, 17], "thermalmodel": [1, 2, 11, 12, 14, 16, 18, 19, 20, 21, 31, 34], "instanc": [1, 14, 18, 19, 20, 21], "same": [1, 2, 5, 10, 11, 14, 16, 18, 19, 22, 23, 34], "an": [1, 2, 3, 5, 6, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 25, 26, 36], "coat": [1, 2, 4, 6, 10, 14, 16, 18, 19, 20, 21, 29, 30, 34], "materi": [1, 6, 8, 10, 14, 16, 18, 19, 21, 26, 28, 29, 30, 31, 33, 34], "current": [1, 2, 5, 6, 10, 13, 16, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "collector": [1, 2, 6, 10, 16, 18, 19, 29, 30], "its": [1, 2, 11, 14, 16, 20, 21, 36], "ha": [1, 2, 8, 11, 13, 14, 16, 18, 19, 32], "two": [1, 2, 5, 10, 11, 21, 22, 23, 29, 30, 33, 34, 35], "i": [1, 2, 4, 5, 6, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 36], "option": [1, 11, 16, 19, 21, 24, 26, 28, 33], "In": [1, 2, 3, 5, 9, 10, 11, 12, 14, 15, 16, 18, 19, 33, 34, 35, 36], "particular": [1, 11, 14, 16, 19, 21, 24, 26, 28], "1d": [1, 6, 8, 11, 13, 15, 16, 18, 19, 20, 21, 22, 23, 24], "fact": [1, 11, 14, 16, 22, 23], "more": [1, 2, 5, 6, 10, 11, 13, 14, 15, 16, 19, 21, 24, 26, 28, 35], "realist": 1, "includ": [1, 2, 5, 6, 8, 11, 16, 17, 18, 19, 20, 21, 22, 23, 34, 35, 36], "associ": [1, 2], "three": [1, 16, 22, 23, 24], "which": [1, 2, 5, 6, 9, 10, 11, 13, 14, 16, 18, 19, 22, 23, 27, 28, 29, 30, 32, 34, 36], "compon": [1, 11, 14, 22, 23, 34], "activ": [1, 2, 5, 6, 8, 13, 14, 16, 18, 19, 20, 21, 33], "binder": [1, 14, 29, 30], "conduct": [1, 13, 14, 16, 22, 23, 34], "addit": [1, 14, 16, 33], "case": [1, 5, 10, 11, 12, 14, 16, 18, 19, 20, 21, 29, 30, 36], "composit": [1, 3, 11, 30], "differ": [1, 2, 6, 10, 11, 13, 16, 17, 22, 24, 25, 26, 29, 30, 34], "structur": [1, 5, 10, 11, 12, 13, 14, 15, 16, 18, 19, 22, 23, 24, 25, 26, 29, 30, 34], "describ": [1, 2, 5, 6, 10, 11, 13, 14, 17, 22, 23, 33], "interfac": [1, 2, 4, 6, 8, 10, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30, 34], "soliddiffus": [1, 4, 10, 11, 12, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30], "enter": [1, 11], "reaction": [1, 11, 22, 23], "butler": [1, 3, 11, 16], "volmer": [1, 3, 11, 16], "solv": [1, 5, 14, 15, 16, 22, 23, 24, 33], "implement": [1, 5, 6, 11, 13, 14, 22, 23, 24, 33], "here": [1, 2, 4, 5, 6, 9, 10, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 32, 33, 34, 36], "do": [1, 2, 5, 6, 10, 11, 14, 15, 16, 18, 19, 22, 24, 25, 26, 29, 30, 34, 36], "detail": [1, 2, 6, 9, 10, 14, 16, 19, 21, 22, 23, 24, 26, 28], "exampl": [1, 2, 5, 6, 9, 10, 11, 13, 14, 18, 19, 20, 21, 22, 23, 26, 27, 28, 31, 34, 36], "fulli": [1, 8, 13, 14], "coupl": [1, 6, 8, 11, 16, 22, 23, 31, 34], "present": [1, 11, 12, 16], "thi": [2, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 33, 35, 36], "section": [2, 10, 11, 14], "still": [2, 16], "under": [2, 8, 11, 16, 19, 21, 24, 26, 28], "develop": [2, 3, 8, 15, 16, 32], "introduc": [2, 16], "some": [2, 5, 6, 11, 15, 16, 18, 19, 20, 21, 27, 28, 29, 30, 36], "simpl": [2, 11, 16, 20, 21, 22, 23, 34], "workflow": [2, 16], "highlight": 2, "import": [2, 13, 14, 16, 21, 28, 30], "let": [2, 5, 10, 14, 34], "": [2, 8, 10, 16, 20, 21, 31, 33, 34], "make": [2, 11, 13, 14, 15, 16, 18, 19, 36], "your": [2, 8, 9, 13, 14, 19, 21, 24, 26, 28], "build": [2, 8, 10, 22, 23], "visual": [2, 6, 15, 24, 34], "p2d": [2, 16, 21, 35], "simult": 2, "li": [2, 3, 8, 10, 16, 21, 28], "cell": [2, 3, 8, 10, 11, 14, 16, 18, 19, 21, 22, 23, 24, 25, 26, 28, 34, 35], "how": [2, 5, 10, 14, 16, 18, 19, 20, 21], "handl": [2, 11, 16], "final": [2, 13, 14, 16, 18, 19, 31], "discuss": [2, 16], "json": [2, 6, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 33, 34, 35], "manag": [2, 8, 13], "allow": [2, 8, 10], "you": [2, 8, 9, 10, 13, 14, 16, 19, 21, 24, 26, 28, 32, 36], "easili": [2, 11], "save": [2, 11, 16], "document": [2, 8, 11, 32], "share": [2, 22, 23], "complet": [2, 5, 16, 18, 20, 22, 25, 27, 29], "from": [2, 5, 6, 8, 9, 10, 11, 13, 14, 16, 18, 19, 21, 22, 23, 24, 25, 26, 28, 30, 34], "specif": [2, 10, 14, 18, 19, 22, 24, 25, 26, 34], "long": 2, "explicit": [2, 11, 14], "kei": [2, 6, 11, 16], "name": [2, 5, 6, 11, 14, 16, 17, 18, 19, 20, 21, 35], "good": [2, 16, 33], "readabl": [2, 22, 23], "If": [2, 11, 16, 19, 21, 24, 26, 28, 35, 36], "new": [2, 16, 29, 30, 32], "learn": 2, "about": [2, 10, 16, 18, 19], "avail": [2, 5, 6, 11, 13, 14, 16, 17, 18, 19], "provid": [2, 5, 6, 8, 9, 10, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 36], "sampl": [2, 5], "file": [2, 11, 12, 13, 14, 17, 18, 19, 21, 22, 24, 26, 28, 29, 30, 36], "sample_input": [2, 5, 14], "nmc": [2, 10, 16], "graphit": [2, 4, 10, 16, 30], "load": [2, 5, 11, 13, 16, 18, 19, 20, 21, 24, 26, 27, 28, 29, 30], "pars": [2, 10, 14, 18, 19], "command": [2, 9, 13, 14, 25, 26], "jsonstruct": [2, 5, 10, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34, 36], "parsebattmojson": [2, 5, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "jsondatafil": [2, 5, 10, 14, 16, 25, 26, 31, 34], "transform": 2, "data": [2, 6, 10, 11, 13, 14, 15, 16, 17, 22, 23, 27, 28, 29, 30, 35], "matlab": [2, 8, 9, 10, 11, 13, 14, 15, 16, 18, 19, 25, 26], "setup": [2, 5, 6, 9, 14, 16, 18, 19, 21, 23, 24, 25, 26, 28, 30, 31, 34], "within": [2, 10, 13, 14], "window": [2, 9, 13, 14], "navig": [2, 9], "level": [2, 8, 11, 14, 18, 19, 22, 23], "want": [2, 5, 11, 16, 18, 19], "know": [2, 5, 11, 14, 18, 19], "thick": [2, 11, 12, 27, 28], "give": [2, 5, 11, 13, 16, 34], "negativeelectrod": [2, 4, 10, 11, 12, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30], "return": [2, 11, 13, 14, 15, 16, 20, 21, 36], "6": [2, 3, 12, 13, 36], "4000e": 2, "05": [2, 12, 14, 16, 27, 28, 36], "unless": 2, "otherwis": [2, 11, 17, 20, 21], "specifi": [2, 11, 14, 16, 19], "si": [2, 14, 36], "base": [2, 3, 6, 8, 16, 18, 19, 29, 30, 32], "quantiti": [2, 8, 14, 16, 22, 24, 34], "runbatteryjson": [2, 10, 16, 25, 26, 31, 34], "main": [2, 6, 11, 22, 23], "plotdashboard": 2, "time": [2, 5, 10, 13, 14, 15, 16, 18, 19, 21, 23, 24, 25, 26, 27, 28, 30, 31, 33, 34], "10": [2, 3, 4, 6, 12, 13, 16, 20, 21, 22, 24, 27, 28, 29, 30], "solut": [2, 3, 8, 10, 14, 15, 33], "timestep": [2, 5, 11, 12, 13, 16, 18, 19, 25, 26], "left": [2, 16], "3": [2, 3, 4, 5, 6, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 36], "column": [2, 16], "profil": [2, 8, 16, 27, 28, 33], "concentr": [2, 8, 10, 11, 12, 18, 19, 22, 23, 24, 27, 28, 33], "electr": [2, 3, 8, 27, 28], "potenti": [2, 5, 8, 11, 16, 20, 21, 27, 28], "rightmost": 2, "calcul": [2, 8, 16, 18, 19, 20, 21, 36], "voltag": [2, 5, 8, 11, 13, 14, 16, 18, 19, 21, 22, 24, 25, 26, 29, 30, 31], "subsect": 2, "access": [2, 14, 18, 19, 22, 23, 34], "among": 2, "other": [2, 8, 11, 12, 13, 14, 16, 18, 19], "thing": [2, 18, 19, 25, 26, 36], "1x1": [2, 14], "struct": [2, 5, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 36], "inform": [2, 8, 11, 16, 18, 19, 29, 30], "initi": [2, 5, 8, 11, 14, 16, 19, 21, 23, 24, 28, 30, 33], "condit": [2, 11, 14, 24], "while": [2, 11, 22, 23], "each": [2, 5, 11, 14, 15, 16, 18, 19, 22, 23, 24, 25, 26, 33, 34], "requir": [2, 5, 11, 14, 15, 16, 18, 19, 21, 28, 30], "e": [2, 3, 10, 11, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 36], "what": [2, 16], "where": [2, 5, 9, 10, 11, 13, 14, 16, 18, 19, 22, 23, 25, 26, 34], "valu": [2, 5, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34, 36], "mesh": [2, 6, 29, 30], "one": [2, 6, 9, 10, 16, 18, 19, 22, 23, 31, 34], "most": [2, 5, 10, 14, 16], "properti": [2, 5, 10, 11, 13, 16, 18, 19, 21, 22, 24, 26, 28, 30, 31, 34], "g": [2, 10, 14, 16, 22, 24, 31, 34], "store": [2, 18, 19, 20, 21, 22, 24], "face": [2, 6, 31, 34], "node": 2, "etc": [2, 36], "centroid": [2, 22, 24], "To": [2, 6, 11, 13, 14, 16, 18, 19, 25, 26, 34], "x": [2, 6, 8, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "zero": [2, 5, 11, 16, 20, 21, 34], "size": [2, 5, 18, 19, 22, 23], "o": [2, 3], "xlabel": [2, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "m": [2, 3, 18, 20, 22, 25, 27, 28, 29, 31, 34], "overal": [2, 5, 10, 11, 33], "howev": [2, 10, 11, 14, 15, 36], "modular": [2, 10], "compos": [2, 11], "smaller": [2, 16, 20, 21], "submodel": [2, 11, 14, 18, 19, 20, 21, 22, 24], "own": [2, 15], "color": [2, 22, 24], "x_ne": 2, "x_sep": 2, "x_pe": 2, "positiveelectrod": [2, 10, 11, 12, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30], "hold": [2, 16, 18, 19, 22, 24, 27, 28, 29, 30, 31, 34], "ok": 2, "would": [2, 9, 10, 14], "like": [2, 8, 9, 10, 15, 16], "pleas": [2, 8], "architectur": [2, 14, 20, 21], "arrai": [2, 5, 11, 14, 18, 19], "entri": 2, "look": [2, 5, 10, 14, 16, 22, 23, 34], "shown": [2, 10, 14, 16, 36], "abov": [2, 5, 11, 13, 14, 16, 22, 23, 27, 28], "1": [2, 3, 4, 5, 6, 10, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 34, 36], "504": 2, "second": [2, 5, 18, 19], "c": [2, 3, 13, 14, 18, 19, 21, 27, 28, 31, 34], "30": [2, 6, 16, 20, 21], "doubl": [2, 14], "phi": [2, 13], "vector": [2, 16, 18, 19, 31, 34], "match": [2, 10, 14, 16, 33], "wai": [2, 5, 11, 13, 18, 19, 22, 23, 34], "ylabel": [2, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "mol": [2, 10, 12, 22, 23, 24, 27, 28, 36], "cdot": 2, "also": [2, 5, 6, 9, 10, 11, 14, 15, 16, 18, 19, 22, 23, 27, 28, 33, 36], "dedic": [2, 11, 14, 32], "come": [2, 18, 19, 22, 23, 27, 28], "handi": 2, "when": [2, 5, 10, 11, 13, 14, 16, 18, 19, 25, 26, 36], "start": [2, 5, 9, 11, 16, 18, 19, 26, 29, 30], "work": [2, 14, 36], "complex": [2, 8, 10, 22, 23], "p4d": 2, "gener": [2, 5, 6, 8, 11, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 32], "plotcelldata": [2, 10, 31, 34], "That": [2, 10], "post": [2, 11], "process": [2, 5, 10, 11, 14, 21, 22, 23, 34], "But": [2, 13], "lot": [2, 34], "excit": 2, "featur": 2, "discov": 2, "keep": [2, 5, 11], "go": [2, 5, 13], "chage": 2, "try": 2, "discharg": [2, 3, 5, 11, 14, 16, 20, 21, 30, 33, 34], "rate": [2, 11, 21, 27, 28], "onc": [2, 13, 18, 19, 22, 23], "been": [2, 11, 14, 18, 19, 29, 30, 32, 33], "read": [2, 11, 22, 24], "modifi": [2, 11, 19, 21, 24, 26, 28], "programmat": 2, "loop": 2, "replac": [2, 5, 13], "re": [2, 8, 10], "crate": [2, 5, 11, 12, 14, 16, 18, 19, 20, 21, 25, 26, 29, 30], "0": [2, 4, 5, 6, 10, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 34, 36], "5": [2, 5, 6, 10, 12, 13, 16, 18, 19, 20, 21, 22, 24, 27, 28], "2": [2, 3, 5, 6, 11, 12, 13, 14, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 34], "figur": [2, 5, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 34], "numel": [2, 16, 18, 19, 22, 24, 27, 28, 29, 30], "cellfun": [2, 13, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "hour": [2, 13, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 34], "linewidth": [2, 13], "end": [2, 14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34], "off": [2, 18, 19], "comparison": [2, 3, 35], "curv": [2, 16, 19, 22, 24, 33, 34], "now": [2, 5, 10, 13, 14, 16, 18, 19, 20, 21, 29, 30], "could": [2, 11, 13, 16, 29, 30], "consid": [2, 10, 11, 12, 22, 23, 24, 29, 30, 33], "take": [2, 10, 11, 13, 14, 15, 16, 18, 19, 25, 26, 34], "previou": [2, 11, 14], "iter": [2, 5, 9, 11, 16, 20, 21, 22, 24, 29, 30], "through": [2, 9, 11, 17, 34], "16": [2, 6, 18, 19, 29, 30], "32": 2, "48": 2, "64": [2, 6], "1e": [2, 4, 5, 12, 13, 16, 20, 21, 27, 28, 29, 30], "thin": [2, 34], "capac": [2, 3, 5, 11, 14, 21, 34], "limit": [2, 5, 11, 16], "increas": [2, 5, 11, 22, 23, 24], "eventu": 2, "becom": 2, "collect": [2, 18, 19, 25, 26], "scientif": [2, 15], "literatur": 2, "lfp": 2, "clear": [2, 14, 16, 18, 19, 20, 21, 27, 28], "workspac": [2, 16, 20, 21, 27, 28], "reload": 2, "origin": [2, 16], "clean": 2, "slate": 2, "all": [2, 5, 6, 12, 14, 16, 18, 19, 20, 21, 22, 23, 24, 27, 28, 34, 36], "close": [2, 13, 16, 18, 19, 20, 21, 27, 28], "librari": 2, "move": 2, "right": [2, 11, 16], "place": [2, 10, 11], "parameterdata": [2, 4, 10, 16, 17, 18, 19, 20, 21, 25, 26, 27, 28, 29, 30, 31, 34], "materialproperti": [2, 4, 10, 17], "jsonstruct_lfp": 2, "activemateri": [2, 10, 11, 12, 14, 16, 18, 19, 20, 21, 27, 28, 29, 30], "merg": [2, 10, 25, 26, 29, 30, 34], "our": [2, 5, 6, 8, 10, 13, 14, 16, 29, 30, 34], "exist": [2, 11], "mergejsonstruct": [2, 11, 16, 25, 26, 29, 30, 31, 34], "sure": [2, 11, 14, 16, 18, 19, 36], "consist": [2, 11, 14, 18, 19, 22, 23, 34], "across": 2, "densiti": [2, 4, 10, 11, 12, 14, 16, 36], "effectivedens": [2, 11, 12], "900": 2, "And": 2, "written": [2, 11, 13], "publish": [2, 19, 21, 24, 26, 28, 35], "live": 2, "code": [2, 10, 13, 14, 16, 18, 20, 22, 23, 25, 27, 29, 36], "format": [2, 20, 21, 22, 23], "mlx": 2, "thei": [2, 10, 11, 14, 16, 17, 22, 23, 34, 35, 36], "interact": 2, "manner": [2, 14], "found": [2, 5, 16, 18, 19, 20, 22, 25, 27, 29, 35, 36], "directori": [2, 9, 11, 13, 17, 35], "download": 2, "tutori": [2, 8, 10, 16, 19, 35], "view": [2, 18, 19, 31, 34], "protocol": 2, "4": [2, 5, 6, 12, 13, 14, 16, 20, 21, 25, 26, 27, 28, 29, 30], "cc": [2, 5, 11, 16, 18, 19, 20, 21], "cv": 2, "cycl": [2, 5, 16], "perform": [2, 3, 8, 10, 16], "7": [2, 6, 16], "8": [2, 3, 4, 13], "layer": [2, 10, 11, 14, 22, 23, 28, 35], "pouch": [2, 11], "9": [2, 6, 16, 29, 30], "cylindr": 2, "congratul": 2, "familiar": 2, "should": [2, 11, 13, 14, 15, 16, 19, 21, 24, 26, 28, 35], "enough": [2, 6, 14], "advanc": [2, 8, 14], "up": [2, 5, 6, 13, 16, 19, 20, 21, 22, 23, 26], "custom": 2, "p3d": 2, "effect": [2, 3, 10, 11, 14, 16, 18, 19, 31, 34], "cporegan": [3, 17, 33], "20": [3, 6, 10, 17, 31, 33], "chang": [3, 5, 14, 16, 18, 19, 20, 21, 29, 30, 31], "hui": 3, "chen": [3, 17, 33, 35], "ferran": 3, "planella": 3, "kieran": 3, "regan": 3, "dominika": 3, "gastol": 3, "dhammika": 3, "widanagea": 3, "emma": 3, "kendrick": 3, "experiment": [3, 16], "techniqu": 3, "parameter": [3, 6, 11, 14, 16], "scale": [3, 6, 8, 10, 16, 18, 19], "journal": 3, "electrochem": [3, 8, 10, 11], "societi": 3, "167": 3, "080534": 3, "2020": [3, 8, 11, 17], "doi": 3, "1149": 3, "1945": 3, "7111": 3, "ab9050": 3, "dfn93": [3, 33], "marc": 3, "doyl": [3, 8], "thoma": 3, "f": 3, "fuller": [3, 8, 33], "john": 3, "newman": [3, 8, 33], "galvanostat": 3, "charg": [3, 5, 11, 14, 19, 22, 23, 30], "polym": 3, "insert": 3, "140": 3, "1526": 3, "1533": 3, "june": 3, "1993": 3, "url": 3, "http": [3, 8, 9, 11, 19, 21, 24, 26, 28], "dx": 3, "org": [3, 11, 19, 21, 24, 26, 28], "2221597": 3, "gbk": [3, 22, 23], "23": [3, 22, 23], "michael": 3, "robert": 3, "gerhardt": 3, "alejandro": 3, "barnett": 3, "thulil": 3, "khoza": 3, "patrick": 3, "fortin": 3, "sara": 3, "andrenacci": 3, "alaa": 3, "y": [3, 6], "faid": 3, "p": [3, 14, 16], "\u00e5": 3, "l": [3, 6, 14, 27, 28], "emil": 3, "england": 3, "karstensen": 3, "svein": 3, "sund": 3, "simon": 3, "clark": 3, "open": [3, 8, 9, 11, 15, 16, 20, 21, 27, 28, 32], "sourc": [3, 5, 6, 8, 9, 10, 11, 15, 16, 18, 20, 22, 23, 25, 27, 29, 32], "continuum": [3, 8], "anion": 3, "exchang": [3, 11, 16, 22, 23, 34], "membran": [3, 23, 24, 35], "water": [3, 22, 23], "electrolysi": [3, 22, 23], "meet": 3, "abstract": 3, "243": 3, "number": [3, 5, 8, 11, 16, 20, 21, 29, 30], "36": 3, "2002": 3, "inc": 3, "2023": [3, 19, 21, 24, 26, 28], "lz13": [3, 14], "arnulf": 3, "latz": 3, "jochen": 3, "zausch": 3, "thermodynam": 3, "deriv": [3, 5, 13, 16, 22, 23], "intercal": 3, "electrochimica": 3, "acta": 3, "110": 3, "358": 3, "362": 3, "nov": 3, "2013": 3, "1016": 3, "j": [3, 22, 24], "electacta": 3, "06": [3, 4, 12, 16], "043": 3, "lz16": [3, 14], "multiscal": 3, "aspect": 3, "jul": 3, "2016": 3, "1515": 3, "nano": [3, 27, 28], "bjneah": 3, "102": 3, "lzi11": [3, 14], "oleg": 3, "iliev": 3, "speci": [3, 11, 12], "transport": [3, 11, 14, 22, 23], "non": [3, 5, 11, 14, 23, 24, 28], "equilibrium": [3, 11, 14, 18, 19], "numer": [3, 8, 16, 18, 19], "method": [3, 5, 13, 14, 16, 18, 19, 20, 21, 22, 24, 29, 30, 33], "applic": 3, "page": [3, 7, 11, 12], "329": 3, "337": 3, "springer": 3, "berlin": 3, "heidelberg": 3, "2011": 3, "1007": 3, "978": 3, "642": 3, "18466": 3, "6_39": 3, "lxl": [3, 17], "15": [3, 4, 6, 12, 17, 18, 19, 22, 24, 27, 28, 31], "chunj": 3, "lin": [3, 17], "sichuan": 3, "xu": 3, "zhao": 3, "bin": 3, "guofeng": 3, "jinl": 3, "liu": 3, "analysi": 3, "larg": [3, 9, 16, 33], "lifepo4": 3, "power": [3, 8, 16], "vehicl": 3, "294": 3, "633": 3, "2015": [3, 17], "jpowsour": 3, "129": 3, "smtd09": [3, 17], "safari": [3, 17], "morcrett": 3, "teyssot": 3, "delacourt": 3, "multimod": 3, "ag": 3, "life": [3, 18, 19], "predict": 3, "156": 3, "a145": 3, "2009": [3, 17], "3043429": 3, "sgw19": 3, "lauren": 3, "n": [3, 4, 5, 11, 12, 14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "stanislaw": 3, "r": [3, 16, 27, 28], "adam": 3, "z": [3, 6], "weber": 3, "electrolyz": [3, 8], "ec": 3, "transact": 3, "92": [3, 4], "767": 3, "2019": 3, "zw07a": 3, "qi": 3, "zhang": 3, "ralph": 3, "white": 3, "approxim": [3, 16, 33], "phase": [3, 11, 22, 23, 33], "porou": [3, 11, 22, 23], "165": 3, "880": 3, "886": 3, "2007": 3, "2006": 3, "12": [3, 11, 16], "056": 3, "zw07b": [3, 33], "march": 3, "part": [4, 6, 11, 16, 17, 18, 19, 21, 22, 23, 24, 26, 28, 33], "silicon": [4, 30], "active_material_typ": [4, 11, 12], "activematerial1": [4, 11, 29, 30], "specificheatcapac": [4, 11, 12, 14], "632": [4, 12, 14], "heatcapac": 4, "632000": 4, "thermalconduct": [4, 11, 12, 14], "04": [4, 12], "electronicconduct": [4, 11, 12, 14], "100": [4, 6, 11, 12, 14, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34], "massfract": [4, 11, 12, 14, 29, 30], "2240": [4, 10, 12, 14], "isfil": [4, 10, 11, 12], "true": [4, 5, 10, 11, 12, 13, 16, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34], "filenam": [4, 10, 12], "diffusionmodeltyp": [4, 11, 12, 16, 18, 19, 33], "full": [4, 12, 13, 18, 19, 33, 36], "activationenergyofdiffus": [4, 11, 12], "5000": [4, 10, 12], "referencediffusioncoeffici": [4, 11, 12], "9e": [4, 12], "14": [4, 12, 22, 24], "particleradiu": [4, 11, 12, 27, 28], "activematerial2": [4, 11, 29, 30], "08": [4, 29, 30], "2330": 4, "6e": 4, "determin": [5, 11, 16], "type": [5, 10, 11, 12, 13, 17, 18, 19, 33], "At": [5, 11, 16], "total": [5, 11, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "plan": [5, 8, 9, 11, 13], "below": [5, 10, 11, 13, 14, 16, 18, 19, 22, 23, 36], "short": [5, 16], "explan": 5, "call": [5, 13, 14, 16, 18, 19], "battmo": [5, 8, 9, 10, 11, 14, 15, 16, 19, 21, 22, 23, 24, 26, 28, 32, 33, 34, 35], "constant": [5, 11, 16], "ccdischarg": [5, 11, 12, 16, 18, 19, 20, 21, 29, 30], "cccharg": [5, 11], "cccv": [5, 11, 20, 21], "controlmodel": [5, 11], "u": [5, 10, 14, 22, 23, 34, 35], "review": 5, "them": [5, 14, 16, 22, 23], "controlpolici": [5, 11, 12, 20, 21], "befor": [5, 6, 34, 36], "comput": [5, 11, 13, 15, 16, 18, 19, 21, 22, 23, 24, 27, 28, 29, 30, 32, 33, 34], "lower": [5, 11, 16], "cutoff": [5, 11], "stop": [5, 11, 16, 18, 19, 20, 21], "usecvswitch": [5, 11, 16], "continu": 5, "until": [5, 11, 13, 16], "fix": [5, 11], "switch": [5, 11, 20, 21], "strong": [5, 16], "linear": [5, 11, 14, 16, 23, 24, 28], "mai": [5, 10, 11, 13, 15, 16], "creat": [5, 6, 10, 11, 13, 18, 19, 31, 34], "difficulti": [5, 15], "reach": [5, 11, 16], "reason": [5, 11, 13, 14, 16, 34], "possibl": [5, 8, 11, 13, 16, 18, 19, 22, 23, 34], "rampup": [5, 11, 27, 28, 29, 30], "gradual": 5, "target": [5, 11, 29, 30], "rampuptim": [5, 11, 12, 16], "lowercutoffvoltag": [5, 11, 12, 16, 18, 19, 20, 21, 29, 30], "dataset": [5, 33], "obtain": [5, 10, 11, 14, 16, 25, 26, 34], "result": [5, 13, 16, 19, 23, 24, 34], "first": [5, 6, 10, 13, 14, 16, 18, 19, 25, 26, 34], "upper": [5, 11], "cuttoff": 5, "As": [5, 11, 16], "uppercutoffvoltag": [5, 11, 12, 20, 21, 29, 30], "initialcontrol": [5, 11, 20, 21], "numberofcycl": [5, 11], "didtlimit": [5, 11, 12, 20, 21], "dedtlimit": [5, 11, 12, 20, 21], "procedur": [5, 16], "Then": [5, 9, 14, 15, 16, 34], "step": [5, 10, 13, 14, 15, 16, 18, 19, 21, 22, 23, 24, 27, 28, 30, 34], "frac": 5, "de": 5, "dt": [5, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "opposit": 5, "sign": [5, 16, 29, 30], "monitor": 5, "di": 5, "than": [5, 13, 16], "again": [5, 16, 34], "script": [5, 9, 15, 25, 26, 33, 34, 35], "besid": 5, "simulateschedulead": [5, 14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "run": [5, 9, 11, 14, 15, 16, 19, 21, 23, 24, 25, 26, 28, 30, 31, 34, 35], "It": [5, 8, 10, 11, 13, 14, 15, 16, 18, 19, 34], "problem": [5, 13, 14, 16], "state": [5, 8, 10, 11, 13, 14, 16, 19, 21, 22, 24, 25, 26, 28, 30, 31, 34], "schedul": [5, 14, 16, 18, 19, 21, 24, 28, 30], "field": [5, 11, 18, 19, 22, 24, 27, 28, 29, 30, 34, 36], "typic": [5, 11, 14, 34], "src": [5, 16, 22, 24, 27, 28, 29, 30], "equal": [5, 18, 19, 31, 34], "val": [5, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34, 36], "index": [5, 31, 34], "indic": [5, 11], "choos": [5, 11, 21, 33], "sinusoid": 5, "t": [5, 10, 11, 13, 18, 19, 20, 21, 27, 28, 31, 34], "minut": [5, 16], "ones": [5, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "period": [5, 29, 30], "amper": [5, 22, 24, 27, 28, 36], "sin": 5, "pi": [5, 11], "setupmodelfromjson": [5, 14, 31, 34], "soc": [5, 11, 12, 14, 18, 19, 29, 30], "so": [5, 14, 16, 34], "hit": [5, 16], "99": [5, 12], "default": [5, 6, 11, 12, 16, 20, 21, 22, 24, 29, 30, 34], "initialis": [5, 11, 19, 29, 30], "setupinitialst": [5, 16, 18, 19, 20, 21, 29, 30], "initst": [5, 14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "examplecontrol": 5, "multidimension": 6, "3d": [6, 8, 11, 12, 15, 34, 35], "must": [6, 11, 13, 16, 18, 19, 25, 26, 36], "class": [6, 13, 16, 18, 19, 20, 21, 29, 30], "batterygener": 6, "templat": 6, "construct": [6, 11, 14, 16], "sepat": 6, "between": [6, 11, 16, 22, 23, 33], "those": [6, 11, 14, 15, 22, 24, 34], "output": [6, 10, 14, 16, 18, 19, 21, 25, 26, 29, 30, 31, 34], "grid": [6, 8, 11, 13, 14, 16, 18, 19, 21, 22, 24], "reli": [6, 10, 13, 22, 23, 32], "essenti": [6, 8, 11, 32], "mrst": [6, 8, 9, 10, 11, 16, 18, 19, 21, 24, 25, 26, 28, 30], "tool": 6, "often": [6, 11, 16], "small": [6, 11, 13, 14, 16, 34], "whole": [6, 34], "geometr": [6, 10, 11, 25, 26, 34], "illustr": [6, 16, 22, 23], "list": [6, 11, 13, 14, 17, 22, 23, 36], "produc": [6, 14, 22, 24, 33], "aref": 6, "sake": 6, "length": [6, 18, 19], "25": [6, 16], "\u03bcm": 6, "57": 6, "ccnen": 6, "nenx": 6, "sepnx": 6, "penx": 6, "ccpenx": 6, "area": [6, 11, 14, 16], "facearea": [6, 11], "cm": [6, 14, 22, 23, 24], "2d": [6, 8, 11, 35], "xlength": 6, "50": [6, 12, 31, 34], "80": [6, 16], "direct": [6, 10, 11, 14, 20, 21, 33], "ylength": 6, "ccnenx": 6, "ny": [6, 11], "consis": 6, "onli": [6, 11, 13, 14, 15, 16, 22, 23, 24, 33, 34], "tab": [6, 10, 11, 12, 34], "ax": 6, "show": [6, 25, 26, 27, 28, 29, 30, 31, 34], "last": [6, 27, 28, 29, 30, 33, 34], "4cm": 6, "1mn": 6, "mm": [6, 22, 24, 27, 28], "sep_nz": 6, "ne_am_nz": 6, "pe_am_nz": 6, "ne_cc_nz": 6, "pe_cc_nz": 6, "interior": 6, "region": [6, 11], "int_elyte_nx": 6, "ne_cc_nx": 6, "pe_cc_nx": 6, "elyte_ni": 6, "ne_cc_ni": 6, "pe_cc_ni": 6, "jelli": [6, 10, 14, 35], "roll": [6, 10, 14, 35], "th": 6, "4680": 6, "negativeco": 6, "94": [6, 12], "negativecurrentcollector": 6, "positiveco": 6, "84": 6, "positivecurrentcollector": 6, "wind": 6, "spiral": 6, "nwind": 6, "52": 6, "inner": [6, 11], "radiu": [6, 11, 27, 28], "correspod": 6, "empti": [6, 11], "space": [6, 8, 11, 16, 22, 23], "middl": 6, "rinner": 6, "height": [6, 11, 12], "70": 6, "angular": [6, 11], "na": [6, 8, 11], "longitudon": 6, "There": [6, 10, 11, 14], "73": 6, "18": [6, 18, 19, 29, 30], "67": 6, "radial": [6, 33], "numradi": 6, "numangular": 6, "fill": 7, "toolbox": [8, 15, 19, 21, 24, 26, 28], "comprehens": 8, "devic": 8, "julia": 8, "facilit": 8, "deep": [8, 22, 24], "understand": 8, "virtual": 8, "dynam": 8, "spatial": [8, 10, 22, 23, 33], "temperatur": [8, 11, 12, 14, 18, 19, 27, 28, 31, 34], "focus": 8, "broader": 8, "extens": [8, 10], "chemistri": [8, 16], "metal": 8, "air": 8, "zinc": 8, "along": [8, 19, 21, 24, 26, 28], "hydrogen": [8, 22, 23], "fuel": 8, "offer": 8, "flexibl": [8, 13], "framework": 8, "geometri": [8, 10, 13, 14, 16, 19, 21, 22, 23, 26, 31, 34, 35], "reservoir": [8, 32], "effici": [8, 16], "finit": [8, 14, 16], "volum": [8, 11, 14, 16, 22, 23, 33, 34], "solver": [8, 9, 13, 14, 15, 16, 18, 19, 21, 24, 28, 30, 32], "ensur": [8, 14], "swift": 8, "even": [8, 14, 19, 21, 22, 23, 24, 26, 28, 36], "whether": 8, "research": 8, "gatewai": 8, "unlock": 8, "dive": 8, "explor": [8, 10], "latest": 8, "video": [8, 9], "project": [8, 13], "galleri": 8, "visit": 8, "webpag": [8, 32], "batterymodel": 8, "com": [8, 9, 26], "receiv": [8, 19, 21, 24, 26, 28], "fund": 8, "european": 8, "union": 8, "horizon": 8, "innov": 8, "program": [8, 15, 16], "grant": 8, "agreement": [8, 33], "875527": 8, "hybrid": 8, "energi": [8, 11, 14, 16, 19, 21, 24, 26, 28], "next": [8, 10, 16], "hydra": 8, "957189": 8, "genom": 8, "acceler": 8, "platform": 8, "big": [8, 13], "map": 8, "101069765": 8, "sustain": [8, 19, 21, 24, 26, 28], "high": [8, 11], "ev": 8, "intellig": 8, "101104031": 8, "domain": [8, 11, 22, 24, 34], "digit": [8, 19, 21, 24, 26, 28, 32], "twin": 8, "batmax": 8, "clone": 9, "git": 9, "repositori": 9, "recurs": [9, 14], "submodul": 9, "depend": [9, 11, 14, 16, 34], "termin": [9, 16], "github": [9, 13], "battmoteam": 9, "startupbattmo": 9, "check": [9, 11, 16], "correctli": [9, 16], "runbatteryp2d": [9, 20], "guid": 9, "consult": 9, "necessari": [9, 18, 19, 29, 30], "version": [9, 16, 19, 21, 24, 26, 28], "2012": 9, "agmg": [9, 18, 19, 20, 21], "integr": [9, 16, 32], "newer": 9, "amgcl": [9, 20, 21], "pseudo": [10, 21, 33, 35], "four": 10, "dimension": [10, 21, 22, 23, 35], "mix": 10, "definit": [10, 11, 14], "shape": 10, "computation": 10, "expens": 10, "therefor": [10, 11, 14, 15], "usual": [10, 16], "reserv": 10, "specici": 10, "plai": [10, 16], "signific": [10, 16], "role": [10, 16], "similar": [10, 16, 18, 19], "basic": [10, 16, 18, 19], "aim": [10, 15], "without": [10, 12, 13, 16, 19, 21, 24, 26, 28, 36], "much": [10, 16], "multipl": [10, 16], "combin": [10, 16, 20, 21], "five": [10, 16], "polici": [10, 18, 19, 20, 21], "jsonfilenam": [10, 25, 26, 31, 34], "batterycellparamet": [10, 16, 17, 18, 19, 20, 21, 25, 26, 29, 30, 31, 34], "lithiumionbatterycel": [10, 16, 18, 19, 20, 21, 25, 26, 29, 30, 31, 34], "lithium_ion_battery_nmc_graphit": [10, 16, 18, 19, 20, 21, 25, 26, 29, 30, 31, 34], "jsonstruct_materi": [10, 25, 26, 31, 34], "geometry3d": [10, 31, 34], "jsonstruct_geometri": [10, 25, 26, 31, 34], "remain": [10, 13, 14, 29, 30], "fullfil": [10, 13, 16, 18, 19, 20, 21, 25, 26, 27, 28, 31, 34], "ie_control": 10, "jsonstruct_control": [10, 25, 26, 31, 34], "simulation_paramet": [10, 16, 25, 26], "jsonstruct_simparam": [10, 25, 26], "extra_output": [10, 25, 26], "jsonstruct_output": [10, 25, 26], "singl": [10, 12, 14], "plot": [10, 13, 15, 16, 19, 20, 21, 24, 26, 28, 29, 30, 31, 33, 34], "plotbatterygrid": 10, "note": [10, 16, 29, 30], "axi": [10, 16, 31], "find": [10, 11, 14, 16, 18, 19, 32], "interest": [10, 16], "plotgrid": 10, "surfac": [10, 11, 14, 16, 27, 28], "particl": [10, 11, 28, 33, 35], "both": [10, 13, 16, 18, 19], "facecolor": 10, "none": [10, 15], "edgealpha": 10, "csurfac": [10, 27, 28], "litr": [10, 12, 22, 23, 24, 27, 28, 36], "titl": [10, 18, 19, 22, 24, 27, 28, 29, 30, 31, 34], "mechan": [10, 11], "just": [10, 11, 13, 14, 18, 19, 36], "seen": [10, 14, 16], "jsondecod": [10, 25, 26, 36], "keyword": 10, "fetch": 10, "locat": [10, 11, 16, 18, 19, 33], "taken": [10, 22, 23, 36], "line": [10, 14, 18, 19], "content": 10, "henc": 10, "write": [10, 16, 35, 36], "fileread": 10, "equival": 10, "copi": [10, 19, 21, 24, 26, 28], "past": 10, "saturationconcentr": [10, 11, 12, 18, 19, 27, 28], "30555": [10, 12], "volumetricsurfacearea": [10, 11, 12, 16], "723600": [10, 12], "numberofelectronstransf": [10, 11, 12], "activationenergyofreact": [10, 11, 12], "reactionrateconst": [10, 11, 12, 16], "031e": [10, 12], "11": [10, 12, 16], "gueststoichiometry100": [10, 11, 12, 18, 19], "88551": [10, 12], "gueststoichiometry0": [10, 11, 12, 18, 19, 27, 28], "1429": [10, 12], "chargetransfercoeffici": [10, 11, 12], "opencircuitpotenti": [10, 11, 12], "functionnam": [10, 12], "computeocp_graphit": [10, 12], "argumentlist": [10, 11, 12, 13], "celectrod": 10, "cmax": [10, 11, 12, 18, 19, 27, 28], "ad": [11, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "extra": [11, 13, 25, 26], "syntax": [11, 13, 15], "bring": 11, "refer": [11, 17, 22, 23, 27, 28], "onthologi": 11, "battinfo": 11, "common": [11, 36], "object": [11, 14, 16, 19, 20, 21, 29, 30], "valid": [11, 14, 16, 22, 23, 29, 30], "parallelli": 11, "sai": 11, "electolyt": 11, "clarifi": 11, "conveni": [11, 14, 16, 17], "care": [11, 14, 36], "id": 11, "draft": 11, "allof": 11, "ref": [11, 26, 30], "modelspecif": [11, 12], "choic": [11, 22, 23], "stateiniti": [11, 12], "jsonschema": 11, "reproduc": [11, 33], "recogn": [11, 14, 20, 21], "thermalcompon": [11, 12, 14], "ionic": [11, 13, 22, 23], "coeffici": [11, 14, 16, 31, 34], "signatur": [11, 14], "form": [11, 16, 29, 30], "argument": [11, 14], "ionicconduct": [11, 12, 13], "moment": [11, 13, 16], "add": [11, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "user": [11, 13, 14, 15, 20, 21, 32, 36], "path": [11, 13, 18, 19, 22, 23, 25, 26], "veri": [11, 13, 16, 34], "soon": 11, "pure": 11, "either": [11, 13, 14, 19, 21, 24, 26, 28], "string": [11, 13, 22, 24, 36], "evalu": [11, 16], "tabl": 11, "interpol": 11, "point": [11, 18, 19], "prefixitem": 11, "const": 11, "symbol": 11, "kappa": 11, "diffusioncoeffici": [11, 12], "d": 11, "molecul": 11, "binari": 11, "chargenumb": [11, 12], "transferencenumb": [11, 12], "transfer": [11, 31, 34], "nominalconcentr": [11, 12], "physicalquant": 11, "nomin": [11, 21], "later": [11, 16, 19, 21, 24, 26, 28], "mass": [11, 14, 22, 23, 29, 30], "rho": 11, "bruggemancoeffici": [11, 12, 16], "media": 11, "beta": 11, "intrins": [11, 14], "heat": [11, 31, 34], "currentcollector": [11, 12, 16, 18, 19, 20, 21], "electroniccompon": 11, "conductingaddit": [11, 12, 14, 29, 30], "wet": 11, "calendar": 11, "respect": [11, 16, 25, 26, 34], "pore": 11, "bruggeman": [11, 14, 16], "enum": 11, "occur": [11, 34], "chemic": 11, "itself": 11, "By": 11, "directli": [11, 13, 14, 17, 36], "initializaton": 11, "design": [11, 15, 21, 28, 36], "rdf_type": 11, "htttp": 11, "emmo": 11, "info": 11, "uuid": 11, "electron": [11, 14, 16], "sigma": 11, "ratio": [11, 14], "mixtur": 11, "gamma": 11, "anyof": 11, "fullsoliddiffusionmodel": [11, 14], "els": [11, 16], "simplifiedsoliddiffusionmodel": 11, "circuit": 11, "mention": [11, 14, 22, 23], "tabul": [11, 13], "satur": 11, "guest": 11, "host": 11, "stoichiometr": 11, "per": [11, 16, 31, 34], "eak": 11, "k0": 11, "exchangecurrentdens": 11, "j0": 11, "theta100": [11, 18, 19], "theta0": [11, 18, 19], "ocp": [11, 19, 27, 28], "alpha": 11, "volumetr": [11, 14, 16], "arrheniu": 11, "soliddiffusionmodel": 11, "characterist": 11, "rp": 11, "ead": 11, "pre": [11, 18, 19], "exponenti": 11, "d0": 11, "stoichiometri": 11, "conductiv": 11, "poros": [11, 16, 27, 28], "fraction": [11, 14, 16, 22, 23, 29, 30, 34], "free": [11, 15, 16, 19, 21, 24, 26, 28], "varepsilon": 11, "extern": [11, 31, 34], "paremet": 11, "exterior": [11, 31, 34], "flag": [11, 16, 34], "dry": 11, "yet": [11, 14], "alwai": [11, 14], "usewetproperti": 11, "boolean": 11, "measur": 11, "NOT": [11, 13], "fals": [11, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "ignor": 11, "externalheattransfercoeffici": [11, 12, 31, 34], "surround": 11, "externalheattransfercoefficienttopfac": 11, "externalheattransfercoefficientsidefac": 11, "side": 11, "externalheattransfercoefficienttab": [11, 12, 31, 34], "externaltemperatur": [11, 12], "manufactur": 11, "industri": [11, 19, 21, 24, 26, 28], "oper": [11, 14, 16, 18, 19, 20, 21, 22, 23, 32], "done": [11, 13, 14, 16, 34], "cad": 11, "softwar": [11, 19, 21, 24, 26, 28, 32], "multilayerpouch": 11, "demo": [11, 12], "jellyrol": 11, "sectormodel": 11, "coincel": 11, "def": 11, "particlediscret": 11, "layerspec": 11, "numberofdiscretecel": 11, "cross": 11, "nlayer": 11, "width": [11, 12, 18, 19], "cap_tab": 11, "remov": [11, 29, 30], "nx": 11, "dimens": [11, 22, 23, 33], "further": [11, 13], "parametr": 11, "batterygeneratorp3d": 11, "batterygeneratorp4d": 11, "nw": [11, 12, 18, 19], "nh": [11, 12], "currentcolector": 11, "dependentschema": 11, "integ": 11, "outerradiu": 11, "outer": 11, "innerradiu": 11, "numberofdiscretecellsvert": 11, "vertic": 11, "numberofdiscretecellsangular": 11, "discretis": [11, 18, 19], "sector": 11, "horizont": 11, "plane": 11, "tabparam": 11, "angl": 11, "usetab": 11, "item": 11, "sectortabparam": 11, "variou": [11, 18, 19, 36], "powercontrol": 11, "linearli": [11, 22, 23, 24], "avoid": [11, 16, 29, 30], "converg": [11, 16], "issu": [11, 13, 15, 25, 26], "cpcv": 11, "dischargingpow": 11, "chargingpow": 11, "powercontrolcas": 11, "dischargingtim": 11, "chargingtim": 11, "lowercutoffpow": 11, "uppercutoffpow": 11, "chose": 11, "totaltim": [11, 25, 26], "infer": 11, "symmbol": 11, "timestepdur": 11, "numberoftimestep": [11, 12, 16, 25, 26], "durat": 11, "userampup": [11, 12], "numberoframpupstep": [11, 12, 16], "interv": 11, "rampuptimestep": [11, 22, 24], "desrib": 11, "mani": [11, 16, 22, 23], "avaibl": 11, "nonlinearsolv": [11, 16, 20, 21, 22, 24, 27, 28, 29, 30], "newton": [11, 14, 22, 23, 32], "battmodir": [11, 13], "autodiff": 11, "core": [11, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "maxiter": [11, 16, 20, 21, 29, 30], "maximum": [11, 16, 20, 21, 29, 30, 31, 34], "nonlineartoler": [11, 16, 20, 21, 27, 28, 29, 30], "toler": [11, 16, 20, 21, 29, 30], "nonlinear": [11, 16, 21, 30], "verbos": [11, 16, 20, 21, 22, 24, 27, 28, 29, 30], "linearsolv": [11, 18, 19, 20, 21], "linearsolversetup": 11, "ask": 11, "alreadi": [11, 18, 19, 20, 21], "afterward": 11, "computeenergydens": 11, "ouput": [11, 26], "get": [11, 14, 16, 18, 19, 22, 23, 24], "energydens": 11, "specificenergi": 11, "saveoutput": 11, "disk": 11, "saveopt": 11, "sim_runn": 11, "packsimulationproblem": 11, "deal": [11, 32], "outputdirectori": 11, "clearsimul": 11, "eras": 11, "1900": 12, "gram": [12, 36], "centi": [12, 22, 24, 27, 28, 36], "meter": [12, 22, 24, 27, 28, 36], "03": [12, 20, 21, 29, 30, 36], "95": 12, "59600000": 12, "398": 12, "385": 12, "8960": 12, "link": 12, "3500": 12, "4650": 12, "700": 12, "55554": 12, "885000": 12, "33e": 12, "4955": 12, "99174": 12, "computeocp_nmc111": 12, "75": [12, 27, 28], "025": 12, "83": 12, "35500000": 12, "170": 12, "875": 12, "2700": 12, "computeelectrolyteconductivity_default": 12, "computediffusioncoefficient_default": 12, "2594": 12, "1000": [12, 34, 36], "2055": 12, "1200": 12, "298": [12, 14, 18, 19, 27, 28], "01": [12, 20, 21, 29, 30], "02": [12, 18, 19], "0001": 12, "004": 12, "001": 12, "8e": 12, "5e": [12, 27, 28, 36], "include_current_collector": [12, 16, 18, 19, 20, 21, 29, 30, 31, 34], "use_therm": [12, 16, 18, 19, 20, 21, 29, 30, 34], "initializationsetup": 12, "initt": [12, 14], "initialconcentr": 12, "pxd": [13, 14], "jl": 13, "packag": 13, "regist": 13, "registri": 13, "significantli": [13, 14], "faster": 13, "sever": [13, 16], "order": 13, "magnitud": 13, "speed": 13, "assembli": [13, 14], "residu": [13, 14], "optim": 13, "completli": 13, "compil": 13, "jutul": 13, "retriev": 13, "instal": [13, 16, 17, 35], "intervent": 13, "commun": 13, "man": 13, "servermanag": 13, "pass": [13, 14, 16, 29, 30], "session": 13, "notic": [13, 34], "background": 13, "expect": 13, "reus": 13, "persist": 13, "manual": [13, 20, 21], "launch": 13, "prompt": 13, "powershel": 13, "startup": 13, "runmatlab": 13, "revis": 13, "daemonmod": 13, "serv": 13, "3000": 13, "call_stack": 13, "async": 13, "runfrommatlab": 13, "util": [13, 14, 36], "juliabridg": 13, "juliainterfac": 13, "root": 13, "block": 13, "deactiv": 13, "ani": [13, 19, 21, 22, 23, 24, 26, 28], "made": 13, "inputfilenam": 13, "jsonfil": 13, "p2d_40_jl_ud": 13, "inputtyp": 13, "With": 13, "668e": 13, "494e": 13, "074": 13, "78e": 13, "86e": 13, "96e": 13, "80e": 13, "snippet": 13, "becaus": [13, 16], "arithmet": 13, "express": 13, "bpp": 13, "cumsum": 13, "legend": [13, 16, 18, 19, 27, 28, 29, 30, 31, 34], "h": [13, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30, 31, 34], "usag": 14, "cover": 14, "seri": 14, "paper": [14, 22, 23], "conserv": [14, 22, 23], "partial": 14, "differenti": [14, 16, 22, 23, 32], "stabil": 14, "implicit": [14, 22, 23], "backward": 14, "euler": 14, "global": 14, "report": [14, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "globvar": 14, "schedulereport": 14, "varargin": [14, 16], "task": 14, "send": [14, 18, 19, 20, 21], "intern": 14, "convert": 14, "inputparam": [14, 16, 18, 19, 20, 21, 22, 24, 27, 28, 29, 30], "batteryinputparam": [14, 16, 18, 19, 20, 21, 29, 30, 36], "doe": [14, 16], "appear": 14, "redund": 14, "advantag": 14, "developp": [14, 15], "environ": [14, 19, 26], "enabl": [14, 22, 23], "complic": 14, "closer": 14, "resolveunitinputjson": 14, "everi": 14, "overview": 14, "suffix": 14, "activematerialinputparam": [14, 18, 19], "setupbatterygridfromjson": 14, "appropri": [14, 16], "instanti": [14, 16, 18, 19, 30], "parallel": [14, 22, 23], "thu": [14, 15], "validateinputparam": [14, 29, 30], "simpli": [14, 16], "obscur": 14, "con": 14, "physicalconst": [14, 31, 34], "ccdischargecontrolmodel": 14, "9900": 14, "1500": 14, "9400": 14, "0400": 14, "conducit": 14, "never": 14, "earlier": [14, 29, 30], "effectr": 14, "3328": 14, "effectiveelectronicconduct": 14, "82": 14, "5961": 14, "constitu": [14, 34], "account": [14, 16, 34], "120": 14, "rememb": 14, "insid": [14, 36], "siemen": 14, "proce": 14, "118": 14, "4873": 14, "97": 14, "5413": 14, "computecellmass": 14, "computecellcapac": 14, "computecellenergi": 14, "neglict": 14, "infinitli": 14, "print": [14, 16], "screen": 14, "cellspecificationsummari": 14, "css": 14, "printspecif": 14, "pack": 14, "kg": 14, "24": 14, "85": 14, "59526e": 14, "36e": 14, "00301148": 14, "ah": 14, "00310324": 14, "03047": 14, "0115753": 14, "wh": [14, 16], "321": 14, "958": 14, "851": 14, "122": 14, "17686": 14, "v": [14, 16, 18, 19, 20, 21, 25, 26, 27, 28, 29, 30, 31], "computecellenergygivencr": 14, "fprintf": [14, 16], "watt": 14, "0110781": 14, "gnu": [15, 19, 21, 24, 26, 28], "languag": 15, "compat": [15, 16], "strive": 15, "maintain": 15, "drop": 15, "altern": 15, "favor": 15, "easier": [15, 18, 19, 36], "robust": [15, 22, 23], "hard": [15, 16], "inde": 15, "runjsonscript": [15, 25], "met": 15, "resourc": 15, "topic": 16, "involv": 16, "maxim": 16, "mathemat": [16, 19, 21, 22, 23, 24, 26, 28, 32], "viewpoint": 16, "fit": [16, 19, 21, 24, 26, 28], "against": [16, 19], "experi": 16, "calibr": 16, "runparameteridentif": 16, "modul": [16, 18, 19, 21, 24, 25, 26, 28, 30], "mrstmodul": [16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30], "mpfa": [16, 18, 19, 20, 21, 27, 28], "gui": [16, 18, 19, 20, 21, 25, 26, 27, 28], "ne": [16, 18, 19, 20, 21, 27, 28, 29, 30], "pe": [16, 18, 19, 20, 21, 27, 28, 29, 30], "elyt": [16, 18, 19, 20, 21, 27, 28], "am": [16, 18, 19, 20, 21, 27, 28], "co": [16, 18, 19, 20, 21, 29, 30], "itf": [16, 18, 19, 20, 21, 27, 28, 29, 30], "sd": [16, 18, 19, 20, 21, 27, 28, 29, 30], "ctrl": [16, 18, 19, 20, 21], "sep": 16, "sinc": 16, "python": 16, "turn": 16, "test": [16, 17, 35], "comment": 16, "finer": 16, "stricter": 16, "jsonparam": 16, "jsongeom": 16, "geometry1d": [16, 25, 26], "jsoncontrol": 16, "cc_discharge_control": [16, 25, 26, 31, 34], "jsonsim": 16, "validatejson": 16, "conventi": 16, "json0": 16, "output0": 16, "simsetup": 16, "state0": 16, "modelparamet": 16, "arbitrari": 16, "belong": [16, 29, 30], "boxlim": 16, "constraint": 16, "rang": 16, "logarithm": 16, "param": 16, "addparamet": 16, "elyte_bruggeman": 16, "belongsto": 16, "eqn": 16, "ne_k0": 16, "log": 16, "pe_k0": 16, "ne_vsa": 16, "1e5": 16, "1e7": 16, "pe_vsa": 16, "shortli": 16, "e_exp": 16, "i_exp": 16, "averag": 16, "easi": [16, 32], "jsonexp": 16, "pexp": 16, "ip": 16, "loc": 16, "orig": 16, "getfun": 16, "setfun": 16, "outputexp": 16, "seek": 16, "minim": 16, "vari": 16, "least": 16, "squar": 16, "dure": [16, 18, 19], "obj": 16, "correct": 16, "costli": 16, "accur": 16, "algorithm": 16, "sens": 16, "few": 16, "One": 16, "accomplish": 16, "gradient": [16, 22, 23], "hood": 16, "adjoint": 16, "leastsquaresei": 16, "debug": 16, "objval": 16, "assert": 16, "max": [16, 20, 21, 27, 28, 31, 34], "ab": 16, "objscal": 16, "sum": 16, "objectivegradi": 16, "evalobjectivebattmo": 16, "compar": [16, 33], "classic": 16, "rel": [16, 29, 30], "too": 16, "basal": 16, "statement": 16, "uncom": 16, "ptmp": 16, "getscaledparametervector": 16, "vad": 16, "gad": 16, "gradientmethod": 16, "adjointad": 16, "vnum": 16, "gnum": 16, "perturbationadnum": 16, "perturbations": 16, "error": [16, 20, 21, 29, 30, 36], "disp": [16, 20, 21], "readi": [16, 35], "well": 16, "bfg": 16, "guess": 16, "deduc": 16, "actual": [16, 18, 19], "after": [16, 33, 35], "back": 16, "criteria": [16, 18, 19], "gradtol": 16, "less": 16, "objchangetol": 16, "maxit": 16, "out": [16, 18, 19, 35], "great": 16, "tempor": 16, "influenc": 16, "Not": 16, "p0scale": 16, "popttmp": 16, "histori": 16, "unitboxbfg": 16, "logplot": 16, "numit": 16, "wait": 16, "finish": 16, "laptop": 16, "displai": 16, "jsonopt": 16, "popt": 16, "outputopt": 16, "do_plot": 16, "defaultlinelinewidth": [16, 18, 19, 22, 24, 27, 28, 29, 30, 31], "gettim": 16, "gete": 16, "t0": [16, 31], "e0": 16, "topt": 16, "eopt": 16, "texp": 16, "eexp": 16, "tight": 16, "displaynam": [16, 27, 28, 29, 30, 31, 34], "e_": 16, "exp": 16, "opt": 16, "summar": 16, "porig": 16, "getparamet": 16, "box": [16, 35], "tol": 16, "k": [16, 34], "nexperiment": 16, "nrel": 16, "relerr": 16, "niter": 16, "exact": 16, "___________________": 16, "__________": 16, "_________": 16, "6149": 16, "2599e": 16, "005e": 16, "8927e": 16, "9014e": 16, "05e": 16, "018e": 16, "toward": 16, "begin": [16, 18, 19, 33], "e_0": 16, "e_opt": 16, "why": 16, "9998": 16, "09": 16, "4029e": 16, "4994e": 16, "7775e": 16, "adjust": [16, 25, 26, 29, 30], "runbattery1doptim": 16, "cathod": 16, "anod": 16, "currect": 16, "analyt": 16, "contrast": 16, "ambiti": 16, "reader": 16, "encourag": 16, "investig": 16, "shorthand": [16, 18, 19, 20, 21, 27, 28], "simplic": [16, 20, 21], "cost": 16, "gen": [16, 18, 19, 20, 21, 29, 30], "batterygeneratorp2d": [16, 18, 19, 20, 21, 29, 30], "updat": [16, 18, 19, 20, 21, 29, 30], "updatebatteryinputparam": [16, 18, 19, 20, 21, 29, 30], "shock": 16, "ramp": [16, 20, 21], "prescrib": 16, "automat": [16, 22, 23, 24, 32, 36], "built": 16, "setupschedulecontrol": [16, 18, 19, 20, 21], "larger": [16, 18, 19, 20, 21], "normal": [16, 20, 21], "40": [16, 25, 26], "assign": [16, 20, 21, 27, 28], "nc": 16, "nst": 16, "ind": [16, 20, 21, 27, 28], "floor": [16, 22, 24], "imax": [16, 20, 21, 27, 28, 29, 30], "repmat": 16, "capabl": [16, 22, 23], "cut": [16, 18, 19], "half": 16, "fail": 16, "ministep": 16, "nl": [16, 20, 21, 22, 24, 27, 28, 29, 30], "behavior": [16, 20, 21, 29, 30], "erroronfailur": [16, 20, 21, 22, 24, 27, 28, 29, 30], "outputministep": [16, 20, 21, 22, 24, 27, 28, 29, 30], "isempti": [16, 20, 21, 27, 28], "doplot": 16, "energyoutput": 16, "trapezoid": 16, "rule": [16, 25, 26], "totval": 16, "totval_trapz": 16, "trapz": 16, "rectangl": 16, "instead": 16, "poris": 16, "porositysett": 16, "routin": 16, "simulatorsetup": 16, "paramsett": 16, "getporo": 16, "notus": 16, "getvalu": 16, "setporo": 16, "setvalu": 16, "rampupswitchcontrol": [16, 27, 28, 29, 30], "stopfunct": [16, 27, 28], "hook": 16, "reduc": [16, 33], "evalut": 16, "objmatch": 16, "fn": 16, "plotafterstepiv": 16, "afterstepfn": 16, "minu": [16, 29, 30], "worth": 16, "sensit": 16, "p_base": 16, "optimum": 16, "p_opt": 16, "200": 16, "setup_opt": 16, "updatesetupfromscaledparamet": 16, "states_opt": 16, "time_opt": 16, "i_opt": 16, "totval_trapz_opt": 16, "p0": 16, "pu": 16, "mwh": 16, "milli": [16, 22, 24, 36], "12163": 16, "55": 16, "187132": 16, "152395": 16, "472783": 16, "100268": 16, "00986981": 16, "0147641": 16, "8822": 16, "44": 16, "0736": 16, "parameterset": [17, 27, 28], "author": 17, "year": 17, "et": 17, "al": 17, "chen2020": 17, "safari2009": [17, 27, 28], "lin2015": 17, "organis": 17, "whose": 17, "batterycomponentparamet": 17, "battmotutori": 18, "explain": [18, 19], "memori": [18, 19], "thicker": [18, 19], "font": [18, 19], "defaultaxesfonts": [18, 19, 22, 24, 27, 28, 29, 30, 31], "defaulttextfonts": [18, 19, 27, 28, 29, 30, 31], "fname": [18, 19], "exclud": [18, 19], "These": [18, 19, 22, 23], "referenc": [18, 19], "ourselv": [18, 19], "fullsoliddiffusionmodelinputparam": [18, 19], "batterygeometri": [18, 19], "folder": [18, 19], "relev": [18, 19], "chosen": [18, 19, 34], "constructor": [18, 19, 20, 21], "inspect": [18, 19], "being": [18, 19], "eld": [18, 19], "ield": [18, 19], "el_itf": [18, 19], "linspac": [18, 19, 22, 24, 27, 28], "theta": [18, 19], "computeocpfunc": [18, 19], "ylim": [18, 19], "break": [18, 19], "togeth": [18, 19], "term": [18, 19, 21, 22, 23, 24, 26, 28], "primari": [18, 19, 22, 24], "sol": [18, 19], "technic": [18, 19], "extract": [18, 19, 22, 24, 29, 30, 34], "subplot": [18, 19, 22, 24, 25, 26, 29, 30], "mod": [19, 26], "mrstbattmo": [19, 26], "battmofil": [19, 24], "copyright": [19, 21, 24, 26, 28], "2021": [19, 21, 24, 26, 28], "sintef": [19, 21, 24, 26, 28, 32], "technologi": [19, 21, 24, 26, 28], "cybernet": [19, 21, 24, 26, 28, 32], "redistribut": [19, 21, 24, 26, 28], "public": [19, 21, 24, 26, 28], "licens": [19, 21, 24, 26, 28], "foundat": [19, 21, 24, 26, 28], "distribut": [19, 21, 24, 26, 28, 34], "hope": [19, 21, 24, 26, 28], "warranti": [19, 21, 24, 26, 28], "impli": [19, 21, 24, 26, 28], "merchant": [19, 21, 24, 26, 28], "FOR": [19, 21, 24, 26, 28], "purpos": [19, 21, 24, 26, 28, 36], "www": [19, 21, 24, 26, 28], "demonstr": [20, 21, 34, 36], "propag": [20, 21], "throughout": [20, 21], "use_cccv": [20, 21], "cccvstruct": [20, 21], "cccvparamobj": [20, 21], "cccvcontrolmodelinputparam": [20, 21], "cccvinputparam": [20, 21], "autodiffbackend": [20, 21], "inspectgraph": [20, 21], "cgt": [20, 21], "computationalgraph": [20, 21], "amgclsolverad": [20, 21], "reducetocel": [20, 21], "linearsolverbatteryextra": [20, 21], "reuse_setup": [20, 21], "unknown": [20, 21], "timestepselector": [20, 21, 29, 30], "statechangetimestepselector": [20, 21, 29, 30], "targetprop": [20, 21, 29, 30], "targetchangeab": [20, 21, 29, 30], "tmax": [20, 21, 31, 34], "socn": [20, 21], "socp": [20, 21], "calculatesoc": [20, 21], "writeh5": [20, 21], "writeoutput": [20, 21], "h5": [20, 21], "recov": [21, 22, 24], "runelectrolys": 22, "aem": [22, 23], "wa": [22, 23], "motiv": [22, 23], "better": [22, 23], "h2": [22, 23, 24], "had": [22, 23], "andinclud": [22, 23], "coupledprocess": [22, 23], "ionom": [22, 23], "liquid": [22, 23], "induc": [22, 23], "ga": [22, 23], "hydroxid": [22, 23], "hopefulli": [22, 23], "clearli": [22, 23], "split": [22, 23], "oxygen": [22, 23], "evolut": [22, 23], "catalyst": [22, 23], "appli": [22, 23], "scheme": [22, 23], "independ": [22, 23], "oftim": [22, 23], "algorithmus": [22, 23], "infrastructur": [22, 23], "pressur": [22, 23], "boundari": [22, 23], "atmospher": [22, 23], "oh": [22, 23], "pictur": [22, 23], "acquaint": [22, 23], "catalystlay": [22, 23, 24], "evolutionelectrod": [22, 23], "exchangereact": [22, 23, 24], "ionomermembran": [22, 23, 24], "poroustransportlay": [22, 23, 24], "electrolysergeometri": [22, 23], "matlab_bgl": [22, 24, 29, 30], "alkalineelectrolys": [22, 24], "electrolyserinputparam": [22, 24], "electrolysergeometry1d": [22, 24], "setupelectrolysergridfromjson": [22, 24], "shortcut": [22, 24, 30], "inm": [22, 24], "her": [22, 24], "hydrogenevolutionelectrod": [22, 24], "oer": [22, 24], "oxygenevolutionelectrod": [22, 24], "ptl": [22, 24], "exr": [22, 24], "ctl": [22, 24], "setupbcandinitialst": [22, 24], "over": [22, 24], "rampupcontrol": [22, 24, 27, 28], "controli": [22, 24], "o2": [22, 24], "tup": [22, 24, 27, 28, 29, 30], "srcfunc": [22, 24, 27, 28, 29, 30], "rampupcas": [22, 24], "minor": [22, 24], "modif": [22, 24], "unknwon": [22, 24], "descriv": [22, 24], "addvari": [22, 24], "intermedi": [22, 24], "istat": [22, 24, 27, 28, 29, 30], "polaris": [22, 24], "helper": [22, 24], "coh": [22, 24], "800": [22, 24, 27, 28], "450": [22, 24], "ntime": [22, 24], "cmap": [22, 24], "cmocean": [22, 24], "ifield": [22, 24], "fd": [22, 24], "itim": [22, 24], "getprop": [22, 24], "log10": [22, 24], "distribit": [22, 24], "colormap": [22, 24], "hcolorbar": [22, 24], "colorbar": [22, 24, 31, 34], "caxi": [22, 24], "htitl": [22, 24], "electrolys": [23, 24, 35], "alkalin": [24, 35], "ph": 24, "exclus": [25, 26], "nativ": [25, 26], "warn": [25, 26, 29, 30], "preced": [25, 26], "se": 26, "mathwork": 26, "help": 26, "html": 26, "_": 26, "specifici": 26, "runseiactivemateri": 27, "anode_sei": [27, 28], "solidelectrodeinterfac": [27, 28], "sr": [27, 28], "sidereact": [27, 28], "seiactivematerialinputparam": [27, 28], "stand": [27, 28], "alon": [27, 28], "standalon": [27, 28], "seiactivemateri": [27, 28], "nsd": [27, 28], "nsei": [27, 28], "celectrodeinit": [27, 28], "phielectrodeinit": [27, 28], "celectrolyt": [27, 28, 36], "cite": [27, 28], "safari_2009": [27, 28], "film": [27, 28], "epsisei": [27, 28], "solvent": [27, 28], "bulk": [27, 28], "cecsolut": [27, 28], "541": [27, 28], "cecextern": [27, 28], "evalvarnam": [27, 28, 29, 30], "phielectrolyt": [27, 28], "cinterfac": [27, 28], "delta": [27, 28], "static": [27, 28], "cextern": [27, 28], "roughli": [27, 28], "iref": [27, 28], "3e": [27, 28], "1e1": [27, 28], "cmin": [27, 28], "state0_inn": [27, 28], "defaultfigureposit": [27, 28], "400": [27, 28], "min": [27, 28, 31, 34], "caverag": [27, 28], "caver": [27, 28], "nm": [27, 28], "sei": [28, 35], "growth": [28, 35], "runsilicongraphitebatteri": 29, "shorcut": [29, 30], "am1": [29, 30], "am2": [29, 30], "bd": [29, 30], "jsonstruct_composite_materi": [29, 30], "lithium_ion_battery_nmc_silicon_graphit": [29, 30], "jsonstruct_cel": [29, 30], "cleaner": [29, 30], "rmfield": [29, 30], "parent": [29, 30], "consecut": [29, 30], "selector": [29, 30], "wellsol": [29, 30], "dischargest": [29, 30], "front": [29, 30], "chargest": [29, 30], "concaten": [29, 30], "allstat": [29, 30], "vertcat": [29, 30], "plote": [29, 30], "soc1": [29, 30], "soc2": [29, 30], "cumul": [29, 30], "compositeelectrod": 30, "perio": 30, "visualis": 30, "extrnal": [31, 34], "extfaceind": [31, 34], "couplingterm": [31, 34], "couplingfac": [31, 34], "nf": [31, 34], "getnumberoffac": 31, "nan": [31, 34], "plotfacedata": [31, 34], "edgecolor": [31, 34], "black": [31, 34], "w": [31, 34], "minimum": [31, 34], "absolutetemperatur": 31, "tmin": [31, 34], "cool": 31, "disctribut": 31, "sofwar": 32, "mrstwebpag": 32, "primarli": 32, "geoscienc": 32, "group": 32, "depart": 32, "api": 32, "heavili": 32, "On": 32, "recommend": 32, "useful": 32, "principl": 32, "doyler": 33, "repres": 33, "spheric": 33, "thee": 33, "polynomi": 33, "runchen2020": [33, 35], "pybamm": [33, 35], "observ": 33, "discrip": 33, "zoom": 33, "runthermalexampl": 34, "mainli": 34, "conducitivti": 34, "m\u00b2": 34, "overwritten": 34, "num": 34, "littl": 34, "variat": 34, "contact": 34, "releas": 34, "higher": 34, "tell": 35, "runbatteryp3d": 35, "runbatteryp4d": 35, "runcr": 35, "coin": 35, "rungitttest": 35, "gitt": 35, "runjellyrol": 35, "prefix": 36, "kilo": 36, "convers": 36, "500": 36, "0000": 36, "62": 36, "2000e": 36, "assum": 36, "pair": 36, "happen": 36, "isconvert": 36, "convertunitbattmo": 36, "1000e": 36, "logic": 36, "mistak": 36}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"advanc": 0, "usag": [0, 2, 10], "battmo": [1, 2, 7, 13, 18, 25, 36], "model": [1, 2, 5, 10, 11, 12, 14, 18, 20, 22, 27, 29, 33], "architectur": 1, "basic": 2, "A": 2, "first": [2, 9], "defin": [2, 10], "paramet": [2, 6, 10, 11, 13, 16, 17, 25], "run": [2, 10, 13, 18, 20, 22, 27, 29], "simul": [2, 10, 11, 12, 13, 14, 18, 20, 22, 25, 27, 29, 34], "show": 2, "dashboard": 2, "explor": 2, "output": [2, 11, 13, 20], "grid": [2, 20, 32], "state": [2, 12, 18, 20, 27, 29], "plot": [2, 6, 18, 22, 25, 27], "result": [2, 10, 18, 22], "chang": 2, "control": [2, 5, 11, 12, 18, 25, 29], "structur": 2, "materi": [2, 11, 12, 20, 25, 27], "notebook": 2, "next": 2, "step": [2, 9, 11, 12, 20, 29], "refer": 3, "list": [3, 35], "composit": [4, 29], "electrod": [4, 11, 12, 29], "json": [4, 5, 11, 12, 25, 36], "input": [4, 5, 11, 12, 22, 25, 36], "file": [4, 10, 25], "interfac": [5, 11, 12], "descript": 5, "batteri": [6, 12, 14, 18, 20, 27, 29], "geometri": [6, 11, 12, 18, 20, 25], "batterygeneratorp2d": 6, "valu": 6, "us": [6, 10], "abov": 6, "batterygeneratorp3d": 6, "batterygeneratorp4d": 6, "spiralbatterygener": 6, "thick": 6, "discret": [6, 22], "number": 6, "n": 6, "ar": 6, "pass": 6, "through": 6, "dictionari": 6, "widthdict": 6, "nrdict": 6, "other": 6, "coincellbatterygener": 6, "each": 6, "compon": 6, "diamet": 6, "cell": [6, 20, 27], "layer": [6, 27], "nl": 6, "cr": 6, "2016": 6, "coin": 6, "gui": 7, "welcom": 8, "acknowledg": 8, "instal": 9, "intermedi": 10, "setup": [10, 11, 20, 22, 27, 29], "p4d": 10, "mergejsonstruct": 10, "visual": [10, 22, 32], "link": 10, "insert": 10, "parsebattmojson": 10, "specif": [11, 12], "schema": 11, "electrolyt": [11, 12], "coat": [11, 12], "activ": [11, 12], "solid": [11, 12, 33], "diffus": [11, 12, 33], "full": 11, "binder": [11, 12], "conduct": [11, 12], "addit": [11, 12], "current": [11, 12, 20], "collector": [11, 12], "separ": [11, 12], "thermal": [11, 12, 34], "time": [11, 12, 20, 22, 29], "solver": [11, 20, 22, 27, 29], "exampl": [12, 16, 25, 35], "neg": 12, "posit": 12, "initi": [12, 18, 20, 22, 27, 29], "julia": 13, "bridg": 13, "introduct": 13, "start": [13, 25], "server": 13, "send": 13, "post": 13, "process": [13, 20], "The": 14, "initialis": [14, 18], "inspect": 14, "comput": [14, 20], "some": 14, "standard": 14, "static": 14, "properti": [14, 20, 25, 27, 29], "note": 15, "octav": 15, "support": 15, "optim": 16, "identif": 16, "set": [17, 18, 25], "tutori": [18, 32], "up": [18, 25], "environ": [18, 25], "specifi": 18, "physic": 18, "object": 18, "ocp": 18, "curv": 18, "against": 18, "charg": [18, 29], "sourc": [19, 21, 24, 26, 28, 30], "code": [19, 21, 24, 26, 28, 30], "battmotutori": 19, "pseudo": 20, "two": 20, "dimension": 20, "p2d": 20, "lithium": 20, "ion": [20, 27], "import": [20, 27, 29], "requir": [20, 27, 29], "modul": [20, 22, 27, 29], "from": [20, 27, 29], "mrst": [20, 22, 27, 29, 32], "li": [20, 27], "design": [20, 27], "nomin": 20, "capac": 20, "choos": 20, "c": 20, "rate": 20, "schedul": [20, 22, 27, 29], "nonlinear": [20, 29], "recov": 20, "voltag": 20, "runbatteryp2d": 21, "alkalin": 22, "membran": 22, "electrolys": 22, "load": [22, 25], "condit": 22, "non": [22, 27], "linear": [22, 27], "ph": 22, "distribut": 22, "runelectrolys": 24, "we": 25, "ouput": 25, "specifici": 25, "runjsonscript": 26, "particl": 27, "sei": 27, "growth": 27, "runseiactivemateri": 28, "silicon": 29, "graphit": 29, "shortcut": 29, "instanti": 29, "discharg": 29, "perio": 29, "visualis": 29, "runsilicongraphitebatteri": 30, "runthermalmodel": 31, "see": 32, "also": 32, "factori": 32, "fair": 32, "data": 32, "curat": 35, "unit": 36, "convert": 36}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinxcontrib.bibtex": 9, "sphinx.ext.intersphinx": 1, "sphinx": 57}, "alltitles": {"Advanced Usage": [[0, "advanced-usage"]], "BattMo Model Architecture": [[1, "battmo-model-architecture"]], "Basic Usage": [[2, "basic-usage"]], "A First BattMo Model": [[2, "a-first-battmo-model"]], "Define Parameters": [[2, "define-parameters"], [10, "define-parameters"]], "Run Simulation": [[2, "run-simulation"], [10, "run-simulation"]], "Show the Dashboard": [[2, "show-the-dashboard"]], "Explore the Output": [[2, "explore-the-output"]], "Explore the Grid": [[2, "explore-the-grid"]], "Explore the States": [[2, "explore-the-states"]], "Plot a Result": [[2, "plot-a-result"]], "Change Control Parameters": [[2, "change-control-parameters"]], "Change Structural Parameters": [[2, "change-structural-parameters"]], "Change Material Parameters": [[2, "change-material-parameters"]], "Notebooks": [[2, "notebooks"]], "Next Steps": [[2, "next-steps"]], "Reference lists": [[3, "reference-lists"]], "Composite electrode json input file": [[4, "composite-electrode-json-input-file"]], "Control models": [[5, "control-models"]], "Json input control interface": [[5, "json-input-control-interface"]], "Control model description": [[5, "control-model-description"]], "Battery Geometries": [[6, "battery-geometries"]], "BatteryGeneratorP2D": [[6, "batterygeneratorp2d"]], "Parameters with values used in plot above": [[6, "id2"], [6, "id3"], [6, "id4"]], "BatteryGeneratorP3D": [[6, "batterygeneratorp3d"]], "BatteryGeneratorP4D": [[6, "batterygeneratorp4d"]], "SpiralBatteryGenerator": [[6, "spiralbatterygenerator"]], "Thickness and discretization number (N) are passed through the dictionaries widthDict and nrDict, with values used in plot above.": [[6, "id5"]], "Other parameters, with values used in plot above.": [[6, "id6"]], "CoinCellBatteryGenerator": [[6, "coincellbatterygenerator"]], "Parameters for each component : thickness, diameter, number of cell layers (Nl), with the values used in the plot above (a CR 2016 coin cell)": [[6, "id7"]], "Other parameters, with values used in plot above": [[6, "id8"]], "BattMo GUI": [[7, "battmo-gui"]], "Welcome": [[8, "welcome"]], "Acknowledgements": [[8, "acknowledgements"]], "Installation and First Steps": [[9, "installation-and-first-steps"]], "Intermediate usage": [[10, "intermediate-usage"]], "Setup a P4D Model using mergeJsonStructs": [[10, "setup-a-p4d-model-using-mergejsonstructs"]], "Visualize Results": [[10, "visualize-results"]], "File links and insertions with parseBattmoJson": [[10, "file-links-and-insertions-with-parsebattmojson"]], "JSON input specification": [[11, "json-input-specification"]], "Simulation Schema": [[11, "simulation-schema"]], "Material Parameters": [[11, "material-parameters"]], "Electrolyte": [[11, "electrolyte"], [12, "electrolyte"]], "Electrode": [[11, "electrode"]], "Coating": [[11, "coating"], [12, "coating"]], "Active Material": [[11, "active-material"], [12, "active-material"]], "Interface": [[11, "interface"], [12, "interface"]], "Solid Diffusion": [[11, "solid-diffusion"], [12, "solid-diffusion"]], "Full Solid Diffusion": [[11, "full-solid-diffusion"]], "Binder": [[11, "binder"], [12, "binder"]], "Conducting Additive": [[11, "conducting-additive"], [12, "conducting-additive"]], "Current Collector": [[11, "current-collector"], [12, "current-collector"]], "Separator": [[11, "separator"], [12, "separator"]], "Thermal Model": [[11, "thermal-model"], [12, "thermal-model"]], "Geometry Setup": [[11, "geometry-setup"]], "Simulation Control Parameters": [[11, "simulation-control-parameters"]], "Time Stepping Parameters": [[11, "time-stepping-parameters"]], "Solver Parameters": [[11, "solver-parameters"]], "Output Parameters": [[11, "output-parameters"]], "Json input example": [[12, "json-input-example"]], "Simulation": [[12, "simulation"]], "Battery": [[12, "battery"]], "Negative Electrode": [[12, "negative-electrode"]], "Positive Electrode": [[12, "positive-electrode"]], "Geometry": [[12, "geometry"], [25, "geometry"]], "Model Specification": [[12, "model-specification"]], "Control": [[12, "control"], [25, "control"]], "Time Stepping": [[12, "time-stepping"]], "State Initialization": [[12, "state-initialization"]], "BattMo Julia bridge": [[13, "battmo-julia-bridge"]], "Introduction": [[13, "introduction"]], "Start Server": [[13, "start-server"]], "Send simulation parameters": [[13, "send-simulation-parameters"]], "Run the simulation": [[13, "run-the-simulation"], [20, "run-the-simulation"], [22, "run-the-simulation"]], "Post process the output": [[13, "post-process-the-output"]], "The Battery Simulation Model": [[14, "the-battery-simulation-model"]], "Initialisation of a battery simulation model": [[14, "initialisation-of-a-battery-simulation-model"]], "Inspection of the model": [[14, "inspection-of-the-model"]], "Computing and inspecting some standard static properties of the model": [[14, "computing-and-inspecting-some-standard-static-properties-of-the-model"]], "Note on Octave Support": [[15, "note-on-octave-support"]], "Optimization": [[16, "optimization"]], "Parameter identification example": [[16, "parameter-identification-example"]], "Optimization example": [[16, "optimization-example"]], "Parameter sets": [[17, "parameter-sets"], [17, "id4"]], "BattMo Tutorial": [[18, "battmo-tutorial"]], "Setting up the environment": [[18, "setting-up-the-environment"], [25, "setting-up-the-environment"]], "Specifying the physical model": [[18, "specifying-the-physical-model"]], "Setting up the geometry": [[18, "setting-up-the-geometry"]], "Initialising the battery model object": [[18, "initialising-the-battery-model-object"]], "Plotting the OCP curves against state of charge": [[18, "plotting-the-ocp-curves-against-state-of-charge"]], "Controlling the simulation": [[18, "controlling-the-simulation"]], "Setting the initial state of the battery": [[18, "setting-the-initial-state-of-the-battery"]], "Running the simulation": [[18, "running-the-simulation"]], "Plotting the results": [[18, "plotting-the-results"]], "Source code for battMoTutorial": [[19, "source-code-for-battmotutorial"]], "Pseudo-Two-Dimensional (P2D) Lithium-Ion Battery Model": [[20, "pseudo-two-dimensional-p2d-lithium-ion-battery-model"]], "Import the required modules from MRST": [[20, "import-the-required-modules-from-mrst"], [27, "import-the-required-modules-from-mrst"], [29, "import-the-required-modules-from-mrst"]], "Setup the properties of Li-ion battery materials and cell design": [[20, "setup-the-properties-of-li-ion-battery-materials-and-cell-design"], [27, "setup-the-properties-of-li-ion-battery-materials-and-cell-design"]], "Setup the geometry and computational grid": [[20, "setup-the-geometry-and-computational-grid"]], "Initialize the battery model.": [[20, "initialize-the-battery-model"]], "Compute the nominal cell capacity and choose a C-Rate": [[20, "compute-the-nominal-cell-capacity-and-choose-a-c-rate"]], "Setup the time step schedule": [[20, "setup-the-time-step-schedule"]], "Setup the initial state of the model": [[20, "setup-the-initial-state-of-the-model"], [29, "setup-the-initial-state-of-the-model"]], "Setup the properties of the nonlinear solver": [[20, "setup-the-properties-of-the-nonlinear-solver"], [29, "setup-the-properties-of-the-nonlinear-solver"]], "Process output and recover the output voltage and current from the output states.": [[20, "process-output-and-recover-the-output-voltage-and-current-from-the-output-states"]], "Source code for runBatteryP2D": [[21, "source-code-for-runbatteryp2d"]], "Alkaline Membrane Electrolyser": [[22, "alkaline-membrane-electrolyser"]], "Load MRST modules": [[22, "load-mrst-modules"]], "Setup input": [[22, "setup-input"]], "Setup model": [[22, "setup-model"]], "Setup the initial condition": [[22, "setup-the-initial-condition"]], "Setup the schedule with the time discretization": [[22, "setup-the-schedule-with-the-time-discretization"]], "Setup the non-linear solver": [[22, "setup-the-non-linear-solver"]], "Visualize the results": [[22, "visualize-the-results"]], "pH distribution plot": [[22, "ph-distribution-plot"]], "Source code for runElectrolyser": [[24, "source-code-for-runelectrolyser"]], "BattMo example Json input": [[25, "battmo-example-json-input"]], "We load the json files": [[25, "we-load-the-json-files"]], "Material properties": [[25, "material-properties"]], "Simulation parameters": [[25, "simulation-parameters"]], "Ouput specificiations": [[25, "ouput-specificiations"]], "We start the simulation": [[25, "we-start-the-simulation"]], "Plotting": [[25, "plotting"], [27, "plotting"]], "Source code for runJsonScript": [[26, "source-code-for-runjsonscript"]], "Particle simulation with SEI layer growth": [[27, "particle-simulation-with-sei-layer-growth"]], "Setup the model": [[27, "setup-the-model"]], "Setup initial state": [[27, "setup-initial-state"]], "Setup schedule": [[27, "setup-schedule"]], "Setup non-linear solver": [[27, "setup-non-linear-solver"]], "Run simulation": [[27, "run-simulation"]], "Source code for runSEIActiveMaterial": [[28, "source-code-for-runseiactivematerial"]], "Composite Silicon Graphite electrode": [[29, "composite-silicon-graphite-electrode"]], "Shortcuts": [[29, "shortcuts"]], "Setup the properties of the battery": [[29, "setup-the-properties-of-the-battery"]], "Model Instantiation": [[29, "model-instantiation"]], "Setup schedule (control and time stepping)": [[29, "setup-schedule-control-and-time-stepping"]], "Run the simulation for the discharge": [[29, "run-the-simulation-for-the-discharge"]], "Setup charge schedule": [[29, "setup-charge-schedule"]], "Run the simulation for the charge perios": [[29, "run-the-simulation-for-the-charge-perios"]], "Visualisation": [[29, "visualisation"]], "Source code for runSiliconGraphiteBattery": [[30, "source-code-for-runsilicongraphitebattery"]], "runThermalModel": [[31, "runthermalmodel"]], "See Also": [[32, "see-also"]], "MRST": [[32, "mrst"]], "Visualization Tutorial": [[32, "visualization"]], "Grid Factory Tutorial": [[32, "id2"]], "FAIR Data": [[32, "fair-data"]], "Solid Diffusion Models": [[33, "solid-diffusion-models"]], "Thermal Simulation": [[34, "thermal-simulation"]], "List of curated examples": [[35, "list-of-curated-examples"]], "Units": [[36, "units"]], "Converting units in BattMo": [[36, "converting-units-in-battmo"]], "Units and JSON input": [[36, "units-and-json-input"]]}, "indexentries": {}})
\ No newline at end of file
diff --git a/seealso.html b/seealso.html
index 5b30a117..e6014ae2 100644
--- a/seealso.html
+++ b/seealso.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/soliddiffusion.html b/soliddiffusion.html
index 9feeb314..7f581583 100644
--- a/soliddiffusion.html
+++ b/soliddiffusion.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/thermal.html b/thermal.html
index 4f33024c..9d572b8f 100644
--- a/thermal.html
+++ b/thermal.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/tutorials.html b/tutorials.html
index 037254cc..75cd5e2f 100644
--- a/tutorials.html
+++ b/tutorials.html
@@ -140,7 +140,10 @@
- BattMo Julia bridge
- Electrolyser simulation
diff --git a/units.html b/units.html
index b80e89a8..3d6b7525 100644
--- a/units.html
+++ b/units.html
@@ -142,7 +142,10 @@
- BattMo Julia bridge
- Electrolyser simulation