-
Notifications
You must be signed in to change notification settings - Fork 57
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
Addresses #403, remove redundant enduses #405
Conversation
arg.setDisplayName("Include End Use Subcategories") | ||
arg.setDescription("Whether to report end use subcategories: appliances, plug loads, fans, large uncommon loads.") | ||
arg.setDisplayName("Include Disaggregated Interior Equipment") | ||
arg.setDescription("Whether to report interior equipment broken out into components: appliances, plug loads, exhaust fans, large uncommon loads, etc. For each fuel type, total/net energy consumption will not be reported.") | ||
arg.setDefaultValue(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we default this to True?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, although I think this would then require change to buildstockbatch, right?
@@ -37,8 +37,8 @@ def arguments | |||
|
|||
# make an argument for including optional end use subcategories | |||
arg = OpenStudio::Measure::OSArgument::makeBoolArgument("include_enduse_subcategories", true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe change argument name to "disaggregate_interior_equipment" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I intentionally left it so that no changes to buildstockbatch would need to be made. Perhaps though we shouldn't take the easy road.
report_sim_output(runner, "net_site_electricity_kwh", electricity.total_end_uses[0] - electricity.photovoltaics[0], "GJ", elec_site_units) | ||
unless include_enduse_subcategories | ||
report_sim_output(runner, "total_site_electricity_kwh", electricity.total_end_uses[0], "GJ", elec_site_units) | ||
report_sim_output(runner, "net_site_electricity_kwh", electricity.total_end_uses[0] + electricity.photovoltaics[0], "GJ", elec_site_units) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably don't need both net_site_electricity_kwh and total_site_electricity_kwh.
And, we probably want total_site_electricity_kwh, regardless of include_enduse_subcategories is true or false.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We talked. We decided to:
- Remove all the net site columns
- Leave total columns for both true and false
- Total columns become net of pv
- Change the default from false to true
The only difference between false and true is that interior equipment is replaced with each of its components.
@rajeee You good with this now? |
@@ -649,19 +648,16 @@ def fuel_oil(sql_file, ann_env_pd) | |||
|
|||
fuelOilHeating = add_unit(sql_file, fuelOilHeating, units_represented, "SELECT VariableValue/1000000000 FROM ReportMeterData WHERE ReportMeterDataDictionaryIndex IN (SELECT ReportMeterDataDictionaryIndex FROM ReportMeterDataDictionary WHERE VariableType='Sum' AND VariableName IN ('#{unit_name}:FUELOILHEATING') AND ReportingFrequency='#{@reporting_frequency_eplus}' AND VariableUnits='J') AND TimeIndex IN (SELECT TimeIndex FROM Time WHERE EnvironmentPeriodIndex='#{env_period_ix}')") | |||
centralFuelOilHeating = apportion_central(centralFuelOilHeating, modeledCentralFuelOilHeating, units_represented, units.length) | |||
fuelOilInteriorEquipment = add_unit(sql_file, fuelOilInteriorEquipment, units_represented, "SELECT VariableValue/1000000000 FROM ReportMeterData WHERE ReportMeterDataDictionaryIndex IN (SELECT ReportMeterDataDictionaryIndex FROM ReportMeterDataDictionary WHERE VariableType='Sum' AND VariableName IN ('#{unit_name}:FUELOILINTERIOREQUIPMENT') AND ReportingFrequency='#{@reporting_frequency_eplus}' AND VariableUnits='J') AND TimeIndex IN (SELECT TimeIndex FROM Time WHERE EnvironmentPeriodIndex='#{env_period_ix}')") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is fuelOilInteriorEquipment removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't model any interior equipment that consumes fuel oil.
abe59f87e Add schedule args for refrigerator, range. f8afa69be Merge branch 'master' into build-res-hpxml-v3 036948c90 Merge pull request #408 from NREL/appl-schedules 2905a5c22 Clarify that elements are on the CookingRange, not Oven, element. [ci skip] 7f7a9a5c3 Small update to docs. [ci skip] 12728f67d Update docs for optional schedules. 402655e73 Update epvalidator for optional schedules. a3ca8fdfb Remove hardcoded schedules for refrigerator, cooking range. 65f888e71 Default refrigerator, cooking range schedules. bd0821073 Add schedule fracs and mults to refrigerator, cooking range classes. a5392f2e0 Merge pull request #405 from NREL/cleanup_sample_files 4b8caa56d Merge branch 'master' of https://github.com/NREL/OpenStudio-HPXML into cleanup_sample_files 0459c7238 Merge pull request #406 from NREL/conditioned_ducts_lto_warning 88208ff0f Update test. b1d5070d0 Adds a warning if a HVACDistribution system has ducts entirely within conditioned space and non-zero leakage to the outside. 415dc76f8 Merge branch 'master' of https://github.com/NREL/OpenStudio-HPXML into cleanup_sample_files 354755974 Cleanup sample files. fd3526eda Merge pull request #403 from NREL/hp_defrost_control d5474a4bd Changes heat pump defrost control from OnDemand to Timed. git-subtree-dir: resources/hpxml-measures git-subtree-split: abe59f87e214dea8c1a4a0b34365520aba0c353b
Addresses #403.
Pull Request Description
include_enduse_subcategories
from false to trueChecklist
Not all may apply:
project_testing
project_testing
runs without any failuresFor more information on how to perform these checklist items, see the documentation's Advanced Tutorial.