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

Resstock sampling file

asked 2023-08-17 12:23:26 -0500

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?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
3

answered 2023-08-17 14:36:19 -0500

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

edit flag offensive delete link more

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  ( 2023-08-17 17:41:49 -0500 )edit

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  ( 2023-08-17 17:52:55 -0500 )edit

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  ( 2023-08-21 11:33:11 -0500 )edit

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  ( 2023-08-21 11:40:43 -0500 )edit

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: 2023-08-17 12:23:26 -0500

Seen: 54 times

Last updated: Aug 17 '23