Currently OCPBalance does not use pybamm.Simulation which means many parts of the code are written in a hacky way. Reformat it to use a PyBaMM model so code can be refactored into BaseOptimisationProblem. This should make it easier to implement new features going forward, e.g. #38.
Currently
OCPBalance
does not usepybamm.Simulation
which means many parts of the code are written in a hacky way. Reformat it to use a PyBaMM model so code can be refactored intoBaseOptimisationProblem
. This should make it easier to implement new features going forward, e.g. #38.