Skip to content

Calculate summary variables only when they are called #4058

@rtimms

Description

@rtimms

As discussed in #3995

  • create a SummaryVariable object that saves solution.last_state and uses it to calculate the esoh variables only when they are called (the same way as Solution calculates the variables only when they are called)
  • allow users to pass in functions that calculate summary variables based on other variables

Metadata

Metadata

Assignees

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