Error: #235
Error:
#235
Replies: 2 comments
-
There is not enough information to help you with this error. I'd need to see the whole script. Did you figure it out already? |
Beta Was this translation helpful? Give feedback.
0 replies
-
There was an issue with my drive cycle data, but it has now been resolved. |
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
-
Traceback (most recent call last):
File "C:\Users\Welcome\PycharmProjects\Li_ion_example\drive_cycle.py", line 49, in
output = lp.solve(
File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\liionpack\solver_utils.py", line 431, in solve
output = rm.solve(
File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\liionpack\solvers.py", line 359, in solve
self.setup_actors(nproc, self.inputs_dict, initial_soc)
File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\liionpack\solvers.py", line 630, in setup_actors
a.setup(
File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\liionpack\solvers.py", line 59, in setup
casadi_objs = cco(
File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\liionpack\solver_utils.py", line 289, in _create_casadi_objects
init_sol = sim.step(
File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\pybamm\simulation.py", line 880, in step
self._solution = solver.step(
File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\pybamm\solvers\base_solver.py", line 1190, in step
self._check_events_with_initial_conditions(t_eval, model, model_inputs)
File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\pybamm\solvers\base_solver.py", line 1065, in _check_events_with_initial_conditions
raise pybamm.SolverError(
pybamm.expression_tree.exceptions.SolverError: Events ['Maximum voltage'] are non-positive at initial conditions
Process finished with exit code 1
Beta Was this translation helpful? Give feedback.
All reactions