Skip to content

Ability to skip NA simulations #2601

@shorowit

Description

@shorowit

For ResStock, it would be extremely helpful to be able to skip simulations. The context is that we have measures (e.g., apply wall insulation) that only apply to a subset of the building stock (e.g., buildings with uninsulated walls). If the simulation continues without applying this measure, it means we are running a huge number of additional simulations that we don't need to be.

Skipping simulations should work by using:

runner.registerAsNotApplicable
return false

Using registerAsNotApplicable; return true should work as it does now (measure is not applied but simulation continues).

Note that one can of course use registerError; return false as a way to not run simulations, but then it becomes really difficult to determine what's a "true" error (e.g., measure syntax error) and what is simply us trying to skip a simulation.

@macumber @rHorsey @asparke2 @brianlball

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions