Experiment setup with a custom model #4503
Unanswered
isaacbasil
asked this question in
Q&A
Replies: 1 comment 7 replies
-
does your model have a If you are able to provide a minimal script that can reproduce the error this would be helpful |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having some trouble running experiments in Pybamm with a custom model (which is basically the DFN). My goal is to discharge an NMC half-cell until a voltage constraint is reached, followed by a relaxation period for a prescribed length of time. Also, I need to be able to provide t_eval. When I try the following,
I get the following error:
"Cannot update parameter 'Current function [A]' as it does not have a default value. ('Current function [A]' not found. Best matches are []). If you are sure you want to update this parameter, use param.update({{name: value}}, check_already_exists=False)"
However, I am not sure how to set a default value for 'Current function [A]'. Or alternatively, I am not sure where to place param.update({{name: value}}, check_already_exists=False).
Any advice appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions