-
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 #97 from NREL/measures-exist
Validate that measures exist and arguments are correct
- Loading branch information
Showing
13 changed files
with
5,941 additions
and
3 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
34 changes: 34 additions & 0 deletions
34
buildstockbatch/test/test_inputs/enforce-validate-measures-bad-2.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,34 @@ | ||
stock_type: residential | ||
buildstock_directory: test_openstudio_buildstock | ||
project_directory: project_singlefamilydetached | ||
baseline: | ||
n_datapoints: 30 | ||
n_buildings_represented: 81221016 | ||
residential_simulation_controls: | ||
timesteps_per_hr: 4 | ||
begin_month: 1 | ||
begin_day_of_month: 1.5 | ||
end_month: 12 | ||
end_day_of_month: 31 | ||
upgrades: | ||
- 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 | ||
- option: Insulation Finished Basement|Good Option | ||
apply_logic: | ||
- Insulation Unfinished Basement|Extra Argument | ||
timeseries_csv_export: | ||
reporting_frequency: Huorly | ||
include_enduse_subcategories: true | ||
output_variable: | ||
- Zone Mean Air Temperature | ||
reporting_measures: | ||
- ReportingMeasure2 |
29 changes: 29 additions & 0 deletions
29
buildstockbatch/test/test_inputs/enforce-validate-measures-good-2.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,29 @@ | ||
stock_type: residential | ||
buildstock_directory: test_openstudio_buildstock | ||
project_directory: project_singlefamilydetached | ||
baseline: | ||
n_datapoints: 30 | ||
n_buildings_represented: 81221016 | ||
upgrades: | ||
- 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 | ||
- option: Insulation Finished Basement|Good Option | ||
apply_logic: | ||
- Insulation Unfinished Basement|Extra Argument | ||
package_apply_logic: Vintage|1960s||Vintage|1940s | ||
timeseries_csv_export: | ||
reporting_frequency: Timestep | ||
include_enduse_subcategories: true | ||
output_variables: | ||
- Zone Mean Air Temperature | ||
reporting_measures: | ||
- ReportingMeasure1 |
Oops, something went wrong.