@@ -3440,7 +3440,7 @@ def arguments(model) # rubocop:disable Lint/UnusedMethodArgument
3440
3440
# @param model [OpenStudio::Model::Model] OpenStudio Model object
3441
3441
# @param runner [OpenStudio::Measure::OSRunner] OpenStudio Runner object
3442
3442
# @param user_arguments [OpenStudio::Measure::OSArgumentMap] OpenStudio measure arguments
3443
- # @return [Boolean] TODO
3443
+ # @return [Boolean] true if successful
3444
3444
def run ( model , runner , user_arguments )
3445
3445
super ( model , runner , user_arguments )
3446
3446
@@ -3982,7 +3982,7 @@ def self.unavailable_period_exists(hpxml, column_name, begin_month, begin_day, b
3982
3982
# @param runner [OpenStudio::Measure::OSRunner] OpenStudio Runner object
3983
3983
# @param hpxml [HPXML] HPXML object
3984
3984
# @param args [Hash] Map of :argument_name => value
3985
- # @return [Boolean] TODO
3985
+ # @return [Boolean] true if no errors, otherwise false
3986
3986
def self . set_header ( runner , hpxml , args )
3987
3987
errors = [ ]
3988
3988
@@ -4647,7 +4647,7 @@ def self.set_air_infiltration_measurements(hpxml_bldg, args)
4647
4647
#
4648
4648
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
4649
4649
# @param args [Hash] Map of :argument_name => value
4650
- # @param sorted_surfaces [TODO] TODO
4650
+ # @param sorted_surfaces [Array<OpenStudio::Model::Surface>] surfaces sorted by deterministically assigned Index
4651
4651
def self . set_roofs ( hpxml_bldg , args , sorted_surfaces )
4652
4652
args [ :geometry_roof_pitch ] *= 12.0
4653
4653
if ( args [ :geometry_attic_type ] == HPXML ::AtticTypeFlatRoof ) || ( args [ :geometry_attic_type ] == HPXML ::AtticTypeBelowApartment )
@@ -4695,7 +4695,7 @@ def self.set_roofs(hpxml_bldg, args, sorted_surfaces)
4695
4695
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
4696
4696
# @param model [OpenStudio::Model::Model] OpenStudio Model object
4697
4697
# @param args [Hash] Map of :argument_name => value
4698
- # @param sorted_surfaces [TODO] TODO
4698
+ # @param sorted_surfaces [Array<OpenStudio::Model::Surface>] surfaces sorted by deterministically assigned Index
4699
4699
def self . set_rim_joists ( hpxml_bldg , model , args , sorted_surfaces )
4700
4700
sorted_surfaces . each do |surface |
4701
4701
next if surface . surfaceType != 'Wall'
@@ -4757,7 +4757,7 @@ def self.set_rim_joists(hpxml_bldg, model, args, sorted_surfaces)
4757
4757
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
4758
4758
# @param model [OpenStudio::Model::Model] OpenStudio Model object
4759
4759
# @param args [Hash] Map of :argument_name => value
4760
- # @param sorted_surfaces [TODO] TODO
4760
+ # @param sorted_surfaces [Array<OpenStudio::Model::Surface>] surfaces sorted by deterministically assigned Index
4761
4761
def self . set_walls ( hpxml_bldg , model , args , sorted_surfaces )
4762
4762
sorted_surfaces . each do |surface |
4763
4763
next if surface . surfaceType != 'Wall'
@@ -4850,7 +4850,7 @@ def self.set_walls(hpxml_bldg, model, args, sorted_surfaces)
4850
4850
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
4851
4851
# @param model [OpenStudio::Model::Model] OpenStudio Model object
4852
4852
# @param args [Hash] Map of :argument_name => value
4853
- # @param sorted_surfaces [TODO] TODO
4853
+ # @param sorted_surfaces [Array<OpenStudio::Model::Surface>] surfaces sorted by deterministically assigned Index
4854
4854
def self . set_foundation_walls ( hpxml_bldg , model , args , sorted_surfaces )
4855
4855
sorted_surfaces . each do |surface |
4856
4856
next if surface . surfaceType != 'Wall'
@@ -4936,7 +4936,7 @@ def self.set_foundation_walls(hpxml_bldg, model, args, sorted_surfaces)
4936
4936
#
4937
4937
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
4938
4938
# @param args [Hash] Map of :argument_name => value
4939
- # @param sorted_surfaces [TODO] TODO
4939
+ # @param sorted_surfaces [Array<OpenStudio::Model::Surface>] surfaces sorted by deterministically assigned Index
4940
4940
def self . set_floors ( hpxml_bldg , args , sorted_surfaces )
4941
4941
if [ HPXML ::FoundationTypeBasementConditioned ,
4942
4942
HPXML ::FoundationTypeCrawlspaceConditioned ] . include? ( args [ :geometry_foundation_type ] ) && ( args [ :floor_over_foundation_assembly_r ] > 2.1 )
@@ -5018,7 +5018,7 @@ def self.set_floors(hpxml_bldg, args, sorted_surfaces)
5018
5018
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
5019
5019
# @param model [OpenStudio::Model::Model] OpenStudio Model object
5020
5020
# @param args [Hash] Map of :argument_name => value
5021
- # @param sorted_surfaces [TODO] TODO
5021
+ # @param sorted_surfaces [Array<OpenStudio::Model::Surface>] surfaces sorted by deterministically assigned Index
5022
5022
def self . set_slabs ( hpxml_bldg , model , args , sorted_surfaces )
5023
5023
sorted_surfaces . each do |surface |
5024
5024
next unless [ 'Foundation' ] . include? surface . outsideBoundaryCondition
@@ -5088,7 +5088,7 @@ def self.set_slabs(hpxml_bldg, model, args, sorted_surfaces)
5088
5088
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
5089
5089
# @param model [OpenStudio::Model::Model] OpenStudio Model object
5090
5090
# @param args [Hash] Map of :argument_name => value
5091
- # @param sorted_surfaces [TODO] TODO
5091
+ # @param sorted_subsurfaces [Array<OpenStudio::Model::SubSurface>] subsurfaces sorted by deterministically assigned Index
5092
5092
def self . set_windows ( hpxml_bldg , model , args , sorted_subsurfaces )
5093
5093
sorted_subsurfaces . each do |sub_surface |
5094
5094
next if sub_surface . subSurfaceType != 'FixedWindow'
@@ -5164,7 +5164,7 @@ def self.set_windows(hpxml_bldg, model, args, sorted_subsurfaces)
5164
5164
#
5165
5165
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
5166
5166
# @param args [Hash] Map of :argument_name => value
5167
- # @param sorted_subsurfaces [TODO] TODO
5167
+ # @param sorted_subsurfaces [Array<OpenStudio::Model::SubSurface>] subsurfaces sorted by deterministically assigned Index
5168
5168
def self . set_skylights ( hpxml_bldg , args , sorted_subsurfaces )
5169
5169
sorted_subsurfaces . each do |sub_surface |
5170
5170
next if sub_surface . subSurfaceType != 'Skylight'
@@ -5204,7 +5204,7 @@ def self.set_skylights(hpxml_bldg, args, sorted_subsurfaces)
5204
5204
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
5205
5205
# @param model [OpenStudio::Model::Model] OpenStudio Model object
5206
5206
# @param args [Hash] Map of :argument_name => value
5207
- # @param sorted_subsurfaces [TODO] TODO
5207
+ # @param sorted_subsurfaces [Array<OpenStudio::Model::SubSurface>] subsurfaces sorted by deterministically assigned Index
5208
5208
def self . set_doors ( hpxml_bldg , model , args , sorted_subsurfaces )
5209
5209
sorted_subsurfaces . each do |sub_surface |
5210
5210
next if sub_surface . subSurfaceType != 'Door'
@@ -5912,11 +5912,11 @@ def self.set_duct_leakages(args, hvac_distribution)
5912
5912
duct_leakage_total_or_to_outside : HPXML ::DuctLeakageToOutside )
5913
5913
end
5914
5914
5915
- # Get the specific HPXML location based on general location and foundation/ attic type
5915
+ # Get the specific HPXML foundation or attic location based on general HPXML location and specific HPXML foundation or attic type.
5916
5916
#
5917
- # @param location [TODO] TODO
5918
- # @param foundation_type [TODO] TODO
5919
- # @param attic_type [TODO] TODO
5917
+ # @param location [String] the general HPXML location (crawlspace or attic)
5918
+ # @param foundation_type [String] the specific HPXML foundation type (unvented crawlspace, vented crawlspace, conditioned crawlspace)
5919
+ # @param attic_type [String] the specific HPXML attic type (unvented attic, vented attic, conditioned attic)
5920
5920
def self . get_location ( location , foundation_type , attic_type )
5921
5921
return if location . nil?
5922
5922
@@ -5952,7 +5952,7 @@ def self.get_location(location, foundation_type, attic_type)
5952
5952
#
5953
5953
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
5954
5954
# @param args [Hash] Map of :argument_name => value
5955
- # @param hvac_distribution [TODO] TODO
5955
+ # @param hvac_distribution [HPXML::HVACDistribution] HPXML HVAC Distribution object
5956
5956
def self . set_ducts ( hpxml_bldg , args , hvac_distribution )
5957
5957
ducts_supply_location = get_location ( args [ :ducts_supply_location ] , hpxml_bldg . foundations [ -1 ] . foundation_type , hpxml_bldg . attics [ -1 ] . attic_type )
5958
5958
ducts_return_location = get_location ( args [ :ducts_return_location ] , hpxml_bldg . foundations [ -1 ] . foundation_type , hpxml_bldg . attics [ -1 ] . attic_type )
@@ -6069,7 +6069,7 @@ def self.set_ducts(hpxml_bldg, args, hvac_distribution)
6069
6069
# @param hpxml [HPXML] HPXML object
6070
6070
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
6071
6071
# @param args [Hash] Map of :argument_name => value
6072
- # @param epw_file [OpenStudio::EpwFile] TODO
6072
+ # @param epw_file [OpenStudio::EpwFile] OpenStudio EpwFile object
6073
6073
# @param weather [WeatherProcess] Weather object
6074
6074
def self . set_hvac_control ( hpxml , hpxml_bldg , args , epw_file , weather )
6075
6075
return if ( args [ :heating_system_type ] == 'none' ) && ( args [ :cooling_system_type ] == 'none' ) && ( args [ :heat_pump_type ] == 'none' )
@@ -6488,7 +6488,7 @@ def self.set_water_fixtures(hpxml_bldg, args)
6488
6488
#
6489
6489
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
6490
6490
# @param args [Hash] Map of :argument_name => value
6491
- # @param epw_file [OpenStudio::EpwFile] TODO
6491
+ # @param epw_file [OpenStudio::EpwFile] OpenStudio EpwFile object
6492
6492
def self . set_solar_thermal ( hpxml_bldg , args , epw_file )
6493
6493
return if args [ :solar_thermal_system_type ] == 'none'
6494
6494
@@ -6537,7 +6537,7 @@ def self.set_solar_thermal(hpxml_bldg, args, epw_file)
6537
6537
#
6538
6538
# @param hpxml_bldg [HPXML::Building] HPXML Building object representing an individual dwelling unit
6539
6539
# @param args [Hash] Map of :argument_name => value
6540
- # @param epw_file [OpenStudio::EpwFile] TODO
6540
+ # @param epw_file [OpenStudio::EpwFile] OpenStudio EpwFile object
6541
6541
def self . set_pv_systems ( hpxml_bldg , args , epw_file )
6542
6542
return unless args [ :pv_system_present ]
6543
6543
0 commit comments