Updating parameter in aging model manually after every cycle #3858
Replies: 1 comment 1 reply
-
Hi @kiranbhaskar. One of the steps performed by the So you would need to change all the parameters you wish to alter to input parameters, then pass in a dictionary of the new values to every call of the solver |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am using PyBaMM's aging models for simulating NMC battery cell aging. I am using the parameter set from SimonO'Kane et al:
I am using the following aging mechanisms as:
`
I want to modify the input current profile for every cycle depending on the instantaneous capacity of the cell after every cycle. So I am unable to use the pybamm.experiment() and have multiple cycles in that. I want to modify the cycles every iteration and it will be a function of the instantaneous capacity. So, at the end of every cycle, I am updating the following parameter (for the next cycle simulation) manually as follows:
However, I am getting errors after a cycle:
Apart from the above, do you have any suggestions on how to update the initial values of the parameters for the second cycle simulation to the final values of the first cycle?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions