smif.decision module¶
The decision module handles the three planning levels
Currently, only pre-specified planning is implemented.
The choices made in the three planning levels influence the set of interventions and assets available within a model run.
The interventions available in a model run are stored in the
InterventionRegister
.
When pre-specified planning are declared, each of the corresponding interventions in the InterventionRegister are moved to the BuiltInterventionRegister.
Once pre-specified planning is instantiated, the action space for rule-based and optimisation approaches can be generated from the remaining Interventions in the InterventionRegister.
Summary¶
Classes:
Planning |
Holds the list of planned interventions, where a single planned intervention is an intervention with a build date after which it will be included in the modelled systems. |
Reference¶
-
class
smif.decision.
Planning
(planned_interventions=None)[source]¶ Bases:
object
Holds the list of planned interventions, where a single planned intervention is an intervention with a build date after which it will be included in the modelled systems.
For example, a small pumping station might be built in Oxford in 2045:
{ 'name': 'small_pumping_station', 'build_date': 2045 }
-
planned_interventions
¶ list – A list of pre-specified planned interventions
-
names
¶ Returns the set of assets defined in the planned interventions
-
timeperiods
¶ Returns the set of build dates defined in the planned interventions
-