forked from NatLabRockies/resstock
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
I know this is an odd workflow, but I'd like to call resstock in parallel, to run multiple models (baseline only) built each with a precomputed buildstock.csv
Issues:
-
run_analysis.rb consistently wipes and recreates the resstock/lib folder
- At initialization
- cp
resstock/resourcestoresstock/lib/resources - cp
resstock/project_<national|baseline>/housing_characteristicstoresstock/lib/housing_characteristics
- cp
- Also wipes the lib folder at end unless
--debugis passed - This is avoidable, especially considering there's a smart way to check if it's needed to recreate it, via checksuming the content of the source dir and target dir to ensure we have up to date copies in resstock/lib
- At initialization
-
It copies (or create if not precomputed) the buildstock.csv to the
resstock/lib/housing_characteristics/buildstock.csvand BuildExistingModel measure just plain assumes it there, with no option to change itbuildstock_csv_path = File.absolute_path(File.join(characteristics_dir, 'buildstock.csv')) # Should have been generated by the Worker Initialization Script (run_sampling.rb) or provided by the project
Source: NREL on 2023-09-05.