NREL / buildstockbatch

Other
21 stars 14 forks source link

Basic, single datapoint ResStock run taking 30 min #278

Closed sudeepy closed 2 years ago

sudeepy commented 2 years ago

Describe the bug I'm running a vanilla checkout of buildstockbatch and resstock, using downselect logic to simulate a single datapoint in a specific county.

When using run_workflow in resstock, doing a single datapoint simulation takes a few minutes, but running through buildstockbatch takes 30 min. 20 of those minutes is spent on downselect logic, while the remaining 10 is seemingly on the simulation. This happens both on initial run and repeated runs. I have a local copy of the weather archive that my project file points to.

To Reproduce Steps to reproduce the behavior:

  1. Project yaml file that exercises the bug:
    
    schema_version: '0.3'
    buildstock_directory: ../resstock-2.5.0  # Relative to this file or absolute
    project_directory: project_national  # Relative to buildstock_directory
    output_directory: ./test_output_downselect
    # weather_files_url: https://data.nrel.gov/system/files/156/BuildStock_TMY3_FIPS.zip
    weather_files_path: ./weather/BuildStock_TMY3_FIPS.zip  # Relative to this file or absolute path to zipped weather files

sampler: type: residential_quota_downselect args: n_datapoints: 1 logic:

workflow_generator: type: residential_default args: timeseries_csv_export: reporting_frequency: Hourly include_enduse_subcategories: true

baseline: n_buildings_represented: 133172057 # Total number of residential dwelling units in contiguous United States, including unoccupied units, resulting from a census tract level query of ACS 5-yr 2016 (i.e. 2012-2016), using this script: https://github.com/NREL/resstock-estimation/blob/master/sources/spatial/tsv_maker.py.

upgrades:

Expected behavior I'm new to resstock and buildstockbatch, but based on my discussion in the resstock repo with @joseph-robertson, 30 minutes to run a single simulation sounds high, especially since the same simulation (minus the downselect logic) via run_workflow takes under 1 minute.

Logs

Please copy pertinent sections of log files here (e.g. sampling.out, job.out-*, postprocessing.out, sinularity-output.log, etc.)

Terminal output:

(buildstockbatch-0.21) sudeepy@sudeepy-m1-mbp buildstockbatch-0.21 % buildstock_docker project_test.yml

     _ __         _     __,              _ __
    ( /  )    o  //   /(    _/_       / ( /  )     _/_    /
     /--< , ,,  // __/  `.  /  __ _, /<  /--< __,  /  _, /
    /___/(_/_(_(/_(_/_(___)(__(_)(__/ |_/___/(_/(_(__(__/ /_
      Executing BuildStock projects with grace since 2018

INFO:2022-03-22 08:36:06:buildstockbatch.base:Base Validation Successful
DEBUG:2022-03-22 08:36:06:buildstockbatch.base:Using OpenStudio version: 3.3.0 with SHA: ad235ff36e
DEBUG:2022-03-22 08:36:06:buildstockbatch.localdocker:Pulling docker image: nrel/openstudio:3.3.0
DEBUG:2022-03-22 08:36:07:buildstockbatch.sampler.downselect:Performing initial sampling to figure out number of samples for downselect
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Schedules...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Usage Level...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Orientation...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Eaves...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Door Area...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Overhangs...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Interior Shading...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Doors...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Hot Water Fixtures...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Solar Hot Water...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Secondary Heating Type And Fuel...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Secondary Heating Efficiency...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Is Faulted...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Dehumidifier...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Lighting Interior Use...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Lighting Other Use...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Holiday Lighting...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Plug Load Diversity...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Electric Vehicle...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Gas Fireplace...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Gas Grill...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Gas Lighting...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Well Pump...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Natural Ventilation...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Mechanical Ventilation...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Bathroom Spot Vent Hour...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Range Spot Vent Hour...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/ASHRAE IECC Climate Zone 2004...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/County...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/AHS Region...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/State...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Location Region...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Census Division...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Census Division RECS...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Census Region...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/ISO RTO Region...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Building America Climate Zone...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/PUMA...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Type ACS...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Vintage...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Vintage ACS...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Type RECS...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Fuel...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Number Units SFA...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Horizontal Location SFA...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Foundation Type...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Floor Area...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Floor Area Bin...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Stories...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Type Height...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Level MF...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Number Units MF...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Horizontal Location MF...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Stories Low Rise...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Attic Type...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Story Bin...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Wall Type...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Wall Exterior Finish...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Wall Type And Exterior Finish...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Garage...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Bedrooms...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Corridor...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Vacancy Status...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Occupants...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Window Areas...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Neighbors...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Ceiling...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Roof...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Radiant Barrier...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Roof Material...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Slab...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Floor...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Foundation Wall...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Wall...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Windows...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Water Heater In Unit...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Water Heater Fuel...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Water Heater Efficiency...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Hot Water Distribution...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Heating Type...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Cooling Type...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Has Shared System...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Shared Efficiencies...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Heating Efficiency...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Has Zonal Electric Heating...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Heating Type And Fuel...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Cooling Efficiency...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Single Speed AC Airflow...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Single Speed ASHP Airflow...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Single Speed AC Charge...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Single Speed ASHP Charge...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Setpoint...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooling Setpoint...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Setpoint Has Offset...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooling Setpoint Has Offset...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Setpoint Offset Magnitude...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooling Setpoint Offset Magnitude...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Setpoint Offset Period...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooling Setpoint Offset Period...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Ceiling Fan...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Refrigerator...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooking Range...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Dishwasher...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Clothes Washer Presence...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Clothes Washer...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Clothes Dryer...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Lighting...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Plug Loads...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Extra Refrigerator...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Freezer...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Hot Tub Spa...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Pool...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Pool Heater...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Pool Pump...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Has Ducts...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Ducts...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Infiltration...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Has PV...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/PV System Size...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/PV Orientation...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/CEC Climate Zone...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/REEDS Balancing Area...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling project_national/Generation And Emissions Assessment Region...
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Wrote output file buildstock.csv.
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling took: 17.7 minutes.
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:
DEBUG:2022-03-22 08:53:53:buildstockbatch.sampler.residential_quota:Sampling took 1065.7 seconds
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Schedules...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Usage Level...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Orientation...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Eaves...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Door Area...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Overhangs...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Interior Shading...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Doors...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Hot Water Fixtures...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Solar Hot Water...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Secondary Heating Type And Fuel...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Secondary Heating Efficiency...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Is Faulted...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Dehumidifier...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Lighting Interior Use...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Lighting Other Use...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Holiday Lighting...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Plug Load Diversity...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Electric Vehicle...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Gas Fireplace...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Gas Grill...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Gas Lighting...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Well Pump...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Natural Ventilation...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Mechanical Ventilation...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Bathroom Spot Vent Hour...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Range Spot Vent Hour...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/ASHRAE IECC Climate Zone 2004...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/County...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/AHS Region...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/State...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Location Region...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Census Division...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Census Division RECS...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Census Region...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/ISO RTO Region...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Building America Climate Zone...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/PUMA...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Type ACS...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Vintage...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Vintage ACS...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Type RECS...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Fuel...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Number Units SFA...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Horizontal Location SFA...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Foundation Type...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Floor Area...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Floor Area Bin...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Stories...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Type Height...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Level MF...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Number Units MF...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Building Horizontal Location MF...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Stories Low Rise...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Attic Type...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Story Bin...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Wall Type...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Wall Exterior Finish...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Wall Type And Exterior Finish...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Geometry Garage...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Bedrooms...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Corridor...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Vacancy Status...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Occupants...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Window Areas...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Neighbors...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Ceiling...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Roof...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Radiant Barrier...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Roof Material...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Slab...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Floor...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Foundation Wall...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Insulation Wall...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Windows...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Water Heater In Unit...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Water Heater Fuel...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Water Heater Efficiency...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Hot Water Distribution...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Heating Type...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Cooling Type...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Has Shared System...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Shared Efficiencies...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Heating Efficiency...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Has Zonal Electric Heating...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Heating Type And Fuel...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Cooling Efficiency...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Single Speed AC Airflow...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Single Speed ASHP Airflow...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Single Speed AC Charge...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC System Single Speed ASHP Charge...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Setpoint...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooling Setpoint...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Setpoint Has Offset...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooling Setpoint Has Offset...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Setpoint Offset Magnitude...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooling Setpoint Offset Magnitude...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Heating Setpoint Offset Period...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooling Setpoint Offset Period...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Ceiling Fan...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Refrigerator...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Cooking Range...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Dishwasher...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Clothes Washer Presence...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Clothes Washer...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Clothes Dryer...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Lighting...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Plug Loads...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Extra Refrigerator...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Freezer...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Hot Tub Spa...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Pool...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Pool Heater...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Misc Pool Pump...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/HVAC Has Ducts...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Ducts...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Infiltration...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Has PV...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/PV System Size...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/PV Orientation...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/CEC Climate Zone...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/REEDS Balancing Area...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling project_national/Generation And Emissions Assessment Region...
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Wrote output file buildstock.csv.
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling took: 1.7 minutes.
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:
DEBUG:2022-03-22 08:55:39:buildstockbatch.sampler.residential_quota:Sampling took 101.2 seconds
DEBUG:2022-03-22 08:55:39:buildstockbatch.base:Copying weather files
DEBUG:2022-03-22 08:55:39:buildstockbatch.base:Extracting weather files to: /Users/sudeepy/mvts/buildstockbatch-0.21/test_output_downselect/weather_qyp8kdw
[Parallel(n_jobs=4)]: Using backend LokyBackend with 4 concurrent workers.
[Parallel(n_jobs=4)]: Done   2 out of   2 | elapsed:  9.0min remaining:    0.0s
[Parallel(n_jobs=4)]: Done   2 out of   2 | elapsed:  9.0min finished
DEBUG:2022-03-22 09:04:52:buildstockbatch.localdocker:Compressing simulation outputs to /Users/sudeepy/mvts/buildstockbatch-0.21/test_output_downselect/simulation_output/simulations_job0.tar.gz
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Collecting all the columns in timeseries parquet files.
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Processing upgrade 0. 
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Obtained results_df for 0 with 1 datapoints. 
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Writing /Users/sudeepy/mvts/buildstockbatch-0.21/test_output_downselect/results_csvs/results_up00.csv.gz
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Max parquet memory: 1000 MB
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Combining about 1 parquets together. Creating 1 groups.
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Created directory /Users/sudeepy/mvts/buildstockbatch-0.21/test_output_downselect/parquet/timeseries/upgrade=0/ for writing.
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Finished combining and saving timeseries for upgrade0.
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Processing upgrade 1. 
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Obtained results_df for 1 with 1 datapoints. 
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Writing /Users/sudeepy/mvts/buildstockbatch-0.21/test_output_downselect/results_csvs/results_up01.csv.gz
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Max parquet memory: 1000 MB
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Combining about 1 parquets together. Creating 1 groups.
INFO:2022-03-22 09:04:56:buildstockbatch.postprocessing:Created directory /Users/sudeepy/mvts/buildstockbatch-0.21/test_output_downselect/parquet/timeseries/upgrade=1/ for writing.
INFO:2022-03-22 09:04:57:buildstockbatch.postprocessing:Finished combining and saving timeseries for upgrade1.
INFO:2022-03-22 09:04:57:buildstockbatch.postprocessing:Removing results_job*.json.gz

(side note: where can I find those other log files?)

Platform (please complete the following information):

Additional context None

sudeepy commented 2 years ago

Per @shorowit, might be the same issue as https://github.com/NREL/buildstockbatch/issues/276.

nmerket commented 2 years ago

@sudeepy This is a "feature" of the downselect sampling. See the second paragraph here. You'll see in your log file that you're sampling twice: Once at a fairly large number of datapoints and then again to get your final sample. The point of this is to get your downselected sample to have n_datapoints number of datapoints. It does a large sample, downselects, figures out the ratio of shrinkage from the downselect, does a second sample followed by a downselect to get the number of datapoints you actually want. Setting resample: false will just do one sample at n_datapoints and then downselect based on your criteria, but managing the final number of datapoints will be up to you. We should probably just remove this feature because it confuses people.

nmerket commented 2 years ago

So just to be clear, this isn't the same as #276.