8000 Can't run resstock in parallel · Issue #219 · Test-Cloned-Org/resstock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Can't run resstock in parallel #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
willf opened this issue Feb 12, 2025 · 0 comments
Open

Can't run resstock in parallel #219

willf opened this issue Feb 12, 2025 · 0 comments
Labels

Comments

@willf
Copy link
willf commented Feb 12, 2025

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/resources to resstock/lib/resources
      • cp resstock/project_<national|baseline>/housing_characteristics to resstock/lib/housing_characteristics
    • Also wipes the lib folder at end unless --debug is 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
  • It copies (or create if not precomputed) the buildstock.csv to the resstock/lib/housing_characteristics/buildstock.csv and BuildExistingModel measure just plain assumes it there, with no option to change it

    • buildstock_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.

@willf willf added the feature label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant
0