Skip to content

Commit

Permalink
Bugfix in HVAC Availability
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Aug 28, 2017
1 parent 5ac525c commit 5d1689d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Honeybee_ Run Energy Simulation.py
Expand Up @@ -61,7 +61,7 @@
"""
ghenv.Component.Name = "Honeybee_ Run Energy Simulation"
ghenv.Component.NickName = 'runEnergySimulation'
ghenv.Component.Message = 'VER 0.0.62\nJUL_28_2017'
ghenv.Component.Message = 'VER 0.0.62\nAUG_28_2017'
ghenv.Component.IconDisplayMode = ghenv.Component.IconDisplayMode.application
ghenv.Component.Category = "Honeybee"
ghenv.Component.SubCategory = "10 | Energy | Energy"
Expand Down Expand Up @@ -2170,13 +2170,13 @@ def extracttimeperiod(simulationOutputs):
if zone.isConditioned:
needToWriteAlwaysSched = True
if zone.HVACSystem.airDetails != None:
if zone.HVACSystem.airDetails.HVACAvailabiltySched != 'ALWAYS ON':
if zone.HVACSystem.airDetails.HVACAvailabiltySched != 'ALWAYS ON' and zone.HVACSystem.airDetails.HVACAvailabiltySched not in EPScheduleCollection:
EPScheduleCollection.append(zone.HVACSystem.airDetails.HVACAvailabiltySched)
if zone.HVACSystem.heatingDetails != None:
if zone.HVACSystem.heatingDetails.heatingAvailSched != 'ALWAYS ON':
if zone.HVACSystem.heatingDetails.heatingAvailSched != 'ALWAYS ON' and zone.HVACSystem.heatingDetails.heatingAvailSched not in EPScheduleCollection:
EPScheduleCollection.append(zone.HVACSystem.heatingDetails.heatingAvailSched)
if zone.HVACSystem.coolingDetails != None:
if zone.HVACSystem.coolingDetails.coolingAvailSched != 'ALWAYS ON':
if zone.HVACSystem.coolingDetails.coolingAvailSched != 'ALWAYS ON' and zone.HVACSystem.coolingDetails.coolingAvailSched not in EPScheduleCollection:
EPScheduleCollection.append(zone.HVACSystem.coolingDetails.coolingAvailSched)
if needToWriteAlwaysSched == True and 'ALWAYS ON' not in EPScheduleCollection: EPScheduleCollection.append('ALWAYS ON')

Expand Down
Binary file modified userObjects/Honeybee_ Run Energy Simulation.ghuser
Binary file not shown.

0 comments on commit 5d1689d

Please sign in to comment.