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

Revision history [back]

click to hide/show revision 1
initial version

Sampling residential_quota_downselect and buildstock.csv

I am attempting to subset to certain housing characteristics for simulation runs. I am running the national project (just sampling for debugging now) as:

openstudio workflow/run_analysis.rb -y project_national/new_england_baseline.yml -s -o

In the yml I have the sampler defined as:

 sampler:
  type: residential_quota_downselect
  args:
    n_datapoints: 1300
    logic:
      - Geometry Building Type RECS|Single-Family Detached
      - Vacancy Status|Occupied
      - State|MA

    resample: false

When I check my output directory, however, the buildstock.csv file is a sample from all states of size 1300, not a subset of samples from Massachusetts. Any help would be greatly appreciated, thanks!