Skip to content
Michael Reilly edited this page Dec 21, 2018 · 5 revisions

#Multiple Logsums

This allows us to reference different logsum files for each forecast year. The referencing occurs in settings.yml. If a setting doens't exist a default is used. Any referenced files are combined and used in the hedonic during simulation (just like the basic one has been used).

We want the logsum variables to be set by default for ALL YEARS to the current file. Then we want to override in the yaml in two stages. First, we can override by year so that if the logsum_2010 assignment statement exists it uses that file for all scenarios. Then if a year-specific file assignment it assign that new file for all scenarios. If a scenario-specific file exist it overrides both previous assignment. Finally if both are specified it overrides it all.

basic assignment-must exist

logsum = ‘logums_super_generic’

optional year specific is first override

logsum_2010 = ...

optional scenario specific is second override

logsum_s1 = ...

optional year and scenario is third override

logsum_2010_s1 = ...

Clone this wiki locally