Skip to content

restructuring pybop base model and building #699

@martinjrobins

Description

@martinjrobins

A meta-issue to kick off the new pybop restructure.

We've got a draft of the classes involved in the restructure here: https://github.com/pybop-team/PyBOP2

New classes are:

  • ProblemBuilder: Users create this first and use setters to set various aspects of a problem (e.g. costs, pybamm simulation, parameters). Finally a build function is called with creates a runner class (see below)
  • PyBaMMResetter: Not sure if this is really needed, but both the builder and the runner with geometric parameters will need to build a pybamm model from a base pybamm model, so it might be worth created a class for both of these to use to help with this process

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions