You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to solve a DFN model using the OKane 2022 model with the initial SOC option enabled according to the code below. But I am getting an error when the initial SOC option is enabled, which is not the case when disabled.
Can someone assist me in this regard?
Code
`model = pybamm.lithium_ion.DFN(
{
"thermal": "lumped", #lumped thermal submodel
"surface form": "differential", #Adding capacitance to the model
}
)
At t = 495.482 repeated recoverable right-hand side function errors.
At t = 206.436 and h = 2.27396e-09, the corrector convergence test failed repeatedly or with |h| = hmin.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I am trying to solve a DFN model using the OKane 2022 model with the initial SOC option enabled according to the code below. But I am getting an error when the initial SOC option is enabled, which is not the case when disabled.
Can someone assist me in this regard?
Code
`model = pybamm.lithium_ion.DFN(
{
"thermal": "lumped", #lumped thermal submodel
"surface form": "differential", #Adding capacitance to the model
}
)
pp = pybamm.ParameterValues("OKane2022")
sim = pybamm.Simulation(model, parameter_values=pp)
sol = sim.solve([0, 3600],initial_soc=0.9)
`
error message
At t = 495.482 repeated recoverable right-hand side function errors.
At t = 206.436 and h = 2.27396e-09, the corrector convergence test failed repeatedly or with |h| = hmin.
Beta Was this translation helpful? Give feedback.
All reactions