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
Starting with PyBaMM v23.5 it is possible to pass predefined output variables to the IDAKLU solver. This feature eliminates the need to access the pybamm.solution class, as the solver returns the requested output variables directly. For PyBOP this would be the cost.signal object.
This should reduce computation time and memory requirements as we avoid the pybamm.solution class altogether.
Motivation
Reduce inference/optimisation time, simplify the codebase.
Possible implementation
Example taken from tests for the output_variable solver functionality:
Solve for a subset of variables and compare results
Feature description
Starting with PyBaMM v23.5 it is possible to pass predefined output variables to the IDAKLU solver. This feature eliminates the need to access the pybamm.solution class, as the solver returns the requested output variables directly. For PyBOP this would be the
cost.signal
object.This should reduce computation time and memory requirements as we avoid the pybamm.solution class altogether.
Motivation
Reduce inference/optimisation time, simplify the codebase.
Possible implementation
Example taken from tests for the
output_variable
solver functionality:Solve for a subset of variables and compare results
Additional context
No response
The text was updated successfully, but these errors were encountered: