Open Ski90Moo opened 2 years ago
To work with the case where there are none, looks like it should be
- t_radGlareSensorViews[space_name].each do |sensor, v|
+ t_radGlareSensorViews[space_name]&.each do |sensor, v|
or the same construct as this one:
or move that inside that block that starts on L1282 actually
To work with the case where there are none, looks like it should be
- t_radGlareSensorViews[space_name].each do |sensor, v| + t_radGlareSensorViews[space_name]&.each do |sensor, v|
This seems to work. It allows radiance to run without a glare sensor.
I am not sure if this is an issue, but it appears that the radiance_measure requires a glare sensor to properly execute. If the OpenStudio model does not have a glare sensor installed, it will run radiance, but it seems the information is never passed to EnergyPlus for simulation.