Open tomalrussell opened 5 years ago
Note that this was started added in 1f0d0f2230530af80578d04c22da5e326ce64057 - see https://smif.readthedocs.io/en/latest/decisions.html#pre-specified-planning for rendered version
:+1: linked from contents (sidebar/homepage) as of 742df72c13add969339357f5685d9a26c2d0ca5e
Question: How do I specify in the model run which interventions should be chosen? Does it just scan through all possible interventions and pick what is specified in the pre-specified pipeline?
Two-part answer - there's a config bit and a data bit (examples from the smif sample project): 1) config: add a pre-specified planning strategy to the model run, e.g.
config/model_runs/energy_central.yml#L14-L17
2) data: specify the interventions to build in that strategy in a CSV with
name
andbuild_year
columns, e.g.planning/energy_supply.csv
The
name
is used as a unique identifier and matched against thename
in the intervention definition files, e.g.data/interventions/energy_supply.csv
The idea, loosely, is that the lists of interventions define the possible decisions, then the pre-specified plans and/or decision modules choose from those options.