Run Daylight Simulation - [source code]
export geometries to rad file, and run daylighting/energy simulation -
Inputs
HBObjects [Required]
List of Honeybee objectsanalysisRecipe [Required]
An analysis recipewriteRad [Required]
Write simulation filesrunRad [Optional]
Run the analysis. _writeRad should be also set to true. Set to 2 if you want the analysis to run in background. This option is useful for parametric runs when you don't want to see command shells.numOfCPUs [Default]
Number of CPUs to be used for the studies. This option doesn't work for image-based analysisworkingDir [Default]
Working directory on your system. Default is set to C:\LadybugradFileName [Default]
Input the project name as a stringmeshSettings [Optional]
Custom mesh setting. Use Grasshopper mesh setting componentsexportAirWalls [Optional]
Set to True if you want to export air walls as surfaces and False if you don't want air walls be exported. The default is set to False.additionalRadFiles [Optional]
A list of fullpath to valid radiance files which will be added to the sceneoverwriteResults [Optional]
Set to False if you want the component create a copy of all the results. Default is True
Outputs
readMe!
...analysisType
Type of the analysis (e.g. illuminance, luminance,...)resultsUnit
Unit of the results (e.g. lux, candela, wh/m2)results
Path to the results of grid based analysis (includes all the recipes except image-based and annual)testPts
Test pointsresultFiles
Script variable runDaylightAnalysisradGeoFile
Script variable runDaylightAnalysisstudyFolder
Script variable runDaylightAnalysisdone
True if the study is over