First time here? Check out the Help page!
1 | initial version |
Your questions is for Energyplus, but if you use OpenStudio you can use the following script to get the total heat capacity for all the surfaces in your model as long as you hard assigned the constructions (eg. did not use space types to assign a construction set):
model_surfaces = model.getPlanarSurfaces
building_mass = 0
model_surfaces.each do |surface|
if not surface.heatCapacity.empty?
puts surface.heatCapacity.get
building_mass += surface.heatCapacity.get
end
end
puts building_mass
2 | No.2 Revision |
Your questions is for Energyplus, but if you use OpenStudio you can use the following script to get the total heat capacity for all the surfaces in your model as long as you hard assigned the constructions (eg. did not use space types to assign a construction set):
model_surfaces = model.getPlanarSurfaces
building_mass = 0
model_surfaces.each do |surface|
if not surface.heatCapacity.empty?
puts surface.heatCapacity.get
building_mass += surface.heatCapacity.get
end
end
puts building_mass