honeybee_doe2.construction module¶
honeybee-inp construction translators.
- honeybee_doe2.construction.air_construction_to_inp(construction)[source]¶
Convert an AirBoundaryConstruction to a CONSTRUCTION INP string.
This translation pathway always uses a NoMass U-VALUE Construction.
- honeybee_doe2.construction.door_construction_to_inp(construction)[source]¶
Convert an OpaqueConstruction or WindowConstruction to a CONSTRUCTION INP string.
This translation pathway always uses a NoMass U-VALUE Construction.
- honeybee_doe2.construction.extract_all_constructions_from_inp_file(inp_file)[source]¶
Extract all ScheduleRuleset objects from a DOE-2 INP file.
- Parameters:
inp_file – A path to an INP file containing objects for CONSTRUCTION, LAYERS, MATERIAL, and/or GLASS-TYPE.
- Returns:
A tuple with three elements
window_constructions: A list of all WindowConstruction objects in the INP file as honeybee_energy WindowConstruction objects.
opaque_constructions: A list of all OpaqueConstruction objects in the IDF file as honeybee_energy OpaqueConstruction objects.
materials: A list of all opaque materials in the IDF file as honeybee_energy EnergyMaterial or EnergyMaterialNoMass objects.
- honeybee_doe2.construction.opaque_construction_from_inp(inp_string, layers, materials)[source]¶
Create an OpaqueConstruction from INP text strings.
- Parameters:
inp_string – A text string fully describing an EnergyPlus construction.
layers – A dictionary with U-names of layers as keys and INP strings of LAYERS objects as values.
materials – A dictionary with identifiers of materials as keys and Python material objects as values.
- honeybee_doe2.construction.opaque_construction_to_inp(construction)[source]¶
Convert an OpaqueConstruction into a CONSTRUCTION INP string.
This will include both the LAYERS definition as well as the CONSTRUCTION but it does NOT include the constituent MATERIAL definitions and their properties.
- honeybee_doe2.construction.opaque_material_from_inp(inp_string)[source]¶
Create an EnergyMaterial or EnergyMaterialNoMass from a MATERIAL INP string.
- honeybee_doe2.construction.opaque_material_to_inp(material)[source]¶
Convert an EnergyMaterial or EnergyMaterialNoMass into a MATERIAL INP string.
Note that EnergyMaterials that are below a certain thickness will be automatically converted to No Mass materials for compatibility with DOE-2. Also note that this does not work for any materials that can be a part of a window constructions.