From 13c9c912de375252f72b1166ff545103415f785a Mon Sep 17 00:00:00 2001 From: martinjrobins Date: Mon, 12 Jun 2023 16:04:38 +0000 Subject: [PATCH 1/2] #2954 turn off benchmark: ORegan2022 DFN solver with the casadi model --- benchmarks/time_solve_models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/benchmarks/time_solve_models.py b/benchmarks/time_solve_models.py index d17d9f603f..f277769497 100644 --- a/benchmarks/time_solve_models.py +++ b/benchmarks/time_solve_models.py @@ -145,8 +145,7 @@ class TimeSolveDFN: ) def setup(self, solve_first, parameters, solver_class): - if (solve_first, parameters, solver_class) == ( - True, + if (parameters, solver_class) == ( "ORegan2022", pybamm.CasadiSolver, ): From 8c455d6238ba67465b4a9452289f302fc5816461 Mon Sep 17 00:00:00 2001 From: martinjrobins Date: Mon, 19 Jun 2023 20:07:11 +0000 Subject: [PATCH 2/2] #2954 reduce GITT benchmark to 10 cycles --- benchmarks/time_sims_experiments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/time_sims_experiments.py b/benchmarks/time_sims_experiments.py index a3d4195f8a..5e05470734 100644 --- a/benchmarks/time_sims_experiments.py +++ b/benchmarks/time_sims_experiments.py @@ -17,7 +17,7 @@ class TimeSimulation: "Hold at 4.1 V until 10 mA", "Rest for 1 hour", ], - "GITT": [("Discharge at C/20 for 1 hour", "Rest for 1 hour")] * 20, + "GITT": [("Discharge at C/20 for 1 hour", "Rest for 1 hour")] * 10, } def setup(self, experiment, parameters, model_class, solver_class):