honeybee_openstudio.construction module

OpenStudio construction translators.

honeybee_openstudio.construction.air_construction_from_openstudio(os_construction, schedules=None)[source]

Convert OpenStudio ConstructionAirBoundary to Honeybee AirBoundaryConstruction.

honeybee_openstudio.construction.air_construction_to_openstudio(construction, os_model)[source]

Convert Honeybee AirBoundaryConstruction to OpenStudio ConstructionAirBoundary.

honeybee_openstudio.construction.air_mixing_to_openstudio(face, target_zone, source_zone, os_model)[source]

Convert Honeybee AirBoundaryConstruction to OpenStudio ZoneMixing.

Parameters:
  • face – A honeybee Face that has an AirBoundary face type.

  • target_zone – The OpenStudio ThermalZone for the target of air mixing.

  • source_zone – The OpenStudio ThermalZone for the source of air mixing.

  • os_model – The OpenStudio Model to which the zone mixing is being added.

honeybee_openstudio.construction.construction_to_openstudio(construction, os_model)[source]

Convert any Honeybee energy construction into an OpenStudio object.

Parameters:
  • construction – A honeybee-energy Python object of a construction.

  • os_model – The OpenStudio Model object to which the Room will be added.

Returns:

An OpenStudio object for the construction.

honeybee_openstudio.construction.extract_all_constructions(os_model, schedules=None)[source]

Extract all construction objects from an OpenStudio Model.

Parameters:
  • os_model – The OpenStudio Model object from which constructions will be extracted.

  • materials – An optional dictionary of schedules with schedule identifiers as keys and schedules objects as values.

Returns:

A dictionary of construction objects with construction identifiers as keys and construction objects as values.

honeybee_openstudio.construction.opaque_construction_from_openstudio(os_construction, materials)[source]

Convert OpenStudio Construction to Honeybee OpaqueConstruction.

honeybee_openstudio.construction.shade_construction_from_openstudio(os_construction)[source]

Convert OpenStudio Construction to Honeybee OpaqueConstruction.

honeybee_openstudio.construction.shade_construction_to_openstudio(construction, os_model)[source]

Convert Honeybee ShadeConstruction to OpenStudio Construction.

honeybee_openstudio.construction.standard_construction_to_openstudio(construction, os_model)[source]

Convert Honeybee OpaqueConstruction or WindowConstruction to OpenStudio.

honeybee_openstudio.construction.window_construction_from_openstudio(os_construction, materials)[source]

Convert OpenStudio Construction to Honeybee WindowConstruction.

honeybee_openstudio.construction.window_dynamic_construction_to_openstudio(construction, os_model)[source]

Convert Honeybee WindowConstructionDynamic to OpenStudio Constructions.

honeybee_openstudio.construction.window_dynamic_ems_program_to_openstudio(construction, os_sub_faces, os_model)[source]

Convert WindowConstructionDynamic to OpenStudio EnergyManagementSystemProgram.

Parameters:
  • construction – A honeybee-energy WindowConstructionDynamic for which an EnergyManagementSystemProgram will be written.

  • os_sub_faces – A list of OpenStudio SubSurface objects for all of the Apertures and Doors that have the dynamic construction assigned to them.

  • os_model – The OpenStudio Model to which the dynamic window construction is being added.

honeybee_openstudio.construction.window_shade_construction_to_openstudio(construction, os_model)[source]

Convert Honeybee WindowConstructionShade to OpenStudio Constructions.

honeybee_openstudio.construction.window_shading_control_to_openstudio(construction, os_model)[source]

Convert Honeybee WindowConstructionShade to OpenStudio ShadingControl.

Each Aperture or Door that has a WindowConstructionShade assigned to it will have to call this method and then add the shading control to the OpenStudio SubSurface using the setShadingControl method.