I’m working on a daylight analysis project where I need to run a Useful Daylight Illuminance (UDI) simulation for a specific period (June to August) rather than the entire year.
What’s the best way to set up the duration of the analysis period in Honeybee/Ladybug for UDI calculations?
I am attaching my script for everyone’s reference. Thank you in advance for any guidance!
You can create an occupancy schedule where you change the values for the analysis period. You can change the values for each day in “HB Weekly Schedule” so that it fits your desired occupancy schedule.
thank you mikkel! it works!
Just a further question, in the ConstantSchedule tool, you input 0 to the ‘_values’, what does it mean and affect the final result?
UDI calculates the occupied portion in the occupancy schedule. Whether a section is occupied or not is represented by 1 and 0. If a certain time slot is set to 1 at a certain moment, it indicates that the current time is occupied. When set to 0, there will be no occupation.This is explained in the relevant description of the Schedule section of the Annual Daylight component.
An annual occupancy schedule, either as a Ladybug Hourly Continuous Data Collection or a HB-Energy schedule object. This can also be the path to a CSV file with 8760 rows or the identifier of a schedule in the honeybee-energy schedule library. Any value in this schedule that is 0.1 or above will be considered occupied. If not provided, a default schedule that runs from 8 AM to 5 PM on weekdays will be used.