Replies: 1 comment
-
Okay, if you control the C-rate and manage time of simulation depending on C-rate, it should work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure if I should ask this here, but:
I am trying to conduct optimization of capacity fade while current gets be maximized (2 objectives). I implemented a simple setup such that the cell first gets discharged completely, or by half (depending on C rate and time), and then the pybamm setup is basically written inside pymoo setup such that the rest of charging can be observed by pymoo's algorithm.
Unfortunately, setting an arbitrary lower bound for current makes it so that it doesn't solve fully. It gives
IDAS_TOO_MUCH_WORK
, orIDAS_CONV_FAIL
, or evenpybamm.expression_tree.exceptions.SolverError: Events ['Minimum voltage'] are non-positive at initial conditions
.Unless I guess some right negative current (charging) values, it doesn't run. But then, how to determine the exact bounds for which the current would work?
I'm unable to understand how to set it up. If anyone here could tell how to proceed it will be best.
The bare pybamm setup looks like this:
With pymoo added, it looks like this:
Note, I did look at calculate_sensitivites feature, but I was not sure how to go about multi-objective optimization.
Beta Was this translation helpful? Give feedback.
All reactions