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

Latest OS-HPXML #1347

Draft
wants to merge 27 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
d6c336c
Merge commit '8a7eaa01a56307bdcff432e093e8bfe285a43bbc' into latest-o…
joseph-robertson Feb 5, 2025
8a7eaa0
Squashed 'resources/hpxml-measures/' changes from 459eeb3ed80e..dbb06…
joseph-robertson Feb 5, 2025
6bc9ef5
Update run_analysis for new output_meters field.
joseph-robertson Feb 5, 2025
9627e22
Update wfg version and expected warnings.
joseph-robertson Feb 5, 2025
eb737d4
Update data dictionaries for new output meters.
joseph-robertson Feb 5, 2025
74bbfa8
Formatting.
joseph-robertson Feb 5, 2025
87adf95
Formatting again.
joseph-robertson Feb 5, 2025
e69d23d
Try to fix tests.
joseph-robertson Feb 6, 2025
e505442
Typo in data dictionary.
joseph-robertson Feb 6, 2025
cf6735b
Latest results.
Feb 6, 2025
6e66501
Exclude user_output_meters from processed test results.
joseph-robertson Feb 6, 2025
2778b27
Latest results.
Feb 7, 2025
9de3d3f
Squashed 'resources/hpxml-measures/' changes from dbb0606f644e..5673c…
joseph-robertson Feb 10, 2025
7a61d66
Merge commit '9de3d3fc39863e8073c2b35deb87fd1330810af2' into latest-o…
joseph-robertson Feb 10, 2025
ccee4bf
Update measure xml file.
joseph-robertson Feb 10, 2025
2c8a9ab
Merge commit 'ddd6a767c0c0719006e7d1029fb17dedd1dacd7f' into latest-o…
joseph-robertson Feb 11, 2025
ddd6a76
Squashed 'resources/hpxml-measures/' changes from 5673cc77261e..5c1f3…
joseph-robertson Feb 11, 2025
465f0ad
Merge commit '20951018314c4c6097e08535f277846fe2dcb183' into latest-o…
joseph-robertson Feb 11, 2025
2095101
Squashed 'resources/hpxml-measures/' changes from 5c1f30d819e7..ed926…
joseph-robertson Feb 11, 2025
51c8ea4
Add vehicle and ev_charger arguments to exclude list for now.
joseph-robertson Feb 11, 2025
57a8f0e
Update outputs dictionary for unmet driving hrs.
joseph-robertson Feb 12, 2025
189de40
Latest results.
Feb 12, 2025
42955f2
Squashed 'resources/hpxml-measures/' changes from ed9269ef9a04..a784b…
joseph-robertson Feb 13, 2025
c3f120c
Merge commit '42955f284779efe37f0696a02108e1f0c466d151' into latest-o…
joseph-robertson Feb 13, 2025
474621e
Merge branch 'develop' into latest-os-hpxml
joseph-robertson Feb 13, 2025
7c7f721
Latest results.
Feb 13, 2025
2d6e1e6
Merge branch 'develop' into latest-os-hpxml
joseph-robertson Feb 13, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:

- name: Run buildstockbatch
run: |
pip install git+https://github.com/NREL/buildstockbatch.git@develop
pip install git+https://github.com/NREL/buildstockbatch.git@output-meters

buildstock_local project_national/national_baseline.yml
buildstock_local project_testing/testing_baseline.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ report_simulation_output.timeseries_timestamp_convention,Determines whether time
report_simulation_output.timeseries_num_decimal_places,"Allows overriding the default number of decimal places for timeseries output. Does not apply if output format is msgpack, where no rounding is performed because there is no file size penalty to storing full precision."
report_simulation_output.add_timeseries_dst_column,"Optionally add, in addition to the default local standard Time column, a local clock TimeDST column. Requires that daylight saving time is enabled."
report_simulation_output.add_timeseries_utc_column,"Optionally add, in addition to the default local standard Time column, a local clock TimeUTC column. If the time zone UTC offset is not provided in the HPXML file, the time zone in the EPW header will be used."
report_simulation_output.user_output_variables,"Optionally generates timeseries EnergyPlus output variables. If multiple output variables are desired, use a comma-separated list. Do not include key values; by default all key values will be requested. Example: ""Zone People Occupant Count, Zone People Total Heating Energy"""
report_simulation_output.user_output_variables,"Optionally generates timeseries EnergyPlus output variables. If multiple output variables are desired, use a comma-separated list. Do not include key values; by default all key values will be requested. Example: 'Zone People Occupant Count, Zone People Total Heating Energy'"
report_simulation_output.user_output_meters,"Optionally generates timeseries EnergyPlus output meters. If multiple output meters are desired, use a comma-separated list. Example: 'Electricity:Facility, HeatingCoils:EnergyTransfer'"
report_utility_bills.applicable,The measure was applied to the workflow.
report_utility_bills.output_format,"The file format of the annual (and timeseries, if requested) outputs."
report_utility_bills.include_annual_bills,Generates output file containing annual utility bills.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ Weather: Relative Humidity,weather__relative_humidity__%,%,"Weather file data in
Weather: Wind Speed,weather__wind_speed__mph,mph,"Weather file data including outdoor temperatures, relative humidity, wind speed, and solar."
Weather: Diffuse Solar Radiation,weather__diffuse_solar_radiation__btu/(hr*ft^2),Btu/(hr*ft^2),"Weather file data including outdoor temperatures, relative humidity, wind speed, and solar."
Weather: Direct Solar Radiation,weather__direct_solar_radiation__btu/(hr*ft^2),Btu/(hr*ft^2),"Weather file data including outdoor temperatures, relative humidity, wind speed, and solar."
Zone People Occupant Count: Conditioned Space,zone_people_occupant_count__conditioned_space,,User-requested EnergyPlus output variable.
Zone People Occupant Count: Conditioned Space,zone_people_occupant_count__conditioned_space,,"Any user-specified EnergyPlus output variables/meters (e.g., 'Zone People Occupant Count', 'MainsWater:Facility')."
Electricity:Facility,electricity_facility__j,J,"Any user-specified EnergyPlus output variables/meters (e.g., 'Zone People Occupant Count', 'MainsWater:Facility')."
,schedules_ceiling_fan,frac,Ceiling fan energy use schedule.
,schedules_clothes_dryer,frac,Clothes dryer energy use schedule.
,schedules_clothes_washer,frac,Clothes washer energy use schedule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,4 @@ report_simulation_output.peak_load_heating_delivered_k_btu_hr,kBtu/hr,,,,Include
report_simulation_output.resilience_battery_hr,hr,Resilience: Battery,resilience__battery__hr,hr,Average length of time the battery state of charge can meet the electric load
report_simulation_output.unmet_hours_cooling_hr,hr,Unmet Hours: Cooling,unmet_hours__cooling__hr,hr,Number of hours where the cooling setpoint is not maintained.
report_simulation_output.unmet_hours_heating_hr,hr,Unmet Hours: Heating,unmet_hours__heating__hr,hr,Number of hours where the heating setpoint is not maintained.
report_simulation_output.unmet_hours_ev_driving_hr,hr,Unmet Hours: EV Driving,unmet_hours__ev_driving__hr,hr,Number of hours where the EV driving demand is not met.
8 changes: 4 additions & 4 deletions measures/ResStockArguments/measure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<schema_version>3.1</schema_version>
<name>res_stock_arguments</name>
<uid>c984bb9e-4ac4-4930-a399-9d23f8f6936a</uid>
<version_id>d4503561-5947-467e-a470-7e3a3244d991</version_id>
<version_modified>2025-02-04T20:54:44Z</version_modified>
<version_id>c09018f1-362a-4973-b32b-49f7b5577c18</version_id>
<version_modified>2025-02-12T16:22:04Z</version_modified>
<xml_checksum>2C38F48B</xml_checksum>
<class_name>ResStockArguments</class_name>
<display_name>ResStock Arguments</display_name>
Expand Down Expand Up @@ -7707,13 +7707,13 @@
<filename>constants.rb</filename>
<filetype>rb</filetype>
<usage_type>resource</usage_type>
<checksum>67C6AB5F</checksum>
<checksum>1E2198A5</checksum>
</file>
<file>
<filename>measure.txt</filename>
<filetype>txt</filetype>
<usage_type>resource</usage_type>
<checksum>5505BBDE</checksum>
<checksum>232F0A3A</checksum>
</file>
<file>
<filename>resstock_arguments_test.rb</filename>
Expand Down
12 changes: 12 additions & 0 deletions measures/ResStockArguments/resources/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ module Constants
'hvac_control_cooling_weekend_setpoint',
'pv_system_num_bedrooms_served',
'battery_num_bedrooms_served',
'vehicle_type',
'vehicle_battery_capacity',
'vehicle_battery_usable_capacity',
'vehicle_fuel_economy_units',
'vehicle_fuel_economy_combined',
'vehicle_miles_driven_per_year',
'vehicle_hours_driven_per_week',
'vehicle_fraction_charged_home',
'ev_charger_present',
'ev_charger_level',
'ev_charger_power',
'ev_charger_location',
'emissions_scenario_names',
'emissions_types',
'emissions_electricity_units',
Expand Down
2 changes: 1 addition & 1 deletion measures/ResStockArguments/resources/measure.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
357944431a5a88e46e2b12c30da3f703
8f7f3f65a5351d4e49cbcb52e306b220
2 changes: 1 addition & 1 deletion project_national/national_baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ sampler:
workflow_generator:
# ResStock HPXML workflow generator
type: residential_hpxml
version: 2025.01.29
version: 2025.02.05
args:
# Annual simulation and timestep
build_existing_model:
Expand Down
2 changes: 1 addition & 1 deletion project_national/sdr_upgrades_tmy3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ postprocessing:
workflow_generator:
# ResStock HPXML workflow generator
type: residential_hpxml
version: 2025.01.29
version: 2025.02.05

args:
# Annual simulation and timestep
Expand Down
4 changes: 3 additions & 1 deletion project_testing/testing_baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ sampler:
workflow_generator:
# ResStock HPXML workflow generator
type: residential_hpxml
version: 2025.01.29
version: 2025.02.05
args:
# Annual simulation and timestep
build_existing_model:
Expand Down Expand Up @@ -122,6 +122,8 @@ workflow_generator:
timeseries_num_decimal_places: 4
output_variables:
- name: Zone People Occupant Count
output_meters:
- name: Electricity:Facility
include_monthly_bills: true

# Other reporting measures to run
Expand Down
2 changes: 1 addition & 1 deletion resources/buildstock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
module Version
ResStock_Version = '3.4.0' # Version of ResStock
BuildStockBatch_Version = '2023.10.0' # Minimum required version of BuildStockBatch
WorkflowGenerator_Version = '2025.01.29' # Version of buildstockbatch workflow generator
WorkflowGenerator_Version = '2025.02.05' # Version of buildstockbatch workflow generator

def self.check_buildstockbatch_version
if ENV.keys.include?('BUILDSTOCKBATCH_VERSION') # buildstockbatch is installed
Expand Down
3 changes: 2 additions & 1 deletion resources/data/dictionary/inputs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ report_simulation_output.timeseries_timestamp_convention,Determines whether time
report_simulation_output.timeseries_num_decimal_places,"Allows overriding the default number of decimal places for timeseries output. Does not apply if output format is msgpack, where no rounding is performed because there is no file size penalty to storing full precision."
report_simulation_output.add_timeseries_dst_column,"Optionally add, in addition to the default local standard Time column, a local clock TimeDST column. Requires that daylight saving time is enabled."
report_simulation_output.add_timeseries_utc_column,"Optionally add, in addition to the default local standard Time column, a local clock TimeUTC column. If the time zone UTC offset is not provided in the HPXML file, the time zone in the EPW header will be used."
report_simulation_output.user_output_variables,"Optionally generates timeseries EnergyPlus output variables. If multiple output variables are desired, use a comma-separated list. Do not include key values; by default all key values will be requested. Example: ""Zone People Occupant Count, Zone People Total Heating Energy"""
report_simulation_output.user_output_variables,"Optionally generates timeseries EnergyPlus output variables. If multiple output variables are desired, use a comma-separated list. Do not include key values; by default all key values will be requested. Example: 'Zone People Occupant Count, Zone People Total Heating Energy'"
report_simulation_output.user_output_meters,"Optionally generates timeseries EnergyPlus output meters. If multiple output meters are desired, use a comma-separated list. Example: 'Electricity:Facility, HeatingCoils:EnergyTransfer'"
report_utility_bills.applicable,The measure was applied to the workflow.
report_utility_bills.output_format,"The file format of the annual (and timeseries, if requested) outputs."
report_utility_bills.include_annual_bills,Generates output file containing annual utility bills.
Expand Down
Loading