3.0
add_daylight_sensors
62babdc7-c81e-4dfd-96e8-af1628a55167
1854603f-d101-42fc-98b3-18c8763d843e
20230602T151915Z
0AC58119
AddDaylightSensors
Add Daylight Sensor at the Center of Spaces with a Specified Space Type Assigned
This measure will add daylighting controls to spaces that that have space types assigned with names containing the string in the argument. You can also add a cost per space for sensors added to the model.
Make an array of the spaces that meet the criteria. Locate the sensor x and y values by averaging the min and max X and Y values from floor surfaces in the space. If a space already has a daylighting control, do not add a new one and leave the original in place. Warn the user if the space isn't assigned to a thermal zone, or if the space doesn't have any translucent surfaces. Note that the cost is added to the space not the sensor. If the sensor is removed at a later date, the cost will remain.
space_type
Add Daylight Sensors to Spaces of This Space Type
Choice
true
false
setpoint
Daylighting Setpoint
Double
fc
true
false
45
control_type
Daylighting Control Type
Choice
true
false
Continuous/Off
None
None
Continuous
Continuous
Stepped
Stepped
Continuous/Off
Continuous/Off
min_power_fraction
Daylighting Minimum Input Power Fraction
min = 0 max = 0.6
Double
true
false
0.3
min_light_fraction
Daylighting Minimum Light Output Fraction
min = 0 max = 0.6
Double
true
false
0.2
fraction_zone_controlled
Fraction of zone controlled by daylight sensors
Double
true
false
1
height
Sensor Height
Double
inches
true
false
30
material_cost
Material and Installation Costs per Space for Daylight Sensor
Double
$
true
false
0
demolition_cost
Demolition Costs per Space for Daylight Sensor
Double
$
true
false
0
years_until_costs_start
Years Until Costs Start
Integer
whole years
true
false
0
demo_cost_initial_const
Demolition Costs Occur During Initial Construction
Boolean
true
false
false
true
true
false
false
expected_life
Expected Life
Integer
whole years
true
false
20
om_cost
O & M Costs per Space for Daylight Sensor
Double
$
true
false
0
om_frequency
O & M Frequency
Integer
whole years
true
false
1
Electric Lighting.Electric Lighting Controls
Measure Type
ModelMeasure
string
Measure Function
Measure
string
Requires EnergyPlus Results
false
boolean
Uses SketchUp API
false
boolean
ModelForDaylightSensors.osm
osm
test
34D67AAA
README.md.erb
erb
readmeerb
703C9964
README.md
md
readme
F3117543
LICENSE.md
md
license
0DDDFB54
OpenStudio
2.0.0
2.0.0
measure.rb
rb
script
D8B26643
AddDaylightSensors_Test.rb
rb
test
91062DC5