Equivalent circuit model #237
Replies: 2 comments 9 replies
-
I found a very similar problem when trying to simulate the thevenin model. I managed to define the thevenin model and the ECM parameter values but ran into a key error for the open circuit voltage. After a bit of debugging, I realized that in line 329 of solvers.py, the self.variable_names is defined as a list in which one of the variable names is "Measured battery open circuit voltage [V]". This is a variable name of the electrochemical models and I had to change it to "Open circuit voltage [V]" to have that running for me. So you might have to also do something similar for "Cell capacity [A.h]". But now I struggle with yet another error. miniconda3/envs/testenv2/lib/python3.9/site-packages/liionpack/netlist_utils.py:524: RuntimeWarning: divide by zero encountered in divide The complete error is as follows: tepping simulation: 30%|██▉ | 11463/38281 [03:44<08:46, 50.95it/s]/home//miniconda3/envs/testenv2/lib/python3.9/site-packages/liionpack/netlist_utils.py:524: RuntimeWarning: divide by zero encountered in divide Any solutions to this problem is highly appreciated. |
Beta Was this translation helpful? Give feedback.
-
@balaji3112 are you sure you have defined your ParameterValues object properly? They will not have the same parameter values as that of the electrochemical model parameter sets. |
Beta Was this translation helpful? Give feedback.
-
I wish to run liionpack simulation using thevenin model, but I'm facing lot of issues while trying to use thevenin model. for example the following key mismatch error. Does liionpack can only simulate SPM models or is it possible to simulate other models also?
KeyError: "'Cell capacity [A.h]' not found. Best matches are ['Nominal cell capacity [A.h]']"
Process finished with exit code 1
Beta Was this translation helpful? Give feedback.
All reactions