Event: Minimum voltage' was triggered #2790
redchang111
started this conversation in
General
Replies: 0 comments
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 want to use the parameter set of "Chen2020" to simulate Yang's experiment process to see the aging trajectory of the battery. But the error is that I triggered the minimum voltage which interrupted the experiment. Here is my code:
import pybamm
import numpy as np
aging_option={"SEI":"ec reaction limited"}
model = pybamm.lithium_ion.DFN(options=aging_option)
params_value= pybamm.ParameterValues("Chen2020")
#params_value["Lower voltage cut-off [V]"] = 2.7
geometry = model.default_geometry
params_value.process_model(model)
params_value.process_geometry(geometry)
experiment=pybamm.Experiment(
[
("Discharge at 0.1C until 2.8V",
"Charge at 1C until 4.2V",
"Hold at 4.2V until C/10",
"Rest for 5 minutes",)] * 5,
)#Yang's process
var_pts={'x_n': 20,
'x_s': 20,
'x_p': 20,
'r_n': 20,
'r_p': 20,
'r_n_prim': 20,
'r_p_prim': 20,
'r_n_sec': 20,
'r_p_sec': 20,
'y': 20,
'z': 20,
'R_n': 30,
'R_p': 30}
mesh=pybamm.Mesh(geometry,model.default_submesh_types,var_pts)
#t_eval =np.linspace(0,3600,100)
safe_solver = pybamm.CasadiSolver(atol=1e-3, rtol=1e-3, mode="safe")
sim=pybamm.Simulation(model,experiment=experiment,parameter_values=params_value,var_pts=var_pts,solver=safe_solver)
sim.solve()
sim.plot()
2023-03-20 22:03:16.215 - [WARNING] callbacks.on_experiment_infeasible(233):
Beta Was this translation helpful? Give feedback.
All reactions