Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test run #667

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,7 @@ def create_sample_hpxmls
# Handle different inputs for ERI

hpxml.header.eri_calculation_version = 'latest'
hpxml.header.iecc_eri_calculation_version = IECCConstants.AllVersions[-1]
hpxml.header.iecc_eri_calculation_version = IECCConstants.AllVersions[-2]
hpxml.header.utility_bill_scenarios.clear
hpxml.header.timestep = nil
hpxml.site.site_type = nil
Expand Down Expand Up @@ -2778,29 +2778,21 @@ def create_sample_hpxmls

# Handle different inputs for ENERGY STAR/ZERH

if hpxml_path.include? 'base-bldgtype-multifamily'
hpxml.header.zerh_calculation_version = ZERHConstants.Ver1
if hpxml.climate_and_risk_zones.climate_zone_ieccs.select { |z| z.year == 2015 }.size == 0
hpxml.climate_and_risk_zones.climate_zone_ieccs.add(year: 2015,
zone: hpxml.climate_and_risk_zones.climate_zone_ieccs[0].zone)
end
else
hpxml.header.zerh_calculation_version = ZERHConstants.SFVer2
if hpxml.climate_and_risk_zones.climate_zone_ieccs.select { |z| z.year == 2021 }.size == 0
hpxml.climate_and_risk_zones.climate_zone_ieccs.add(year: 2021,
zone: hpxml.climate_and_risk_zones.climate_zone_ieccs[0].zone)
end
hpxml.header.zerh_calculation_version = ZERHConstants.Ver1
if hpxml.climate_and_risk_zones.climate_zone_ieccs.select { |z| z.year == 2015 }.size == 0
hpxml.climate_and_risk_zones.climate_zone_ieccs.add(year: 2015,
zone: hpxml.climate_and_risk_zones.climate_zone_ieccs[0].zone)
end
if hpxml_path.include? 'base-bldgtype-multifamily'
hpxml.header.energystar_calculation_version = ESConstants.MFNationalVer1_2
hpxml.header.energystar_calculation_version = ESConstants.MFNationalVer1_1
elsif hpxml.header.state_code == 'FL'
hpxml.header.energystar_calculation_version = ESConstants.SFFloridaVer3_1
elsif hpxml.header.state_code == 'HI'
hpxml.header.energystar_calculation_version = ESConstants.SFPacificVer3_0
elsif hpxml.header.state_code == 'OR'
hpxml.header.energystar_calculation_version = ESConstants.SFOregonWashingtonVer3_2
else
hpxml.header.energystar_calculation_version = ESConstants.SFNationalVer3_2
hpxml.header.energystar_calculation_version = ESConstants.SFNationalVer3_1
end
hpxml.windows.each do |window|
window.performance_class = HPXML::WindowClassResidential
Expand Down
6 changes: 3 additions & 3 deletions workflow/real_homes/house001.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>MF_National_1.2</Version>
<Version>MF_National_1.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>1.0</Version>
Expand Down Expand Up @@ -61,7 +61,7 @@
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2018</Year>
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
12 changes: 8 additions & 4 deletions workflow/real_homes/house002.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>SF_National_3.2</Version>
<Version>SF_National_3.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>SF_2.0</Version>
<Version>1.0</Version>
</ZERHCalculation>
</extension>
</SoftwareInfo>
Expand Down Expand Up @@ -56,7 +56,11 @@
<ClimateZone>4A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2015</Year>
<ClimateZone>4A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2018</Year>
<ClimateZone>4A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
12 changes: 8 additions & 4 deletions workflow/real_homes/house003.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>SF_National_3.2</Version>
<Version>SF_National_3.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>SF_2.0</Version>
<Version>1.0</Version>
</ZERHCalculation>
</extension>
</SoftwareInfo>
Expand Down Expand Up @@ -57,7 +57,11 @@
<ClimateZone>4A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2015</Year>
<ClimateZone>4A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2018</Year>
<ClimateZone>4A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
12 changes: 8 additions & 4 deletions workflow/real_homes/house004.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>SF_National_3.2</Version>
<Version>SF_National_3.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>SF_2.0</Version>
<Version>1.0</Version>
</ZERHCalculation>
</extension>
</SoftwareInfo>
Expand Down Expand Up @@ -57,7 +57,11 @@
<ClimateZone>6A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2015</Year>
<ClimateZone>6A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2018</Year>
<ClimateZone>6A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
6 changes: 3 additions & 3 deletions workflow/real_homes/house005.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>MF_National_1.2</Version>
<Version>MF_National_1.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>1.0</Version>
Expand Down Expand Up @@ -61,7 +61,7 @@
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2018</Year>
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
12 changes: 8 additions & 4 deletions workflow/real_homes/house006.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>SF_National_3.2</Version>
<Version>SF_National_3.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>SF_2.0</Version>
<Version>1.0</Version>
</ZERHCalculation>
</extension>
</SoftwareInfo>
Expand Down Expand Up @@ -56,7 +56,11 @@
<ClimateZone>3A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2015</Year>
<ClimateZone>3A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2018</Year>
<ClimateZone>3A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
6 changes: 3 additions & 3 deletions workflow/real_homes/house007.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>MF_National_1.2</Version>
<Version>MF_National_1.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>1.0</Version>
Expand Down Expand Up @@ -60,7 +60,7 @@
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2018</Year>
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
12 changes: 8 additions & 4 deletions workflow/real_homes/house008.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>SF_National_3.2</Version>
<Version>SF_National_3.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>SF_2.0</Version>
<Version>1.0</Version>
</ZERHCalculation>
</extension>
</SoftwareInfo>
Expand Down Expand Up @@ -57,7 +57,11 @@
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2015</Year>
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2018</Year>
<ClimateZone>5A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
12 changes: 8 additions & 4 deletions workflow/real_homes/house009.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>SF_National_3.2</Version>
<Version>SF_National_3.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>SF_2.0</Version>
<Version>1.0</Version>
</ZERHCalculation>
</extension>
</SoftwareInfo>
Expand Down Expand Up @@ -57,7 +57,11 @@
<ClimateZone>3A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2015</Year>
<ClimateZone>3A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2018</Year>
<ClimateZone>3A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
12 changes: 8 additions & 4 deletions workflow/real_homes/house010.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>SF_National_3.2</Version>
<Version>SF_National_3.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>SF_2.0</Version>
<Version>1.0</Version>
</ZERHCalculation>
</extension>
</SoftwareInfo>
Expand Down Expand Up @@ -57,7 +57,11 @@
<ClimateZone>3B</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2015</Year>
<ClimateZone>3B</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2018</Year>
<ClimateZone>3B</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
6 changes: 3 additions & 3 deletions workflow/real_homes/house011.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>MF_National_1.2</Version>
<Version>MF_National_1.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>1.0</Version>
Expand Down Expand Up @@ -61,7 +61,7 @@
<ClimateZone>4A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2018</Year>
<ClimateZone>4A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
12 changes: 8 additions & 4 deletions workflow/real_homes/house012.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<Version>latest</Version>
</ERICalculation>
<EnergyStarCalculation>
<Version>SF_National_3.2</Version>
<Version>SF_National_3.1</Version>
</EnergyStarCalculation>
<IECCERICalculation>
<Version>2021</Version>
<Version>2018</Version>
</IECCERICalculation>
<ZERHCalculation>
<Version>SF_2.0</Version>
<Version>1.0</Version>
</ZERHCalculation>
</extension>
</SoftwareInfo>
Expand Down Expand Up @@ -56,7 +56,11 @@
<ClimateZone>6A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2021</Year>
<Year>2015</Year>
<ClimateZone>6A</ClimateZone>
</ClimateZoneIECC>
<ClimateZoneIECC>
<Year>2018</Year>
<ClimateZone>6A</ClimateZone>
</ClimateZoneIECC>
<WeatherStation>
Expand Down
Loading