First time here? Check our help page!
2

Run Resstock OS models by building id

Is there a way to run resstock model(s) by inputing a building id or a list of building ids listed in metadata.tsv?

xchen's avatar
929
xchen
asked 2024-06-26 16:38:34 -0500
sashadf1's avatar
1.1k
sashadf1
updated 2024-06-28 12:19:16 -0500
edit flag offensive 0 remove flag close merge delete

Comments

"The format is that the first column is the building_id, usually starting at one and incrementing from there, and following columns each represent a building characteristic."

building_id is the first column in buildstock.csv, so you should be able to identify the buildings you want using that field.

I'm not sure why you are using metadata.csv instead of buildstock.csv. It's been a few months since I've used ResStock and I don't actively work on/with that project right now, so the documentation is your best bet. You can always verify the buildings that are sampled when you run ResStock.

sashadf1's avatar sashadf1 (2024-07-01 17:19:55 -0500) edit
add a comment see more comments

1 Answer

0

You can reference the precomputed sampler here.

sashadf1's avatar
1.1k
sashadf1
answered 2024-06-28 12:20:17 -0500, updated 2024-07-01 13:24:46 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you @sashadf1. If using the precomputed sampler, I need to provide a buildstock.csv with all inputs. Looks like most of the in.xxx columns in metadata.csv correspond to the columns in buildstock.csv, with some exceptions maybe because the buildstock and metadata version I used were different. So I ended up copying all these inputs from metadata.csv to buildstock.csv. Is this the right approach or is there a way I can use provide building_id as an argument in the yml file?

xchen's avatar xchen (2024-07-01 13:30:13 -0500) edit
add a comment see more comments