Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

Resstock sampling file

asked 1 year ago

mfath's avatar

Hi,

In ResStock documentation it is mentioned that "If a custom buildstock.csv file is located in a project’s housing_characteristics directory when you run the project, it will automatically be used to generate simulations. If it’s not found, the sampling will be run automatically to create one." However, when I am running resstock locally using buildstockbatch_local, every time it is performing the sampling again. Is there anyway to use the existing buildstock.csv file?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 1 year ago

The ResStock documentation is out of date. If a custom buildstock.csv file is located in a project's housing_characteristics folder, it is not enough to tell buildstockbatch to use it. Instead, follow buildstockbatch's documentation for using the precomputed sampler in your project definition file: https://buildstockbatch.readthedocs.i....

You can also see an example for how to point to a custom buildstock.csv file here: https://github.com/NREL/resstock/blob....

Preview: (hide)
link

Comments

Thank you @joseph-robertson! is the sample file still located in the housing characteristics folder and the path is relative to that folder?

mfath's avatar mfath  ( 1 year ago )

Like in the https://github.com/NREL/resstock/blob... example, the sample_file path is relative to the folder that contains your YML file.

joseph-robertson's avatar joseph-robertson  ( 1 year ago )

Thank you @joseph-robertson! appreciated! I did follow the same steps and all the simulations are failed with precomputed method. Not sure what is the reason given that all simulations are successful when the sampling is done with residential quota sampler. Here is the buildstock.csv (https://drive.google.com/file/d/1A3Ql...) file and openstudio_output.log (https://drive.google.com/file/d/1PYAL...) for one of the simulations and I would appreciate any insights.

mfath's avatar mfath  ( 1 year ago )

The openstudio_output.log shows that you are trying to set parameter "Heating Setpoint" to an option of "68". You can see in the options_lookup.tsv that options are of the form "xxF", e.g., "68F" and not "68". Presumably you are making manual modifications to your buildstock.csv file? You just need to be careful that any options stored in the buildstock.csv file need to have corresponding options defined in the options_lookup.tsv.

joseph-robertson's avatar joseph-robertson  ( 1 year ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 1 year ago

Seen: 121 times

Last updated: Aug 17 '23