Method: EnergyPlus::StatFile#meanDB

Defined in:
lib/energyplus/StatFile.rb

#meanDBObject

the mean of the mean monthly dry bulbs



58
59
60
61
62
63
64
65
66
67
# File 'lib/energyplus/StatFile.rb', line 58

def meanDB
  if not @monthlyDB.empty? then
    thisSum = 0
    @monthlyDB.each { |db| thisSum += db }
    thisMean = thisSum/@monthlyDB.size
  else
    thisMean = ""
  end
  return thisMean
end