urbanopt-cli 0.8.3 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +5 -6
- data/CHANGELOG.md +14 -0
- data/CMakeLists.txt +7 -7
- data/Gemfile +3 -1
- data/README.md +9 -0
- data/example_files/Gemfile +23 -16
- data/example_files/Gemfile.lock +177 -0
- data/example_files/base_workflow_res.osw +57 -14
- data/example_files/class_project_coincident.json +1322 -0
- data/example_files/class_project_diverse.json +1322 -0
- data/example_files/disco/config.json +42 -0
- data/example_files/disco/cost_database.xlsx +0 -0
- data/example_files/disco/technical_catalog.json +12126 -0
- data/example_files/mappers/Baseline.rb +10 -7
- data/example_files/mappers/ChilledWaterStorage.rb +98 -0
- data/example_files/mappers/ClassProject.rb +110 -0
- data/example_files/mappers/CreateBar.rb +1 -0
- data/example_files/mappers/HighEfficiency.rb +13 -11
- data/example_files/mappers/PeakHoursMelsShedding.rb +72 -0
- data/example_files/mappers/PeakHoursThermostatAdjust.rb +78 -0
- data/example_files/mappers/ThermalStorage.rb +1 -0
- data/example_files/mappers/base_workflow.osw +55 -14
- data/example_files/mappers/class_project_workflow.osw +328 -0
- data/example_files/mappers/createbar_workflow.osw +16 -16
- data/example_files/measures/BuildResidentialModel/measure.rb +7 -1
- data/example_files/measures/BuildResidentialModel/measure.xml +1313 -706
- data/example_files/opendss/electrical_database.json +1446 -1446
- data/example_files/python_deps/dependencies.json +5 -0
- data/example_files/python_deps/install_python.ps1 +96 -0
- data/example_files/python_deps/install_python.sh +120 -0
- data/example_files/residential/clothes_dryer.tsv +11 -11
- data/example_files/residential/clothes_washer.tsv +3 -3
- data/example_files/residential/dishwasher.tsv +3 -3
- data/example_files/resources/hpxml-measures/.github/pull_request_template.md +0 -1
- data/example_files/resources/hpxml-measures/.github/workflows/config.yml +8 -21
- data/example_files/resources/hpxml-measures/.gitignore +2 -0
- data/example_files/resources/hpxml-measures/BuildResidentialHPXML/measure.rb +1272 -1094
- data/example_files/resources/hpxml-measures/BuildResidentialHPXML/measure.xml +978 -659
- data/example_files/resources/hpxml-measures/BuildResidentialHPXML/resources/geometry.rb +52 -74
- data/example_files/resources/hpxml-measures/BuildResidentialHPXML/tests/build_residential_hpxml_test.rb +77 -140
- data/example_files/resources/hpxml-measures/BuildResidentialScheduleFile/measure.rb +30 -27
- data/example_files/resources/hpxml-measures/BuildResidentialScheduleFile/measure.xml +32 -13
- data/example_files/resources/hpxml-measures/BuildResidentialScheduleFile/resources/schedules.rb +55 -51
- data/example_files/resources/hpxml-measures/BuildResidentialScheduleFile/tests/build_residential_schedule_file_test.rb +89 -16
- data/example_files/resources/hpxml-measures/Changelog.md +65 -0
- data/example_files/resources/hpxml-measures/Gemfile +2 -4
- data/example_files/resources/hpxml-measures/Gemfile.lock +2 -13
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/measure.rb +276 -300
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/measure.xml +221 -215
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/airflow.rb +215 -170
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/battery.rb +108 -16
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/constants.rb +24 -44
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/constructions.rb +564 -197
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/data/cambium/README.md +8 -8
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/energyplus.rb +1 -0
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/geometry.rb +7 -55
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hotwater_appliances.rb +24 -19
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hpxml.rb +541 -211
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hpxml_defaults.rb +300 -172
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hpxml_schema/HPXML.xsd +0 -2
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hpxml_schema/HPXMLBaseElements.xsd +230 -141
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hpxml_schema/HPXMLDataTypes.xsd +145 -137
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hpxml_schematron/EPvalidator.xml +191 -97
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hpxml_schematron/iso-schematron.xsd +391 -0
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hvac.rb +194 -198
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hvac_sizing.rb +140 -145
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/lighting.rb +11 -11
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/location.rb +33 -1
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/materials.rb +4 -4
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/meta_measure.rb +17 -9
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/misc_loads.rb +14 -12
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/output.rb +39 -17
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/psychrometrics.rb +1 -1
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/schedule_files/battery.csv +8761 -0
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/schedules.rb +114 -57
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/simcontrols.rb +1 -0
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/utility_bills.rb +148 -0
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/version.rb +2 -2
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/waterheater.rb +85 -127
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/weather.rb +26 -32
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/xmlhelper.rb +2 -14
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/xmlvalidator.rb +67 -0
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_airflow.rb +117 -56
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_battery.rb +141 -14
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_defaults.rb +453 -344
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_enclosure.rb +124 -20
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_generator.rb +1 -1
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_hotwater_appliance.rb +28 -32
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_hvac.rb +172 -79
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_hvac_sizing.rb +54 -8
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_lighting.rb +3 -3
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_location.rb +4 -4
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_miscloads.rb +7 -7
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_pv.rb +1 -1
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_schedules.rb +6 -9
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_simcontrols.rb +8 -8
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_validation.rb +213 -95
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_water_heater.rb +1 -10
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/tests/test_weather.rb +76 -0
- data/example_files/resources/hpxml-measures/README.md +2 -3
- data/example_files/resources/hpxml-measures/ReportSimulationOutput/measure.rb +585 -287
- data/example_files/resources/hpxml-measures/ReportSimulationOutput/measure.xml +304 -352
- data/example_files/resources/hpxml-measures/ReportSimulationOutput/tests/output_report_test.rb +404 -279
- data/example_files/resources/hpxml-measures/ReportUtilityBills/measure.rb +222 -501
- data/example_files/resources/hpxml-measures/ReportUtilityBills/measure.xml +137 -200
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Flat Rate Min Annual Charge.json +649 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Flat Rate Min Monthly Charge.json +649 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Flat Rate.json +647 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Real-Time Pricing Rate Min Annual Charge.json +8776 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Real-Time Pricing Rate Min Monthly Charge.json +8776 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Real-Time Pricing Rate.json +8774 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Tiered Rate Min Annual Charge.json +659 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Tiered Rate Min Monthly Charge.json +659 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Tiered Rate.json +657 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Tiered Time-of-Use Rate Min Annual Charge.json +670 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Tiered Time-of-Use Rate Min Monthly Charge.json +670 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Tiered Time-of-Use Rate.json +668 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Time-of-Use Rate Min Annual Charge.json +655 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Time-of-Use Rate Min Monthly Charge.json +655 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/Sample Time-of-Use Rate.json +653 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/detailed_rates/openei_rates.zip +0 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/{Data/UtilityRates → simple_rates}/Average_retail_price_of_electricity.csv +0 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/{Data/UtilityRates → simple_rates}/HouseholdConsumption.csv +0 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/{Data/UtilityRates → simple_rates}/NG_PRI_SUM_A_EPG0_PRS_DMCF_A.csv +0 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/{Data/UtilityRates → simple_rates}/PET_PRI_WFR_A_EPD2F_PRS_DPGAL_W.csv +0 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/{Data/UtilityRates → simple_rates}/PET_PRI_WFR_A_EPLLPA_PRS_DPGAL_W.csv +0 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/{Data/UtilityRates → simple_rates}/README.md +0 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/resources/util.rb +506 -25
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/Contains Demand Charges.json +1312 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/Invalid Fixed Charge Units.json +657 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/Invalid Min Charge Units.json +659 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/JacksonElectricMemberCorp-ResidentialSeniorCitizenLowIncomeAssistance.json +681 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/Missing Required Fields.json +54 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/data.csv +8761 -0
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/utility_bills_test.rb +1006 -235
- data/example_files/resources/hpxml-measures/docs/source/conf.py +1 -1
- data/example_files/resources/hpxml-measures/docs/source/intro.rst +0 -1
- data/example_files/resources/hpxml-measures/docs/source/usage_instructions.rst +2 -2
- data/example_files/resources/hpxml-measures/docs/source/workflow_inputs.rst +461 -261
- data/example_files/resources/hpxml-measures/docs/source/workflow_outputs.rst +146 -152
- data/example_files/resources/hpxml-measures/tasks.rb +616 -802
- data/example_files/resources/hpxml-measures/workflow/real_homes/house001.xml +19 -11
- data/example_files/resources/hpxml-measures/workflow/real_homes/house002.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house003.xml +12 -7
- data/example_files/resources/hpxml-measures/workflow/real_homes/house004.xml +12 -7
- data/example_files/resources/hpxml-measures/workflow/real_homes/house005.xml +19 -11
- data/example_files/resources/hpxml-measures/workflow/real_homes/house006.xml +12 -7
- data/example_files/resources/hpxml-measures/workflow/real_homes/house007.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house008.xml +28 -16
- data/example_files/resources/hpxml-measures/workflow/real_homes/house009.xml +28 -17
- data/example_files/resources/hpxml-measures/workflow/real_homes/house010.xml +28 -16
- data/example_files/resources/hpxml-measures/workflow/real_homes/house011.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house012.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house013.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house014.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house015.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house016.xml +22 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house017.xml +19 -11
- data/example_files/resources/hpxml-measures/workflow/real_homes/house018.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house019.xml +13 -7
- data/example_files/resources/hpxml-measures/workflow/real_homes/house020.xml +12 -7
- data/example_files/resources/hpxml-measures/workflow/real_homes/house021.xml +31 -16
- data/example_files/resources/hpxml-measures/workflow/real_homes/house022.xml +22 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house023.xml +21 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house024.xml +37 -22
- data/example_files/resources/hpxml-measures/workflow/real_homes/house025.xml +24 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house026.xml +33 -21
- data/example_files/resources/hpxml-measures/workflow/real_homes/house027.xml +28 -16
- data/example_files/resources/hpxml-measures/workflow/real_homes/house028.xml +28 -16
- data/example_files/resources/hpxml-measures/workflow/real_homes/house029.xml +30 -17
- data/example_files/resources/hpxml-measures/workflow/real_homes/house030.xml +10 -7
- data/example_files/resources/hpxml-measures/workflow/real_homes/house031.xml +22 -11
- data/example_files/resources/hpxml-measures/workflow/real_homes/house032.xml +12 -7
- data/example_files/resources/hpxml-measures/workflow/real_homes/house033.xml +18 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house034.xml +25 -16
- data/example_files/resources/hpxml-measures/workflow/real_homes/house035.xml +22 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house036.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house037.xml +26 -17
- data/example_files/resources/hpxml-measures/workflow/real_homes/house038.xml +19 -11
- data/example_files/resources/hpxml-measures/workflow/real_homes/house039.xml +25 -16
- data/example_files/resources/hpxml-measures/workflow/real_homes/house040.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house041.xml +35 -21
- data/example_files/resources/hpxml-measures/workflow/real_homes/house042.xml +28 -17
- data/example_files/resources/hpxml-measures/workflow/real_homes/house043.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house044.xml +35 -21
- data/example_files/resources/hpxml-measures/workflow/real_homes/house045.xml +20 -12
- data/example_files/resources/hpxml-measures/workflow/real_homes/house046.xml +20 -13
- data/example_files/resources/hpxml-measures/workflow/real_homes/house047.xml +12 -9
- data/example_files/resources/hpxml-measures/workflow/real_homes/house048.xml +25 -14
- data/example_files/resources/hpxml-measures/workflow/real_homes/house049.xml +10 -7
- data/example_files/resources/hpxml-measures/workflow/real_homes/house050.xml +20 -11
- data/example_files/resources/hpxml-measures/workflow/run_simulation.rb +91 -88
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-coal.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-dehumidifier-ief-portable.xml +546 -535
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-dehumidifier-ief-whole-home.xml +546 -535
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-dehumidifier-multiple.xml +555 -544
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-dehumidifier.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-gas.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-modified.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-none.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-oil-location-miami-fl.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-oil.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-propane-location-portland-or.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-propane.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-appliances-wood.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-atticroof-cathedral.xml +7 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-atticroof-conditioned.xml +17 -6
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-atticroof-flat.xml +7 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-atticroof-radiant-barrier.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-atticroof-unvented-insulated-roof.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-atticroof-vented.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-battery-scheduled.xml +600 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-battery.xml +598 -587
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-adjacent-to-multifamily-buffer-space.xml +494 -485
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-adjacent-to-multiple.xml +606 -593
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-adjacent-to-non-freezing-space.xml +494 -485
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-adjacent-to-other-heated-space.xml +494 -485
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-adjacent-to-other-housing-unit.xml +494 -485
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-calctype-operational.xml +480 -471
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-chiller-baseboard.xml +464 -457
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-chiller-fan-coil-ducted.xml +496 -487
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-chiller-fan-coil.xml +466 -459
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-chiller-water-loop-heat-pump.xml +518 -509
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-cooling-tower-water-loop-heat-pump.xml +513 -504
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-only-baseboard.xml +445 -438
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-only-fan-coil-ducted.xml +476 -467
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-only-fan-coil-eae.xml +443 -436
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-only-fan-coil.xml +446 -439
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-boiler-only-water-loop-heat-pump.xml +494 -485
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-chiller-only-baseboard.xml +445 -438
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-chiller-only-fan-coil-ducted.xml +476 -467
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-chiller-only-fan-coil.xml +446 -439
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-chiller-only-water-loop-heat-pump.xml +494 -485
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-cooling-tower-only-water-loop-heat-pump.xml +489 -480
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-generator.xml +499 -490
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-ground-loop-ground-to-air-heat-pump.xml +491 -482
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-laundry-room-multiple-water-heaters.xml +510 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-laundry-room.xml +495 -486
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-mechvent-multiple.xml +709 -695
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-mechvent-preconditioning.xml +528 -519
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-mechvent.xml +512 -503
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-pv.xml +504 -495
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-water-heater-recirc.xml +497 -488
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily-shared-water-heater.xml +490 -481
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-multifamily.xml +487 -478
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-single-family-attached-2stories.xml +639 -628
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-single-family-attached-atticroof-cathedral.xml +587 -580
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-bldgtype-single-family-attached.xml +639 -628
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-calctype-operational-misc-defaults.xml +539 -528
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-calctype-operational-misc-loads-large-uncommon.xml +644 -633
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-calctype-operational-misc-loads-large-uncommon2.xml +644 -633
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-calctype-operational.xml +575 -564
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-combi-tankless-outside.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-combi-tankless.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-desuperheater-2-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-desuperheater-gshp.xml +585 -574
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-desuperheater-hpwh.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-desuperheater-tankless.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-desuperheater-var-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-desuperheater.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-dwhr.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-indirect-detailed-setpoints.xml +536 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-indirect-dse.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-indirect-outside.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-indirect-standbyloss.xml +20 -8
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-indirect-with-solar-fraction.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-indirect.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-jacket-electric.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-jacket-gas.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-jacket-hpwh.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-jacket-indirect.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-low-flow-fixtures.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-multiple.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-none.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-recirc-demand.xml +19 -8
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-recirc-manual.xml +19 -8
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-recirc-nocontrol.xml +19 -8
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-recirc-temperature.xml +19 -8
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-recirc-timer.xml +19 -8
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-solar-direct-evacuated-tube.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-solar-direct-flat-plate.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-solar-direct-ics.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-solar-fraction.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-solar-indirect-flat-plate.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-solar-thermosyphon-flat-plate.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-coal.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-detailed-setpoints.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-elec-uef.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-gas-outside.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-gas-uef-fhr.xml +584 -573
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-gas-uef.xml +584 -573
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-gas.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-heat-pump-detailed-schedules.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-heat-pump-operating-mode-heat-pump-only.xml +585 -574
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-heat-pump-outside.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-heat-pump-uef.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-heat-pump-with-solar-fraction.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-heat-pump-with-solar.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-heat-pump.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-model-type-stratified-detailed-occupancy-stochastic.xml +586 -575
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-model-type-stratified.xml +585 -574
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-oil.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tank-wood.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-detailed-setpoints.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-electric-outside.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-electric-uef.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-electric.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-gas-uef.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-gas-with-solar-fraction.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-gas-with-solar.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-gas.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-dhw-tankless-propane.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-2stories-garage.xml +28 -11
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-2stories.xml +20 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-beds-1.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-beds-2.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-beds-4.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-beds-5.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-ceilingtypes.xml +607 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-floortypes.xml +550 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-garage.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-infil-ach-house-pressure.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-infil-cfm-house-pressure.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-infil-cfm50.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-infil-flue.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-infil-natural-ach.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-orientations.xml +589 -578
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-overhangs.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-rooftypes.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-skylights-physical-properties.xml +619 -608
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-skylights-shading.xml +620 -609
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-skylights-storms.xml +618 -607
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-skylights.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-split-level.xml +537 -526
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-split-surfaces.xml +90 -43
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-split-surfaces2.xml +2507 -2460
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-thermal-mass.xml +595 -584
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-walltypes.xml +19 -8
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-windows-natural-ventilation-availability.xml +584 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-windows-none.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-windows-physical-properties.xml +594 -583
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-windows-shading.xml +597 -586
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-enclosure-windows-storms.xml +598 -587
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-ambient.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-basement-garage.xml +671 -656
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-complex.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-conditioned-basement-slab-insulation.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/{base-foundation-conditioned-basement-wall-interior-insulation.xml → base-foundation-conditioned-basement-wall-insulation.xml} +585 -574
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-conditioned-crawlspace.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-multiple.xml +35 -16
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-slab.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-unconditioned-basement-above-grade.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-unconditioned-basement-assembly-r.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-unconditioned-basement-wall-insulation.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-unconditioned-basement.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-unvented-crawlspace.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-vented-crawlspace.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-foundation-walkout-basement.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-1-speed-backup-lockout-temperature.xml +586 -575
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-1-speed-cooling-only.xml +573 -562
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-1-speed-heating-only.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-1-speed-seer2-hspf2.xml +583 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-1-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-2-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-var-speed-backup-boiler-switchover-temperature.xml +600 -589
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-var-speed-backup-boiler.xml +599 -588
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-var-speed-backup-furnace.xml +629 -616
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-air-to-air-heat-pump-var-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-1-speed-cooling-only.xml +573 -562
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-1-speed-heating-only.xml +579 -568
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-1-speed-sizing-methodology-acca.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-1-speed-sizing-methodology-hers.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-1-speed-sizing-methodology-maxload-miami-fl.xml +582 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-1-speed-sizing-methodology-maxload.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-2-speed-sizing-methodology-acca.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-2-speed-sizing-methodology-hers.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-2-speed-sizing-methodology-maxload.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-var-speed-backup-boiler.xml +598 -587
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-var-speed-backup-furnace.xml +628 -615
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-var-speed-sizing-methodology-acca.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-var-speed-sizing-methodology-hers.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-air-to-air-heat-pump-var-speed-sizing-methodology-maxload.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-boiler-elec-only.xml +535 -526
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-boiler-gas-central-ac-1-speed.xml +589 -578
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-boiler-gas-only.xml +536 -527
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-central-ac-only-1-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-central-ac-only-2-speed.xml +565 -554
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-central-ac-only-var-speed.xml +565 -554
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-central-ac-plus-air-to-air-heat-pump-heating.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-dual-fuel-air-to-air-heat-pump-1-speed-sizing-methodology-acca.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-dual-fuel-air-to-air-heat-pump-1-speed-sizing-methodology-hers.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-dual-fuel-air-to-air-heat-pump-1-speed-sizing-methodology-maxload.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-dual-fuel-mini-split-heat-pump-ducted.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-elec-resistance-only.xml +526 -517
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-evap-cooler-furnace-gas.xml +573 -562
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-floor-furnace-propane-only.xml +529 -520
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-furnace-elec-only.xml +565 -554
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-furnace-gas-central-ac-2-speed.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-furnace-gas-central-ac-var-speed.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-furnace-gas-only.xml +565 -554
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-furnace-gas-room-ac.xml +578 -567
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-ground-to-air-heat-pump-cooling-only.xml +575 -564
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-ground-to-air-heat-pump-heating-only.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-ground-to-air-heat-pump-sizing-methodology-acca.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-ground-to-air-heat-pump-sizing-methodology-hers.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-ground-to-air-heat-pump-sizing-methodology-maxload.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-mini-split-air-conditioner-only-ducted.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-mini-split-heat-pump-ducted-cooling-only.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-mini-split-heat-pump-ducted-heating-only.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-mini-split-heat-pump-ducted-sizing-methodology-acca.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-mini-split-heat-pump-ducted-sizing-methodology-hers.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-mini-split-heat-pump-ducted-sizing-methodology-maxload.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-mini-split-heat-pump-ductless-backup-stove.xml +551 -542
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-ptac-with-heating.xml +532 -530
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-ptac.xml +525 -516
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-pthp-sizing-methodology-acca.xml +541 -532
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-pthp-sizing-methodology-hers.xml +541 -532
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-pthp-sizing-methodology-maxload.xml +541 -532
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-room-ac-only.xml +525 -516
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-room-ac-with-heating.xml +533 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-room-ac-with-reverse-cycle-sizing-methodology-acca.xml +542 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-room-ac-with-reverse-cycle-sizing-methodology-hers.xml +542 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-room-ac-with-reverse-cycle-sizing-methodology-maxload.xml +542 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-stove-oil-only.xml +529 -520
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize-wall-furnace-elec-only.xml +529 -520
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-autosize.xml +580 -569
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-boiler-coal-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-boiler-elec-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-boiler-gas-central-ac-1-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-boiler-gas-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-boiler-oil-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-boiler-propane-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-boiler-wood-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-central-ac-only-1-speed-seer2.xml +567 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-central-ac-only-1-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-central-ac-only-2-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-central-ac-only-var-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-central-ac-plus-air-to-air-heat-pump-heating.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-dse.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-dual-fuel-air-to-air-heat-pump-1-speed-electric.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-dual-fuel-air-to-air-heat-pump-1-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-dual-fuel-air-to-air-heat-pump-2-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-dual-fuel-air-to-air-heat-pump-var-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-dual-fuel-mini-split-heat-pump-ducted.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ducts-area-fractions.xml +611 -598
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ducts-area-multipliers.xml +589 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ducts-leakage-cfm50.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ducts-leakage-percent.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-elec-resistance-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-evap-cooler-furnace-gas.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-evap-cooler-only-ducted.xml +17 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-evap-cooler-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-fireplace-wood-only.xml +530 -521
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-fixed-heater-gas-only.xml +530 -521
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-floor-furnace-propane-only.xml +530 -521
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-coal-only.xml +566 -555
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-elec-central-ac-1-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-elec-only.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-gas-central-ac-2-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-gas-central-ac-var-speed.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-gas-only-detailed-setpoints.xml +566 -555
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-gas-only.xml +566 -555
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-gas-room-ac.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-oil-only.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-propane-only.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-wood-only.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-furnace-x3-dse.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ground-to-air-heat-pump-cooling-only.xml +574 -563
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ground-to-air-heat-pump-heating-only.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ground-to-air-heat-pump.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-air-to-air-heat-pump-1-speed.xml +587 -576
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-air-to-air-heat-pump-2-speed.xml +587 -576
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-air-to-air-heat-pump-var-speed.xml +587 -576
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-furnace-gas-central-ac-1-speed.xml +591 -580
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-furnace-gas-central-ac-2-speed.xml +591 -580
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-furnace-gas-central-ac-var-speed.xml +591 -580
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-furnace-gas-only.xml +570 -559
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-ground-to-air-heat-pump.xml +586 -575
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-mini-split-air-conditioner-only-ducted.xml +570 -559
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-install-quality-mini-split-heat-pump-ducted.xml +586 -575
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-mini-split-air-conditioner-only-ducted.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-mini-split-air-conditioner-only-ductless.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-mini-split-heat-pump-ducted-cooling-only.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-mini-split-heat-pump-ducted-heating-only.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-mini-split-heat-pump-ducted.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-mini-split-heat-pump-ductless-backup-stove.xml +552 -543
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-mini-split-heat-pump-ductless.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-multiple.xml +963 -938
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-none.xml +33 -69
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-portable-heater-gas-only.xml +530 -521
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ptac-with-heating-electricity.xml +535 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/{base-hvac-ptac-with-heating.xml → base-hvac-ptac-with-heating-natural-gas.xml} +23 -21
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-ptac.xml +526 -517
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-pthp.xml +541 -532
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-room-ac-only-33percent.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-room-ac-only-ceer.xml +526 -517
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-room-ac-only-detailed-setpoints.xml +526 -517
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-room-ac-only.xml +16 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-room-ac-with-heating.xml +535 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-room-ac-with-reverse-cycle.xml +542 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-seasons.xml +594 -583
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-setpoints-daily-schedules.xml +586 -575
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-setpoints-daily-setbacks.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-setpoints.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-stove-oil-only.xml +530 -521
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-stove-wood-pellets-only.xml +530 -521
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-undersized-allow-increased-fixed-capacities.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-undersized.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-hvac-wall-furnace-elec-only.xml +530 -521
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-lighting-ceiling-fans.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-lighting-holiday.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-lighting-none.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-AMY-2012.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-baltimore-md.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-capetown-zaf.xml +591 -576
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-dallas-tx.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-duluth-mn.xml +27 -12
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-helena-mt.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-honolulu-hi.xml +537 -526
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-miami-fl.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-phoenix-az.xml +537 -526
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-location-portland-or.xml +601 -586
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-balanced.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-bath-kitchen-fans.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-cfis-airflow-fraction-zero.xml +601 -587
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-cfis-dse.xml +19 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-cfis-evap-cooler-only-ducted.xml +20 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-cfis-supplemental-fan-exhaust.xml +607 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-cfis-supplemental-fan-supply.xml +607 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-cfis.xml +21 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-erv-atre-asre.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-erv.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-exhaust-rated-flow-rate.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-exhaust.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-hrv-asre.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-hrv.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-multiple.xml +37 -19
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-supply.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-mechvent-whole-house-fan.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-additional-properties.xml +590 -579
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-bills-none.xml +578 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-bills-pv-detailed-only.xml +632 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-bills-pv-mixed.xml +614 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-bills-pv.xml +677 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-bills.xml +593 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-defaults.xml +27 -9
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-emissions.xml +676 -665
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-generators-battery-scheduled.xml +616 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-generators-battery.xml +615 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-generators.xml +598 -587
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-ground-conductivity.xml +586 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-loads-large-uncommon.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-loads-large-uncommon2.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-loads-none.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-neighbor-shading.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-shielding-of-home.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-misc-usage-multiplier.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-multiple-buildings.xml +1700 -1677
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-pv-battery-ah.xml +622 -611
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-pv-battery-garage.xml +697 -682
- data/example_files/resources/hpxml-measures/workflow/sample_files/{base-pv-battery-lifetime-model.xml → base-pv-battery-round-trip-efficiency.xml} +20 -11
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-pv-battery-scheduled.xml +624 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-pv-battery.xml +622 -611
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-pv-generators-battery-scheduled.xml +640 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-pv-generators-battery.xml +639 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-pv-generators.xml +623 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-pv.xml +606 -595
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-detailed-all-10-mins.xml +582 -571
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-detailed-occupancy-smooth.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-detailed-occupancy-stochastic-10-mins.xml +584 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-detailed-occupancy-stochastic-vacancy.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-detailed-occupancy-stochastic.xml +583 -572
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-detailed-setpoints-daily-schedules.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-detailed-setpoints-daily-setbacks.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-detailed-setpoints.xml +581 -570
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-schedules-simple.xml +636 -625
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-simcontrol-calendar-year-custom.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-simcontrol-daylight-saving-custom.xml +27 -14
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-simcontrol-daylight-saving-disabled.xml +21 -10
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-simcontrol-runperiod-1-month.xml +21 -10
- data/example_files/resources/hpxml-measures/workflow/sample_files/{base-dhw-tank-heat-pump-detailed-operating-modes.xml → base-simcontrol-temperature-capacitance-multiplier.xml} +25 -13
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-simcontrol-timestep-10-mins-occupancy-stochastic-10-mins.xml +584 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-simcontrol-timestep-10-mins-occupancy-stochastic-60-mins.xml +584 -0
- data/example_files/resources/hpxml-measures/workflow/sample_files/base-simcontrol-timestep-10-mins.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/sample_files/{base-dhw-tank-heat-pump-detailed-setpoints.xml → base-simcontrol-timestep-30-mins.xml} +25 -14
- data/example_files/resources/hpxml-measures/workflow/sample_files/base.xml +18 -7
- data/example_files/resources/hpxml-measures/workflow/template-build-and-run-hpxml-with-stochastic-occupancy.osw +18 -13
- data/example_files/resources/hpxml-measures/workflow/template-run-hpxml-with-stochastic-occupancy.osw +12 -7
- data/example_files/resources/hpxml-measures/workflow/template-run-hpxml.osw +8 -24
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L100AC.xml +366 -358
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L100AL.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L110AC.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L110AL.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L120AC.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L120AL.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L130AC.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L130AL.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L140AC.xml +311 -303
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L140AL.xml +311 -303
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L150AC.xml +327 -319
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L150AL.xml +327 -319
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L155AC.xml +332 -324
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L155AL.xml +332 -324
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L160AC.xml +341 -333
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L160AL.xml +341 -333
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L170AC.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L170AL.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L200AC.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L200AL.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L202AC.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L202AL.xml +369 -361
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L302XC.xml +383 -379
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L304XC.xml +383 -379
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L322XC.xml +538 -534
- data/example_files/resources/hpxml-measures/workflow/tests/ASHRAE_Standard_140/L324XC.xml +550 -546
- data/example_files/resources/hpxml-measures/workflow/tests/base_results/results.csv +444 -410
- data/example_files/resources/hpxml-measures/workflow/tests/base_results/results_ashrae_140.csv +8 -8
- data/example_files/resources/hpxml-measures/workflow/tests/base_results/results_bills.csv +444 -410
- data/example_files/resources/hpxml-measures/workflow/tests/compare.py +18 -4
- data/example_files/resources/hpxml-measures/workflow/tests/hpxml_translator_test.rb +133 -288
- data/example_files/scripts/convert_urbanopt_to_disco.py +130 -0
- data/example_files/scripts/default_control_changes.csv +8 -0
- data/example_files/scripts/default_voltage_regulators.csv +3 -0
- data/example_files/scripts/read_data.py +331 -0
- data/example_files/visualization/input_visualization_feature.html +172 -81
- data/example_files/visualization/input_visualization_scenario.html +178 -82
- data/example_files/xml_building/17/README.md +2 -2
- data/example_files/xml_building/17/unit 1.xml +40 -41
- data/example_files/xml_building/17/unit 2.xml +35 -36
- data/example_files/xml_building/17/unit 3.xml +35 -36
- data/example_files/xml_building/17/unit 4.xml +41 -42
- data/lib/uo_cli/version.rb +1 -1
- data/lib/uo_cli.rb +596 -96
- data/uo_cli.gemspec +6 -5
- metadata +121 -36
- data/example_files/residential/exhaust.tsv +0 -3
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/data/hvac_equipment_efficiency.csv +0 -493
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/data/water_heater_efficiency.csv +0 -157
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/hpxml_schematron/HPXMLvalidator.xml +0 -620
- data/example_files/resources/hpxml-measures/HPXMLtoOpenStudio/resources/validator.rb +0 -107
- data/example_files/resources/hpxml-measures/ReportHPXMLOutput/measure.rb +0 -450
- data/example_files/resources/hpxml-measures/ReportHPXMLOutput/measure.xml +0 -85
- data/example_files/resources/hpxml-measures/ReportHPXMLOutput/resources/constants.rb +0 -72
- data/example_files/resources/hpxml-measures/ReportHPXMLOutput/tests/hpxml_output_report_test.rb +0 -290
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/PV_10kW.csv +0 -8761
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/PV_1kW.csv +0 -8761
- data/example_files/resources/hpxml-measures/ReportUtilityBills/tests/PV_None.csv +0 -8761
- data/example_files/resources/hpxml-measures/workflow/tests/base_results/results_hvac_sizing.csv +0 -410
@@ -1,107 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
class Validator
|
4
|
-
def self.run_validators(hpxml_doc, stron_paths, include_id: true)
|
5
|
-
errors = []
|
6
|
-
warnings = []
|
7
|
-
|
8
|
-
context_elements_cache = {}
|
9
|
-
stron_paths.each do |stron_path|
|
10
|
-
error, warning = run_validator(hpxml_doc, stron_path, context_elements_cache, include_id)
|
11
|
-
errors += error
|
12
|
-
warnings += warning
|
13
|
-
end
|
14
|
-
|
15
|
-
return errors.uniq, warnings.uniq
|
16
|
-
end
|
17
|
-
|
18
|
-
private
|
19
|
-
|
20
|
-
def self.run_validator(hpxml_doc, stron_path, context_elements_cache, include_id)
|
21
|
-
errors = []
|
22
|
-
warnings = []
|
23
|
-
|
24
|
-
doc = XMLHelper.parse_file(stron_path)
|
25
|
-
XMLHelper.get_elements(doc, '/sch:schema/sch:pattern/sch:rule').each do |rule|
|
26
|
-
context_xpath = XMLHelper.get_attribute_value(rule, 'context').gsub('h:', '')
|
27
|
-
|
28
|
-
context_elements = get_context_elements(hpxml_doc, context_xpath, context_elements_cache)
|
29
|
-
next if context_elements.empty? # Skip if context element doesn't exist
|
30
|
-
|
31
|
-
['sch:assert', 'sch:report'].each do |element_name|
|
32
|
-
elements = XMLHelper.get_elements(rule, element_name)
|
33
|
-
elements.each do |element|
|
34
|
-
test_attr = XMLHelper.get_attribute_value(element, 'test').gsub('h:', '')
|
35
|
-
|
36
|
-
context_elements.each do |context_element|
|
37
|
-
begin
|
38
|
-
xpath_result = context_element.xpath(test_attr)
|
39
|
-
rescue
|
40
|
-
fail "Invalid xpath: #{test_attr}"
|
41
|
-
end
|
42
|
-
|
43
|
-
next unless (element_name == 'sch:assert' && !xpath_result) || (element_name == 'sch:report' && xpath_result)
|
44
|
-
|
45
|
-
# Try to retrieve ID (and associated element) for the context element
|
46
|
-
if include_id
|
47
|
-
sys_id = XMLHelper.get_attribute_value(XMLHelper.get_element(context_element, 'SystemIdentifier'), 'id')
|
48
|
-
if sys_id.nil?
|
49
|
-
# Keep checking parent elements
|
50
|
-
context_element.each_ancestor do |parent_element|
|
51
|
-
sys_id = XMLHelper.get_attribute_value(XMLHelper.get_element(parent_element, 'SystemIdentifier'), 'id')
|
52
|
-
break unless sys_id.nil?
|
53
|
-
end
|
54
|
-
end
|
55
|
-
sys_id_string = ", id: \"#{sys_id}\"" unless sys_id.nil?
|
56
|
-
end
|
57
|
-
|
58
|
-
message = "#{element.children.text} [context: #{context_xpath}#{sys_id_string}]"
|
59
|
-
if element_name == 'sch:assert'
|
60
|
-
errors << message
|
61
|
-
elsif element_name == 'sch:report'
|
62
|
-
warnings << message
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
67
|
-
end
|
68
|
-
|
69
|
-
return errors, warnings
|
70
|
-
end
|
71
|
-
|
72
|
-
def self.get_context_elements(hpxml_doc, context_xpath, context_elements_cache)
|
73
|
-
# Returns all XML elements that match context_xpath.
|
74
|
-
# This method is used to incorporate performance improvements by
|
75
|
-
# attempting to avoid expensive xpath() calls when possible.
|
76
|
-
|
77
|
-
# Check if context_xpath already queried
|
78
|
-
context_elements = context_elements_cache[context_xpath]
|
79
|
-
return context_elements unless context_elements.nil?
|
80
|
-
|
81
|
-
# Check if a parent xpath already found to have no element matches
|
82
|
-
parent_is_empty = false
|
83
|
-
context_elements_cache.each do |k, v|
|
84
|
-
next unless context_xpath.include? k
|
85
|
-
next unless v.empty?
|
86
|
-
|
87
|
-
parent_is_empty = true
|
88
|
-
break
|
89
|
-
end
|
90
|
-
if parent_is_empty
|
91
|
-
# If a parent xpath had no element matches, then context_xpath must
|
92
|
-
# also have no element matches. So return an empty list to skip the
|
93
|
-
# xpath query.
|
94
|
-
context_elements_cache[context_xpath] = []
|
95
|
-
return context_elements_cache[context_xpath]
|
96
|
-
end
|
97
|
-
|
98
|
-
# If we got this far, we must proceed with the xpath query.
|
99
|
-
begin
|
100
|
-
context_elements_cache[context_xpath] = hpxml_doc.xpath(context_xpath)
|
101
|
-
rescue
|
102
|
-
fail "Invalid xpath: #{context_xpath}"
|
103
|
-
end
|
104
|
-
|
105
|
-
return context_elements_cache[context_xpath]
|
106
|
-
end
|
107
|
-
end
|
@@ -1,450 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# see the URL below for information on how to write OpenStudio measures
|
4
|
-
# http://nrel.github.io/OpenStudio-user-documentation/reference/measure_writing_guide/
|
5
|
-
|
6
|
-
require 'msgpack'
|
7
|
-
require_relative 'resources/constants.rb'
|
8
|
-
|
9
|
-
# start the measure
|
10
|
-
class ReportHPXMLOutput < OpenStudio::Measure::ReportingMeasure
|
11
|
-
# human readable name
|
12
|
-
def name
|
13
|
-
# Measure name should be the title case of the class name.
|
14
|
-
return 'HPXML Output Report'
|
15
|
-
end
|
16
|
-
|
17
|
-
# human readable description
|
18
|
-
def description
|
19
|
-
return 'Reports HPXML outputs for residential HPXML-based models.'
|
20
|
-
end
|
21
|
-
|
22
|
-
# human readable description of modeling approach
|
23
|
-
def modeler_description
|
24
|
-
return 'Parses the HPXML file and reports pre-defined outputs.'
|
25
|
-
end
|
26
|
-
|
27
|
-
# define the arguments that the user will input
|
28
|
-
def arguments(model)
|
29
|
-
args = OpenStudio::Measure::OSArgumentVector.new
|
30
|
-
|
31
|
-
format_chs = OpenStudio::StringVector.new
|
32
|
-
format_chs << 'csv'
|
33
|
-
format_chs << 'json'
|
34
|
-
format_chs << 'msgpack'
|
35
|
-
arg = OpenStudio::Measure::OSArgument::makeChoiceArgument('output_format', format_chs, false)
|
36
|
-
arg.setDisplayName('Output Format')
|
37
|
-
arg.setDescription('The file format of the annual (and timeseries, if requested) outputs.')
|
38
|
-
arg.setDefaultValue('csv')
|
39
|
-
args << arg
|
40
|
-
|
41
|
-
return args
|
42
|
-
end
|
43
|
-
|
44
|
-
# define what happens when the measure is run
|
45
|
-
def run(runner, user_arguments)
|
46
|
-
super(runner, user_arguments)
|
47
|
-
|
48
|
-
model = runner.lastOpenStudioModel
|
49
|
-
if model.empty?
|
50
|
-
runner.registerError('Cannot find OpenStudio model.')
|
51
|
-
return false
|
52
|
-
end
|
53
|
-
model = model.get
|
54
|
-
|
55
|
-
# use the built-in error checking
|
56
|
-
if !runner.validateUserArguments(arguments(model), user_arguments)
|
57
|
-
return false
|
58
|
-
end
|
59
|
-
|
60
|
-
output_format = runner.getStringArgumentValue('output_format', user_arguments)
|
61
|
-
output_dir = File.dirname(runner.lastEpwFilePath.get.to_s)
|
62
|
-
|
63
|
-
if not File.exist? File.join(output_dir, 'eplusout.msgpack')
|
64
|
-
runner.registerError('Cannot find eplusout.msgpack.')
|
65
|
-
return false
|
66
|
-
end
|
67
|
-
@msgpackData = MessagePack.unpack(File.read(File.join(output_dir, 'eplusout.msgpack'), mode: 'rb'))
|
68
|
-
|
69
|
-
hpxml_defaults_path = model.getBuilding.additionalProperties.getFeatureAsString('hpxml_defaults_path').get
|
70
|
-
hpxml = HPXML.new(hpxml_path: hpxml_defaults_path)
|
71
|
-
|
72
|
-
# Set paths
|
73
|
-
output_path = File.join(output_dir, "results_hpxml.#{output_format}")
|
74
|
-
|
75
|
-
# Initialize
|
76
|
-
cost_multipliers = {}
|
77
|
-
cost_multipliers[BS::WallAboveGradeConditioned] = BaseOutput.new
|
78
|
-
cost_multipliers[BS::WallAboveGradeExterior] = BaseOutput.new
|
79
|
-
cost_multipliers[BS::WallBelowGrade] = BaseOutput.new
|
80
|
-
cost_multipliers[BS::FloorConditioned] = BaseOutput.new
|
81
|
-
cost_multipliers[BS::FloorLighting] = BaseOutput.new
|
82
|
-
cost_multipliers[BS::FloorFoundation] = BaseOutput.new
|
83
|
-
cost_multipliers[BS::Ceiling] = BaseOutput.new
|
84
|
-
cost_multipliers[BS::Roof] = BaseOutput.new
|
85
|
-
cost_multipliers[BS::Window] = BaseOutput.new
|
86
|
-
cost_multipliers[BS::Door] = BaseOutput.new
|
87
|
-
cost_multipliers[BS::DuctUnconditioned] = BaseOutput.new
|
88
|
-
cost_multipliers[BS::RimJoistAboveGradeExterior] = BaseOutput.new
|
89
|
-
cost_multipliers[BS::SlabPerimeterExposedConditioned] = BaseOutput.new
|
90
|
-
cost_multipliers[BS::CoolingSystem] = BaseOutput.new
|
91
|
-
cost_multipliers[BS::HeatingSystem] = BaseOutput.new
|
92
|
-
cost_multipliers[BS::HeatPumpBackup] = BaseOutput.new
|
93
|
-
cost_multipliers[BS::WaterHeater] = BaseOutput.new
|
94
|
-
cost_multipliers[BS::FlowRateMechanicalVentilation] = BaseOutput.new
|
95
|
-
cost_multipliers[BS::HeatingTotal] = BaseOutput.new
|
96
|
-
cost_multipliers[BS::HeatingDucts] = BaseOutput.new
|
97
|
-
cost_multipliers[BS::HeatingWindows] = BaseOutput.new
|
98
|
-
cost_multipliers[BS::HeatingSkylights] = BaseOutput.new
|
99
|
-
cost_multipliers[BS::HeatingDoors] = BaseOutput.new
|
100
|
-
cost_multipliers[BS::HeatingWalls] = BaseOutput.new
|
101
|
-
cost_multipliers[BS::HeatingRoofs] = BaseOutput.new
|
102
|
-
cost_multipliers[BS::HeatingFloors] = BaseOutput.new
|
103
|
-
cost_multipliers[BS::HeatingSlabs] = BaseOutput.new
|
104
|
-
cost_multipliers[BS::HeatingCeilings] = BaseOutput.new
|
105
|
-
cost_multipliers[BS::HeatingInfilVent] = BaseOutput.new
|
106
|
-
cost_multipliers[BS::CoolingSensibleTotal] = BaseOutput.new
|
107
|
-
cost_multipliers[BS::CoolingSensibleDucts] = BaseOutput.new
|
108
|
-
cost_multipliers[BS::CoolingSensibleWindows] = BaseOutput.new
|
109
|
-
cost_multipliers[BS::CoolingSensibleSkylights] = BaseOutput.new
|
110
|
-
cost_multipliers[BS::CoolingSensibleDoors] = BaseOutput.new
|
111
|
-
cost_multipliers[BS::CoolingSensibleWalls] = BaseOutput.new
|
112
|
-
cost_multipliers[BS::CoolingSensibleRoofs] = BaseOutput.new
|
113
|
-
cost_multipliers[BS::CoolingSensibleFloors] = BaseOutput.new
|
114
|
-
cost_multipliers[BS::CoolingSensibleSlabs] = BaseOutput.new
|
115
|
-
cost_multipliers[BS::CoolingSensibleCeilings] = BaseOutput.new
|
116
|
-
cost_multipliers[BS::CoolingSensibleInfilVent] = BaseOutput.new
|
117
|
-
cost_multipliers[BS::CoolingSensibleIntGains] = BaseOutput.new
|
118
|
-
cost_multipliers[BS::CoolingLatentTotal] = BaseOutput.new
|
119
|
-
cost_multipliers[BS::CoolingLatentDucts] = BaseOutput.new
|
120
|
-
cost_multipliers[BS::CoolingLatentInfilVent] = BaseOutput.new
|
121
|
-
cost_multipliers[BS::CoolingLatentIntGains] = BaseOutput.new
|
122
|
-
|
123
|
-
# Cost multipliers
|
124
|
-
cost_multipliers.each do |cost_mult_type, cost_mult|
|
125
|
-
cost_mult.output = get_cost_multiplier(hpxml, cost_mult_type)
|
126
|
-
end
|
127
|
-
|
128
|
-
# Primary and Secondary
|
129
|
-
if hpxml.primary_hvac_systems.size > 0
|
130
|
-
assign_primary_and_secondary(hpxml, cost_multipliers)
|
131
|
-
end
|
132
|
-
|
133
|
-
# Units
|
134
|
-
cost_multipliers.each do |cost_mult_type, cost_mult|
|
135
|
-
cost_mult.units = BS.get_units(cost_mult_type)
|
136
|
-
end
|
137
|
-
|
138
|
-
# Report results
|
139
|
-
cost_multipliers.each do |cost_mult_type, cost_mult|
|
140
|
-
cost_mult_type_str = OpenStudio::toUnderscoreCase("#{cost_mult_type} #{cost_mult.units}")
|
141
|
-
cost_mult = cost_mult.output.round(2)
|
142
|
-
runner.registerValue(cost_mult_type_str, cost_mult)
|
143
|
-
runner.registerInfo("Registering #{cost_mult} for #{cost_mult_type_str}.")
|
144
|
-
end
|
145
|
-
|
146
|
-
# Write results
|
147
|
-
write_output(runner, cost_multipliers, output_format, output_path)
|
148
|
-
|
149
|
-
return true
|
150
|
-
end
|
151
|
-
|
152
|
-
def write_output(runner, cost_multipliers, output_format, output_path)
|
153
|
-
line_break = nil
|
154
|
-
|
155
|
-
segment, _ = cost_multipliers.keys[0].split(':', 2)
|
156
|
-
segment = segment.strip
|
157
|
-
results_out = []
|
158
|
-
cost_multipliers.each do |key, cost_mult|
|
159
|
-
new_segment, _ = key.split(':', 2)
|
160
|
-
new_segment = new_segment.strip
|
161
|
-
if new_segment != segment
|
162
|
-
results_out << [line_break]
|
163
|
-
segment = new_segment
|
164
|
-
end
|
165
|
-
results_out << ["#{key} (#{cost_mult.units})", cost_mult.output.round(2)]
|
166
|
-
end
|
167
|
-
|
168
|
-
if ['csv'].include? output_format
|
169
|
-
CSV.open(output_path, 'wb') { |csv| results_out.to_a.each { |elem| csv << elem } }
|
170
|
-
elsif ['json', 'msgpack'].include? output_format
|
171
|
-
h = {}
|
172
|
-
results_out.each do |out|
|
173
|
-
next if out == [line_break]
|
174
|
-
|
175
|
-
grp, name = out[0].split(':', 2)
|
176
|
-
h[grp] = {} if h[grp].nil?
|
177
|
-
h[grp][name.strip] = out[1]
|
178
|
-
end
|
179
|
-
|
180
|
-
if output_format == 'json'
|
181
|
-
require 'json'
|
182
|
-
File.open(output_path, 'w') { |json| json.write(JSON.pretty_generate(h)) }
|
183
|
-
elsif output_format == 'msgpack'
|
184
|
-
File.open(output_path, 'w') { |json| h.to_msgpack(json) }
|
185
|
-
end
|
186
|
-
end
|
187
|
-
runner.registerInfo("Wrote hpxml output to #{output_path}.")
|
188
|
-
end
|
189
|
-
|
190
|
-
class BaseOutput
|
191
|
-
def initialize()
|
192
|
-
@output = 0.0
|
193
|
-
end
|
194
|
-
attr_accessor(:output, :units)
|
195
|
-
end
|
196
|
-
|
197
|
-
def get_cost_multiplier(hpxml, cost_mult_type)
|
198
|
-
cost_mult = 0.0
|
199
|
-
if cost_mult_type == 'Enclosure: Wall Area Thermal Boundary'
|
200
|
-
hpxml.walls.each do |wall|
|
201
|
-
next unless wall.is_thermal_boundary
|
202
|
-
|
203
|
-
cost_mult += wall.area
|
204
|
-
end
|
205
|
-
elsif cost_mult_type == 'Enclosure: Wall Area Exterior'
|
206
|
-
hpxml.walls.each do |wall|
|
207
|
-
next unless wall.is_exterior
|
208
|
-
|
209
|
-
cost_mult += wall.area
|
210
|
-
end
|
211
|
-
elsif cost_mult_type == 'Enclosure: Foundation Wall Area Exterior'
|
212
|
-
hpxml.foundation_walls.each do |foundation_wall|
|
213
|
-
next unless foundation_wall.is_exterior
|
214
|
-
|
215
|
-
cost_mult += foundation_wall.area
|
216
|
-
end
|
217
|
-
elsif cost_mult_type == 'Enclosure: Floor Area Conditioned'
|
218
|
-
cost_mult += hpxml.building_construction.conditioned_floor_area
|
219
|
-
elsif cost_mult_type == 'Enclosure: Floor Area Lighting'
|
220
|
-
if hpxml.lighting.interior_usage_multiplier != 0
|
221
|
-
cost_mult += hpxml.building_construction.conditioned_floor_area
|
222
|
-
end
|
223
|
-
hpxml.slabs.each do |slab|
|
224
|
-
next unless [HPXML::LocationGarage].include?(slab.interior_adjacent_to)
|
225
|
-
next if hpxml.lighting.garage_usage_multiplier == 0
|
226
|
-
|
227
|
-
cost_mult += slab.area
|
228
|
-
end
|
229
|
-
elsif cost_mult_type == 'Enclosure: Floor Area Foundation'
|
230
|
-
hpxml.slabs.each do |slab|
|
231
|
-
next if slab.interior_adjacent_to == HPXML::LocationGarage
|
232
|
-
|
233
|
-
cost_mult += slab.area
|
234
|
-
end
|
235
|
-
elsif cost_mult_type == 'Enclosure: Ceiling Area Thermal Boundary'
|
236
|
-
hpxml.frame_floors.each do |frame_floor|
|
237
|
-
next unless frame_floor.is_thermal_boundary
|
238
|
-
next unless frame_floor.is_interior
|
239
|
-
next unless frame_floor.is_ceiling
|
240
|
-
next unless [HPXML::LocationAtticVented,
|
241
|
-
HPXML::LocationAtticUnvented].include?(frame_floor.exterior_adjacent_to)
|
242
|
-
|
243
|
-
cost_mult += frame_floor.area
|
244
|
-
end
|
245
|
-
elsif cost_mult_type == 'Enclosure: Roof Area'
|
246
|
-
hpxml.roofs.each do |roof|
|
247
|
-
cost_mult += roof.area
|
248
|
-
end
|
249
|
-
elsif cost_mult_type == 'Enclosure: Window Area'
|
250
|
-
hpxml.windows.each do |window|
|
251
|
-
cost_mult += window.area
|
252
|
-
end
|
253
|
-
elsif cost_mult_type == 'Enclosure: Door Area'
|
254
|
-
hpxml.doors.each do |door|
|
255
|
-
cost_mult += door.area
|
256
|
-
end
|
257
|
-
elsif cost_mult_type == 'Enclosure: Duct Area Unconditioned'
|
258
|
-
hpxml.hvac_distributions.each do |hvac_distribution|
|
259
|
-
hvac_distribution.ducts.each do |duct|
|
260
|
-
next if [HPXML::LocationLivingSpace,
|
261
|
-
HPXML::LocationBasementConditioned].include?(duct.duct_location)
|
262
|
-
|
263
|
-
cost_mult += duct.duct_surface_area
|
264
|
-
end
|
265
|
-
end
|
266
|
-
elsif cost_mult_type == 'Enclosure: Rim Joist Area'
|
267
|
-
hpxml.rim_joists.each do |rim_joist|
|
268
|
-
cost_mult += rim_joist.area
|
269
|
-
end
|
270
|
-
elsif cost_mult_type == 'Enclosure: Slab Exposed Perimeter Thermal Boundary'
|
271
|
-
hpxml.slabs.each do |slab|
|
272
|
-
next unless slab.is_exterior_thermal_boundary
|
273
|
-
|
274
|
-
cost_mult += slab.exposed_perimeter
|
275
|
-
end
|
276
|
-
elsif cost_mult_type == 'Systems: Heating Capacity'
|
277
|
-
hpxml.heating_systems.each do |heating_system|
|
278
|
-
next if heating_system.is_heat_pump_backup_system
|
279
|
-
|
280
|
-
cost_mult += heating_system.heating_capacity
|
281
|
-
end
|
282
|
-
|
283
|
-
hpxml.heat_pumps.each do |heat_pump|
|
284
|
-
cost_mult += heat_pump.heating_capacity
|
285
|
-
end
|
286
|
-
elsif cost_mult_type == 'Systems: Cooling Capacity'
|
287
|
-
hpxml.cooling_systems.each do |cooling_system|
|
288
|
-
cost_mult += cooling_system.cooling_capacity
|
289
|
-
end
|
290
|
-
|
291
|
-
hpxml.heat_pumps.each do |heat_pump|
|
292
|
-
cost_mult += heat_pump.cooling_capacity
|
293
|
-
end
|
294
|
-
elsif cost_mult_type == 'Systems: Heat Pump Backup Capacity'
|
295
|
-
hpxml.heat_pumps.each do |heat_pump|
|
296
|
-
if not heat_pump.backup_heating_capacity.nil?
|
297
|
-
cost_mult += heat_pump.backup_heating_capacity
|
298
|
-
elsif not heat_pump.backup_system.nil?
|
299
|
-
cost_mult += heat_pump.backup_system.heating_capacity
|
300
|
-
end
|
301
|
-
end
|
302
|
-
elsif cost_mult_type == 'Systems: Water Heater Tank Volume'
|
303
|
-
hpxml.water_heating_systems.each do |water_heating_system|
|
304
|
-
cost_mult += water_heating_system.tank_volume.to_f
|
305
|
-
end
|
306
|
-
elsif cost_mult_type == 'Systems: Mechanical Ventilation Flow Rate'
|
307
|
-
hpxml.ventilation_fans.each do |ventilation_fan|
|
308
|
-
next unless ventilation_fan.used_for_whole_building_ventilation
|
309
|
-
|
310
|
-
cost_mult += ventilation_fan.flow_rate.to_f
|
311
|
-
end
|
312
|
-
elsif cost_mult_type == 'Design Loads Heating: Total'
|
313
|
-
cost_mult += hpxml.hvac_plant.hdl_total
|
314
|
-
elsif cost_mult_type == 'Design Loads Heating: Ducts'
|
315
|
-
cost_mult += hpxml.hvac_plant.hdl_ducts
|
316
|
-
elsif cost_mult_type == 'Design Loads Heating: Windows'
|
317
|
-
cost_mult += hpxml.hvac_plant.hdl_windows
|
318
|
-
elsif cost_mult_type == 'Design Loads Heating: Skylights'
|
319
|
-
cost_mult += hpxml.hvac_plant.hdl_skylights
|
320
|
-
elsif cost_mult_type == 'Design Loads Heating: Doors'
|
321
|
-
cost_mult += hpxml.hvac_plant.hdl_doors
|
322
|
-
elsif cost_mult_type == 'Design Loads Heating: Walls'
|
323
|
-
cost_mult += hpxml.hvac_plant.hdl_walls
|
324
|
-
elsif cost_mult_type == 'Design Loads Heating: Roofs'
|
325
|
-
cost_mult += hpxml.hvac_plant.hdl_roofs
|
326
|
-
elsif cost_mult_type == 'Design Loads Heating: Floors'
|
327
|
-
cost_mult += hpxml.hvac_plant.hdl_floors
|
328
|
-
elsif cost_mult_type == 'Design Loads Heating: Slabs'
|
329
|
-
cost_mult += hpxml.hvac_plant.hdl_slabs
|
330
|
-
elsif cost_mult_type == 'Design Loads Heating: Ceilings'
|
331
|
-
cost_mult += hpxml.hvac_plant.hdl_ceilings
|
332
|
-
elsif cost_mult_type == 'Design Loads Heating: Infiltration/Ventilation'
|
333
|
-
cost_mult += hpxml.hvac_plant.hdl_infilvent
|
334
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Total'
|
335
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_total
|
336
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Ducts'
|
337
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_ducts
|
338
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Windows'
|
339
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_windows
|
340
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Skylights'
|
341
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_skylights
|
342
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Doors'
|
343
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_doors
|
344
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Walls'
|
345
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_walls
|
346
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Roofs'
|
347
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_roofs
|
348
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Floors'
|
349
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_floors
|
350
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Slabs'
|
351
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_slabs
|
352
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Ceilings'
|
353
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_ceilings
|
354
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Infiltration/Ventilation'
|
355
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_infilvent
|
356
|
-
elsif cost_mult_type == 'Design Loads Cooling Sensible: Internal Gains'
|
357
|
-
cost_mult += hpxml.hvac_plant.cdl_sens_intgains
|
358
|
-
elsif cost_mult_type == 'Design Loads Cooling Latent: Total'
|
359
|
-
cost_mult += hpxml.hvac_plant.cdl_lat_total
|
360
|
-
elsif cost_mult_type == 'Design Loads Cooling Latent: Ducts'
|
361
|
-
cost_mult += hpxml.hvac_plant.cdl_lat_ducts
|
362
|
-
elsif cost_mult_type == 'Design Loads Cooling Latent: Infiltration/Ventilation'
|
363
|
-
cost_mult += hpxml.hvac_plant.cdl_lat_infilvent
|
364
|
-
elsif cost_mult_type == 'Design Loads Cooling Latent: Internal Gains'
|
365
|
-
cost_mult += hpxml.hvac_plant.cdl_lat_intgains
|
366
|
-
end
|
367
|
-
return cost_mult
|
368
|
-
end
|
369
|
-
|
370
|
-
def assign_primary_and_secondary(hpxml, cost_multipliers)
|
371
|
-
# Determine if we have primary/secondary systems
|
372
|
-
has_primary_cooling_system = false
|
373
|
-
has_secondary_cooling_system = false
|
374
|
-
hpxml.cooling_systems.each do |cooling_system|
|
375
|
-
has_primary_cooling_system = true if cooling_system.primary_system
|
376
|
-
has_secondary_cooling_system = true if !cooling_system.primary_system
|
377
|
-
end
|
378
|
-
hpxml.heat_pumps.each do |heat_pump|
|
379
|
-
has_primary_cooling_system = true if heat_pump.primary_cooling_system
|
380
|
-
has_secondary_cooling_system = true if !heat_pump.primary_cooling_system
|
381
|
-
end
|
382
|
-
has_secondary_cooling_system = false unless has_primary_cooling_system
|
383
|
-
|
384
|
-
has_primary_heating_system = false
|
385
|
-
has_secondary_heating_system = false
|
386
|
-
hpxml.heating_systems.each do |heating_system|
|
387
|
-
next if heating_system.is_heat_pump_backup_system
|
388
|
-
|
389
|
-
has_primary_heating_system = true if heating_system.primary_system
|
390
|
-
has_secondary_heating_system = true if !heating_system.primary_system
|
391
|
-
end
|
392
|
-
hpxml.heat_pumps.each do |heat_pump|
|
393
|
-
has_primary_heating_system = true if heat_pump.primary_heating_system
|
394
|
-
has_secondary_heating_system = true if !heat_pump.primary_heating_system
|
395
|
-
end
|
396
|
-
has_secondary_heating_system = false unless has_primary_heating_system
|
397
|
-
|
398
|
-
# Set up order of outputs
|
399
|
-
if has_primary_cooling_system
|
400
|
-
cost_multipliers["Primary #{BS::CoolingSystem}"] = BaseOutput.new
|
401
|
-
end
|
402
|
-
|
403
|
-
if has_primary_heating_system
|
404
|
-
cost_multipliers["Primary #{BS::HeatingSystem}"] = BaseOutput.new
|
405
|
-
cost_multipliers["Primary #{BS::HeatPumpBackup}"] = BaseOutput.new
|
406
|
-
end
|
407
|
-
|
408
|
-
if has_secondary_cooling_system
|
409
|
-
cost_multipliers["Secondary #{BS::CoolingSystem}"] = BaseOutput.new
|
410
|
-
end
|
411
|
-
|
412
|
-
if has_secondary_heating_system
|
413
|
-
cost_multipliers["Secondary #{BS::HeatingSystem}"] = BaseOutput.new
|
414
|
-
cost_multipliers["Secondary #{BS::HeatPumpBackup}"] = BaseOutput.new
|
415
|
-
end
|
416
|
-
|
417
|
-
# Obtain values
|
418
|
-
if has_primary_cooling_system || has_secondary_cooling_system
|
419
|
-
hpxml.cooling_systems.each do |cooling_system|
|
420
|
-
prefix = cooling_system.primary_system ? 'Primary' : 'Secondary'
|
421
|
-
cost_multipliers["#{prefix} #{BS::CoolingSystem}"].output += cooling_system.cooling_capacity
|
422
|
-
end
|
423
|
-
hpxml.heat_pumps.each do |heat_pump|
|
424
|
-
prefix = heat_pump.primary_cooling_system ? 'Primary' : 'Secondary'
|
425
|
-
cost_multipliers["#{prefix} #{BS::CoolingSystem}"].output += heat_pump.cooling_capacity
|
426
|
-
end
|
427
|
-
end
|
428
|
-
|
429
|
-
if has_primary_heating_system || has_secondary_heating_system
|
430
|
-
hpxml.heating_systems.each do |heating_system|
|
431
|
-
next if heating_system.is_heat_pump_backup_system
|
432
|
-
|
433
|
-
prefix = heating_system.primary_system ? 'Primary' : 'Secondary'
|
434
|
-
cost_multipliers["#{prefix} #{BS::HeatingSystem}"].output += heating_system.heating_capacity
|
435
|
-
end
|
436
|
-
hpxml.heat_pumps.each do |heat_pump|
|
437
|
-
prefix = heat_pump.primary_heating_system ? 'Primary' : 'Secondary'
|
438
|
-
cost_multipliers["#{prefix} #{BS::HeatingSystem}"].output += heat_pump.heating_capacity
|
439
|
-
if not heat_pump.backup_heating_capacity.nil?
|
440
|
-
cost_multipliers["#{prefix} #{BS::HeatPumpBackup}"].output += heat_pump.backup_heating_capacity
|
441
|
-
elsif not heat_pump.backup_system.nil?
|
442
|
-
cost_multipliers["#{prefix} #{BS::HeatPumpBackup}"].output += heat_pump.backup_system.heating_capacity
|
443
|
-
end
|
444
|
-
end
|
445
|
-
end
|
446
|
-
end
|
447
|
-
end
|
448
|
-
|
449
|
-
# register the measure to be used by the application
|
450
|
-
ReportHPXMLOutput.new.registerWithApplication
|
@@ -1,85 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<measure>
|
3
|
-
<schema_version>3.0</schema_version>
|
4
|
-
<name>report_hpxml_output</name>
|
5
|
-
<uid>9561a0d7-60ad-48c5-8337-2461df044d80</uid>
|
6
|
-
<version_id>58895733-633f-4187-a3f8-29ada24742f0</version_id>
|
7
|
-
<version_modified>20220505T171354Z</version_modified>
|
8
|
-
<xml_checksum>9BF1E6AC</xml_checksum>
|
9
|
-
<class_name>ReportHPXMLOutput</class_name>
|
10
|
-
<display_name>HPXML Output Report</display_name>
|
11
|
-
<description>Reports HPXML outputs for residential HPXML-based models.</description>
|
12
|
-
<modeler_description>Parses the HPXML file and reports pre-defined outputs.</modeler_description>
|
13
|
-
<arguments>
|
14
|
-
<argument>
|
15
|
-
<name>output_format</name>
|
16
|
-
<display_name>Output Format</display_name>
|
17
|
-
<description>The file format of the annual (and timeseries, if requested) outputs.</description>
|
18
|
-
<type>Choice</type>
|
19
|
-
<required>false</required>
|
20
|
-
<model_dependent>false</model_dependent>
|
21
|
-
<default_value>csv</default_value>
|
22
|
-
<choices>
|
23
|
-
<choice>
|
24
|
-
<value>csv</value>
|
25
|
-
<display_name>csv</display_name>
|
26
|
-
</choice>
|
27
|
-
<choice>
|
28
|
-
<value>json</value>
|
29
|
-
<display_name>json</display_name>
|
30
|
-
</choice>
|
31
|
-
<choice>
|
32
|
-
<value>msgpack</value>
|
33
|
-
<display_name>msgpack</display_name>
|
34
|
-
</choice>
|
35
|
-
</choices>
|
36
|
-
</argument>
|
37
|
-
</arguments>
|
38
|
-
<outputs />
|
39
|
-
<provenances />
|
40
|
-
<tags>
|
41
|
-
<tag>Reporting.QAQC</tag>
|
42
|
-
</tags>
|
43
|
-
<attributes>
|
44
|
-
<attribute>
|
45
|
-
<name>Measure Type</name>
|
46
|
-
<value>ReportingMeasure</value>
|
47
|
-
<datatype>string</datatype>
|
48
|
-
</attribute>
|
49
|
-
<attribute>
|
50
|
-
<name>Intended Software Tool</name>
|
51
|
-
<value>OpenStudio Application</value>
|
52
|
-
<datatype>string</datatype>
|
53
|
-
</attribute>
|
54
|
-
<attribute>
|
55
|
-
<name>Intended Software Tool</name>
|
56
|
-
<value>Parametric Analysis Tool</value>
|
57
|
-
<datatype>string</datatype>
|
58
|
-
</attribute>
|
59
|
-
</attributes>
|
60
|
-
<files>
|
61
|
-
<file>
|
62
|
-
<filename>constants.rb</filename>
|
63
|
-
<filetype>rb</filetype>
|
64
|
-
<usage_type>resource</usage_type>
|
65
|
-
<checksum>66ADF65A</checksum>
|
66
|
-
</file>
|
67
|
-
<file>
|
68
|
-
<version>
|
69
|
-
<software_program>OpenStudio</software_program>
|
70
|
-
<identifier>3.2.0</identifier>
|
71
|
-
<min_compatible>3.2.0</min_compatible>
|
72
|
-
</version>
|
73
|
-
<filename>measure.rb</filename>
|
74
|
-
<filetype>rb</filetype>
|
75
|
-
<usage_type>script</usage_type>
|
76
|
-
<checksum>3D232235</checksum>
|
77
|
-
</file>
|
78
|
-
<file>
|
79
|
-
<filename>hpxml_output_report_test.rb</filename>
|
80
|
-
<filetype>rb</filetype>
|
81
|
-
<usage_type>test</usage_type>
|
82
|
-
<checksum>789AD0D9</checksum>
|
83
|
-
</file>
|
84
|
-
</files>
|
85
|
-
</measure>
|