Skip to content

Commit

Permalink
Fixes for Ventilation Schedules on Systems 6 and 8
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Feb 20, 2019
1 parent 2475575 commit ec16e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/Honeybee_Export To OpenStudio.py
Expand Up @@ -71,7 +71,7 @@

ghenv.Component.Name = "Honeybee_Export To OpenStudio"
ghenv.Component.NickName = 'exportToOpenStudio'
ghenv.Component.Message = 'VER 0.0.64\nFEB_14_2019'
ghenv.Component.Message = 'VER 0.0.64\nFEB_20_2019'
ghenv.Component.IconDisplayMode = ghenv.Component.IconDisplayMode.application
ghenv.Component.Category = "Honeybee"
ghenv.Component.SubCategory = "10 | Energy | Energy"
Expand Down Expand Up @@ -1480,7 +1480,7 @@ def createPrimaryAirLoop(self, airType, model, thermalZones, hbZones, airDetails
sizingSystem.setTypeofLoadtoSizeOn("Sensible") #VAV
sizingSystem.setAllOutdoorAirinCooling(False) #VAV
sizingSystem.setAllOutdoorAirinHeating(False) #VAV
if airDetails.recirculation == 'False':
if airDetails != None and airDetails.recirculation == 'False':
self.setAirLoopToOnceThroughAir(airloopPrimary, model)

airLoopComps = []
Expand Down Expand Up @@ -2819,10 +2819,6 @@ def addSystemsToZones(self, model):
vavBox.autosizeMaximumAirFlowRate()
vavBox.resetMinimumAirFlowFractionSchedule()

# If there are any ventilation schedules specified, then set the VAV Box to follow them.
if hbZones[zoneCount].ventilationSched != '':
self.applyVentilationSched(model, hbZones[zoneCount], vavBox, zoneTotAir)

if hbZones[zoneCount].humidityMin != '':
humidTrigger = True
self.adjustElectricReheatCoil(model, vavBox, heatingDetails)
Expand Down Expand Up @@ -2996,10 +2992,6 @@ def addSystemsToZones(self, model):
vavBox.autosizeMaximumAirFlowRate()
vavBox.resetMinimumAirFlowFractionSchedule()

# If there are any ventilation schedules specified, then set the VAV Box to follow them.
if hbZones[zoneCount].ventilationSched != '':
self.applyVentilationSched(model, hbZones[zoneCount], vavBox, zoneTotAir)

if hbZones[zoneCount].humidityMax != '':
dehumidTrigger = True
if hbZones[zoneCount].humidityMin != '':
Expand Down
Binary file modified userObjects/Honeybee_Export To OpenStudio.ghuser
Binary file not shown.

0 comments on commit ec16e43

Please sign in to comment.