honeybee_radiance.postprocess.annual module

Shared functions for post-processing annual results.

honeybee_radiance.postprocess.annual.filter_schedule_by_hours(sun_up_hours, schedule=None)[source]

Filter an annual schedule based on sun up hours.

Parameters
  • sun_up_hours – A list of sun up hours as integers.

  • schedule – A list of 8760 values for the occupancy schedule.

Returns

A tuple with two values.

occ_pattern – A filtered version of the annual schedule that only

includes the sun-up-hours.

total_hours – An integer for the total occupied hours of the schedule.

sun_down_occ_hours – An integer for the number of occupied hours where

the sun is down and there’s no possibility of being daylit or expereincing glare.

honeybee_radiance.postprocess.annual.generate_default_schedule(weekday=None, weekend=None)[source]

Create a list of 8760 values based on a daily schedule for weekend and weekday.

Parameters
  • weekday – A list of 24 values for each hour of a weekday. The values can be 0 or 1.

  • weekend – A list of 24 values for each hour of a weekend day. The values can be 0 or 1.

Returns

List – A list of 8760 values for the year.

honeybee_radiance.postprocess.annual.remove_header(input_file)[source]

Remove the header text from a Radiance matrix file.