Skip to content

Commit

Permalink
Correction to previous bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Jun 7, 2019
1 parent e66cfc5 commit 25a902b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 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\nJUN_01_2019'
ghenv.Component.Message = 'VER 0.0.64\nJUN_06_2019'
ghenv.Component.IconDisplayMode = ghenv.Component.IconDisplayMode.application
ghenv.Component.Category = "Honeybee"
ghenv.Component.SubCategory = "10 | Energy | Energy"
Expand Down Expand Up @@ -203,8 +203,10 @@ def setSimulationControls(self, model):
simControl.setDoPlantSizingCalculation(simulationControls[2])
simControl.setRunSimulationforSizingPeriods(simulationControls[3])
simControl.setRunSimulationforWeatherFileRunPeriods(simulationControls[4])
simControl.setMaximumNumberofWarmupDays(simulationControls[5])
simControl.setMinimumNumberofWarmupDays(simulationControls[6])
if simulationControls[5] != '':
simControl.setMaximumNumberofWarmupDays(simulationControls[5])
if simulationControls[6] != '':
simControl.setMinimumNumberofWarmupDays(simulationControls[6])

simControl.setSolarDistribution(solarDist)

Expand Down
Binary file modified userObjects/Honeybee_Export To OpenStudio.ghuser
Binary file not shown.

0 comments on commit 25a902b

Please sign in to comment.