Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

Your assessment is correct: if you add daylighting controls to an OpenStudio but do not include the Radiance Measure, the daylighting will be done using EnergyPlus' internal daylighting calculations.

So in order to do the analysis you want (daylighting vs. no daylighting), some options are:

  1. Write a Measure to add daylighting controls (or use this Measure)
  2. Add the daylighting controls by hand, and write a simple Measure to set the fraction of lighting for each zone controlled by daylighting controls to zero. Add this Measure to PAT. Here is the basic code you'd need:

model.getThermalZones.each do |zone| zone.setFractionofZoneControlledbyPrimaryDaylightingControl(0) zone.setFractionofZoneControlledbySecondaryDaylightingControl(0) end

Your assessment is correct: if you add daylighting controls to an OpenStudio but do not include the Radiance Measure, the daylighting will be done using EnergyPlus' internal daylighting calculations.

So in order to do the analysis you want (daylighting vs. no daylighting), some options are:

  1. Write a Measure to add daylighting controls (or use this Measure)
  2. Add the daylighting controls by hand, and write a simple Measure to set the fraction of lighting for each zone controlled by daylighting controls to zero. Add this Measure to PAT. Here is the basic code you'd need:

`

 model.getThermalZones.each do |zone|
      zone.setFractionofZoneControlledbyPrimaryDaylightingControl(0)
      zone.setFractionofZoneControlledbySecondaryDaylightingControl(0)
 end