Class: UserDataCSVZoneHvac

Inherits:
UserDataCSV show all
Defined in:
lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/ashrae_90_1_prm.UserData.rb

Instance Attribute Summary

Attributes inherited from UserDataCSV

#file_name

Instance Method Summary collapse

Methods inherited from UserDataCSV

#write_csv

Constructor Details

#initialize(model, save_dir) ⇒ UserDataCSVZoneHvac

user data userdata_zone_hvac

Parameters:

  • model (OpenStudio::Model::Model)
  • save_dir (String)

    directory to save user data files



113
114
115
116
117
# File 'lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/ashrae_90_1_prm.UserData.rb', line 113

def initialize(model, save_dir)
  super
  @component_name = 'ZoneHVACComponents'
  @file_name = UserDataFiles::ZONE_HVAC
end

Instance Method Details

#write_default_rows(component) ⇒ Object



119
120
121
122
# File 'lib/openstudio-standards/standards/ashrae_90_1_prm/userdata_csv/ashrae_90_1_prm.UserData.rb', line 119

def write_default_rows(component)
  # @todo we can do more here but right now, keep everything unchecked.
  return Array.new(@headers.length - 1, '')
end