Class: BTAP::SimManager::ProcessManager::SummaryReport

Inherits:
Object
  • Object
show all
Defined in:
lib/openstudio-standards/btap/simmanager.rb

Constant Summary collapse

End_use_report_name =

End Uses data

'AnnualBuildingUtilityPerformanceSummary'
End_use_reportForString =
'Entire Facility'
End_use_table_name =
'End Uses'
Fuel_types =
[
['Electricity', 'GJ'],
['Natural Gas', 'GJ'],
['Other Fuel', 'GJ'],
['District Cooling', 'GJ'],
['District Heating', 'GJ'],
['Water', 'm3']]
End_use_types =
[
  'Heating',
  'Cooling',
  'Interior Lighting',
  'Exterior Lighting',
  'Interior Equipment',
  'Exterior Equipment',
  'Fans',
  'Pumps',
  'Heat Rejection',
  'Humidification',
  'Heat Recovery',
  'Water Systems',
  'Refrigeration',
  'Generators'
]

Instance Method Summary collapse

Constructor Details

#initializeSummaryReport

Returns a new instance of SummaryReport.



321
322
323
324
# File 'lib/openstudio-standards/btap/simmanager.rb', line 321

def initialize()
  header = get_header()

end

Instance Method Details

#get_headerObject



305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
# File 'lib/openstudio-standards/btap/simmanager.rb', line 305

def get_header
  end_use_header_array = ""
  #Print Header
  end_use_header = end_use_header + "OSM File,"
  end_use_header = end_use_header + "SQL File,"
  end_use_header = end_use_header + "Conditioned Building Area m2,"
  end_use_header = end_use_header + "Average Wall Conductance,"
  end_use_header = end_use_header + "Average Roof Conductance,"
  #End Uses
  End_use_types.each do |end_use|
    Fuel_types.each do |fuel_type|
      end_use_header_array = end_use_header_array +  "#{end_use} #{fuel_type[0]} (#{fuel_type[1]}),"
    end
  end
end