Hi everyone,
I’m working with very long simulations in PyBaMM, where outputs from one simulation inform (by manually updating Capacity) the experimental protocol for depth of discharge in the next. Because of this iterative process, my simulations are crashing due to excessive output data storage.
With pybamm.IDAKLUSolver
, I can specify required outputs like this:
python
solver = pybamm.IDAKLUSolver(output_variables=["Voltage [V]"])
However, I haven’t been able to do the same for pybamm.CasadiSolver
.
Is there a way to reduce the size of stored outputs in CasADi Solver to avoid memory overload? Any insights would be greatly appreciated!
Thanks in advance!