-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #456 from NREL/measure_upgrades
- Loading branch information
Showing
32 changed files
with
4,593 additions
and
860 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 77 additions & 0 deletions
77
buildstockbatch/test/test_inputs/enforce-validate-measures-missing-dir.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
schema_version: '0.3' | ||
buildstock_directory: test_openstudio_buildstock | ||
project_directory: project_singlefamilydetached | ||
weather_files_url: https://fake-url | ||
baseline: | ||
n_buildings_represented: 81221016 | ||
|
||
sampler: | ||
type: residential_quota | ||
args: | ||
n_datapoints: 30 | ||
|
||
workflow_generator: | ||
type: residential_hpxml | ||
args: | ||
build_existing_model: | ||
simulation_control_timestep: 60 | ||
simulation_control_run_period_begin_month: 1 | ||
simulation_control_run_period_begin_day_of_month: 1 | ||
simulation_control_run_period_end_month: 12 | ||
simulation_control_run_period_end_day_of_month: 31 | ||
simulation_control_run_period_calendar_year: 2007 | ||
|
||
emissions: | ||
- scenario_name: LRMER_MidCase_15 | ||
type: CO2e | ||
elec_folder: data/cambium/LRMER_MidCase_15 | ||
|
||
utility_bills: | ||
- scenario_name: Bills | ||
|
||
simulation_output_report: | ||
timeseries_frequency: hourly | ||
include_timeseries_total_consumptions: true | ||
include_timeseries_fuel_consumptions: true | ||
include_timeseries_end_use_consumptions: true | ||
include_timeseries_emissions: true | ||
include_timeseries_emission_fuels: true | ||
include_timeseries_emission_end_uses: true | ||
include_timeseries_hot_water_uses: true | ||
include_timeseries_total_loads: true | ||
include_timeseries_component_loads: true | ||
include_timeseries_unmet_hours: true | ||
include_timeseries_zone_temperatures: true | ||
include_timeseries_airflows: true | ||
include_timeseries_weather: true | ||
|
||
reporting_measures: | ||
- measure_dir_name: QOIReport | ||
|
||
server_directory_cleanup: | ||
retain_in_idf: false | ||
retain_schedules_csv: false | ||
|
||
upgrades: | ||
- upgrade_name: cool upgrade | ||
options: | ||
- option: Vintage<1940 | ||
- upgrade_name: good upgrade | ||
options: | ||
- option: Vintage|<1940 | ||
apply_logic: | ||
- or: | ||
- Insulation Slab|Good Option | ||
- Insulation Slab|None | ||
- not: Insulation Wall|Good Option | ||
- and: | ||
- Vintage|1960s||Vintage|1960s | ||
- Vintage|1980s | ||
costs: | ||
- value: 0.9 | ||
multiplier: Fixed (1) | ||
- option: Insulation Finished Basement|Good Option | ||
apply_logic: | ||
- Insulation Unfinished Basement|Extra Argument | ||
package_apply_logic: Vintage|1960s||Vintage|1940s | ||
reference_scenario: cool upgrade |
91 changes: 91 additions & 0 deletions
91
...kbatch/test/test_inputs/test_openstudio_buildstock/measures/ReportHPXMLOutput/measure.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0"?> | ||
<measure> | ||
<schema_version>3.1</schema_version> | ||
<name>report_hpxml_output</name> | ||
<uid>9561a0d7-60ad-48c5-8337-2461df044d80</uid> | ||
<version_id>222e94cd-c586-4745-8cde-55e933a00392</version_id> | ||
<version_modified>2024-01-26T00:28:04Z</version_modified> | ||
<xml_checksum>9BF1E6AC</xml_checksum> | ||
<class_name>ReportHPXMLOutput</class_name> | ||
<display_name>HPXML Output Report</display_name> | ||
<description>Reports HPXML outputs for residential HPXML-based models.</description> | ||
<modeler_description>Parses the HPXML file and reports pre-defined outputs.</modeler_description> | ||
<arguments> | ||
<argument> | ||
<name>output_format</name> | ||
<display_name>Output Format</display_name> | ||
<description>The file format of the annual (and timeseries, if requested) outputs.</description> | ||
<type>Choice</type> | ||
<required>false</required> | ||
<model_dependent>false</model_dependent> | ||
<default_value>csv</default_value> | ||
<choices> | ||
<choice> | ||
<value>csv</value> | ||
<display_name>csv</display_name> | ||
</choice> | ||
<choice> | ||
<value>json</value> | ||
<display_name>json</display_name> | ||
</choice> | ||
<choice> | ||
<value>msgpack</value> | ||
<display_name>msgpack</display_name> | ||
</choice> | ||
</choices> | ||
</argument> | ||
</arguments> | ||
<outputs /> | ||
<provenances /> | ||
<tags> | ||
<tag>Reporting.QAQC</tag> | ||
</tags> | ||
<attributes> | ||
<attribute> | ||
<name>Measure Type</name> | ||
<value>ReportingMeasure</value> | ||
<datatype>string</datatype> | ||
</attribute> | ||
<attribute> | ||
<name>Intended Software Tool</name> | ||
<value>OpenStudio Application</value> | ||
<datatype>string</datatype> | ||
</attribute> | ||
<attribute> | ||
<name>Intended Software Tool</name> | ||
<value>Parametric Analysis Tool</value> | ||
<datatype>string</datatype> | ||
</attribute> | ||
</attributes> | ||
<files> | ||
<file> | ||
<filename>README.md</filename> | ||
<filetype>md</filetype> | ||
<usage_type>readme</usage_type> | ||
<checksum>0BB92B1A</checksum> | ||
</file> | ||
<file> | ||
<filename>README.md.erb</filename> | ||
<filetype>erb</filetype> | ||
<usage_type>readmeerb</usage_type> | ||
<checksum>513F28E9</checksum> | ||
</file> | ||
<file> | ||
<version> | ||
<software_program>OpenStudio</software_program> | ||
<identifier>3.2.0</identifier> | ||
<min_compatible>3.2.0</min_compatible> | ||
</version> | ||
<filename>measure.rb</filename> | ||
<filetype>rb</filetype> | ||
<usage_type>script</usage_type> | ||
<checksum>BA1983C8</checksum> | ||
</file> | ||
<file> | ||
<filename>constants.rb</filename> | ||
<filetype>rb</filetype> | ||
<usage_type>resource</usage_type> | ||
<checksum>64289999</checksum> | ||
</file> | ||
</files> | ||
</measure> |
Oops, something went wrong.