Incorporating Lithium Plating effects for DFN model using 'Ai2020' parameter set, and some other questions. #2340
-
Hello, I have a few questions. Hope you can solve them! Question 1: How could I incorporate lithium plating effects while using this specific parameter set? The code can be found at the bottom of this message. Question 2: I always use the other method being, However, with this method, some parameter sets are unavailable, for example OKane2022. Thus, I would like to know why the first method is not working for me. Question 3: Question 4: The code for the first question can be found below. import pybamm Model and parameter set initiationoptions = {"SEI": "ec reaction limited", Depleting the battery first and setting initial conditions to the onesdischarge_exp = pybamm.Experiment(["Discharge at C/10 until 3V"]) ## Setting up experiment to deplete battery at low current rate MODEL RE-INITIALIZATION:Now initialize the model with the solution of the discharge, and then chargeWe could also do this inplace by setting inplace to True, which modifies the originalmodel in placenew_model = model.set_initial_conditions_from(discharge_sol, inplace=False) ######################################################################################## |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
1: you have to manually add the lithium plating parameters for that parameter set, e.g. using the same values as the other parameter sets (or better values if you have them) |
Beta Was this translation helpful? Give feedback.
1: you have to manually add the lithium plating parameters for that parameter set, e.g. using the same values as the other parameter sets (or better values if you have them)
2: try updating to the latest version of PyBaMM
3: The summary variable "Capacity [A.h]" is calculated as a function of total cyclable lithium and electrode capacities (related to LLI/LAM). See this example for details and reference: https://github.com/pybamm-team/PyBaMM/blob/develop/examples/notebooks/models/electrode-state-of-health.ipynb. This capacity ignores C-rate and effect of internal resistance.
The summary variable "Measured capacity [A.h]" is simply coulomb counting between the voltage limits (i.e. returns …