Skip to content

Refactor run_models #1586

@pschultzendorff

Description

@pschultzendorff

Currently, different logic and bookkeeping regarding time stepping, logging, progressbars, and solvers is crammed into run_time_dependent_model. This makes it hard to see the time stepping and solver logic.

Analog to the rewrite of NewtonSolver in #1448, we want to introduce a base class ModelRunner, with childs StationaryModelRunner, TimeDependentModelRunner, and IterativeModelRunner that clearly separate the logic into different methods.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions