honeybee_energy.lib.programtypes module

Collection of program types.

honeybee_energy.lib.programtypes.building_program_type_by_identifier(building_type)[source]

Get a program_type representing the program mix of a building_type.

Parameters

building_type – A text string for the type of building. This must appear under the BUILDING_TYPES constant of this module.

honeybee_energy.lib.programtypes.lib_dict_abridged_to_program_type(program_dict, schedules)[source]

Get a Python object of a ProgramType from an abridged dictionary.

When the sub-objects needed to create the program type are not available in the resources provided, the current standards library will be searched.

Parameters
  • program_dict – An abridged dictionary of a Honeybee ProgramType.

  • schedules – Dictionary of all schedule objects that might be used in the construction set with the schedule identifiers as the keys.

Returns

A Python object derived from the input program_dict.

honeybee_energy.lib.programtypes.program_type_by_identifier(program_type_identifier)[source]

Get a program_type from the library given its identifier.

Parameters

program_type_identifier – A text string for the identifier of the ProgramType.