Class: BTAP::EQuest::LayerManager::Layer

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLayer

Returns a new instance of Layer.



2397
2398
2399
# File 'lib/openstudio-standards/btap/equest.rb', line 2397

def initialize
  @air_space = false
end

Instance Attribute Details

#air_spaceObject

Returns the value of attribute air_space.



2395
2396
2397
# File 'lib/openstudio-standards/btap/equest.rb', line 2395

def air_space
  @air_space
end

#conductivityObject

Returns the value of attribute conductivity.



2392
2393
2394
# File 'lib/openstudio-standards/btap/equest.rb', line 2392

def conductivity
  @conductivity
end

#densityObject

Returns the value of attribute density.



2393
2394
2395
# File 'lib/openstudio-standards/btap/equest.rb', line 2393

def density
  @density
end

#nameObject

Returns the value of attribute name.



2390
2391
2392
# File 'lib/openstudio-standards/btap/equest.rb', line 2390

def name
  @name
end

#resistanceObject

Returns the value of attribute resistance.



2396
2397
2398
# File 'lib/openstudio-standards/btap/equest.rb', line 2396

def resistance
  @resistance
end

#specific_heatObject

Returns the value of attribute specific_heat.



2394
2395
2396
# File 'lib/openstudio-standards/btap/equest.rb', line 2394

def specific_heat
  @specific_heat
end

#thicknessObject

Returns the value of attribute thickness.



2391
2392
2393
# File 'lib/openstudio-standards/btap/equest.rb', line 2391

def thickness
  @thickness
end

Instance Method Details

#outputObject



2411
2412
2413
# File 'lib/openstudio-standards/btap/equest.rb', line 2411

def output
  string = "Airspace = #{@air_space}\nThickness = #{@thickness}\nConductivity = #{@conductivity}\nResistance = #{@resistance}\nDensity = #{@density}\nSpecificHeat = #{@specific_heat}\n"
end

#set(thickness, conductivity, density, specific_heat) ⇒ Object



2401
2402
2403
2404
# File 'lib/openstudio-standards/btap/equest.rb', line 2401

def set( thickness, conductivity, density, specific_heat)
  @thickness, @conductivity, @density, @specific_heat =  thickness, conductivity, density, specific_heat
  @airspace = false
end

#set_air_space(thickness, resistance) ⇒ Object



2406
2407
2408
2409
# File 'lib/openstudio-standards/btap/equest.rb', line 2406

def set_air_space(thickness, resistance)
  @thickness, @resistance = thickness, resistance
  @air_space = true
end