First time here? Check out the Help page!
1 | initial version |
@Kent Beason if you are are interested in writing a measure to calculate construction properties pre-simulation, here is a code snippit that loops through an alphabetically sorted list of opaque constructions that are used on at least one surface in the model and lists the thermal conductance in IP units. You could of course show any units you want.
The construction methods I used are from this page. There is also for example a method for construction.uFactor you could use on non-opaque constructions.
# loop through constructions
model.getConstructions.sort.each do |construction|
next if construction.getNetArea == 0
next if construction.isFenestration
conductance_si = construction.thermalConductance
if conductance_si.is_initialized
conductance_ip = OpenStudio::convert(conductance_si.get,"m^2*K/W", "ft^2*h*R/Btu").get
conductance_ip_neat = "#{OpenStudio::toNeatString(conductance_ip,2,true)} (ft^2*h*R/Btu)"
runner.registerInfo("#{construction.name} has a thermal conductance of #{conductance_ip_neat}.")
else
runner.registerInfo("Can't determine thermal conductance for #{construction.name}.")
end
end