input

InputData folder

MaterialTemplates.xml

Collection of different materials with properties (currently in German)

TypeBuildingElements.xml

Collection of typical wall construction for residential buildings (currently in German)

UseConditions.xml

Collection of boundary conditions (DIN 18599, SIA2024, AHU from AixLib) (currently in German)

boundcond_input

boundcond_input.py

This module contains function to load boundary conditions classes

teaser.data.input.boundcond_input.load_boundary_conditions(bound_cond, zone_usage, data_class)

load use conditions according to DIN 18599 and SIA2024

loads Use conditions specified in the XML, according to DIN 18599, SIA2024 in addition some AixLib specific use conditions for central AHU are defined.

Parameters:

bound_cond : BoundaryConditions()

Instance of TEASERs BuildingObjects.BoundaryConditions.BoundaryConditions

zone_usage : str

code list for zone_usage according to 18599

data_class : DataClass()

DataClass containing the bindings for TypeBuildingElement and Material (typically this is the data class stored in prj.data, but the user can individually change that.

buildingelement_input

buildingelement_input.py

This module contains function to load building element classes

teaser.data.input.buildingelement_input.load_type_element(element, year, construction, data_class)

Typical element loader.

Loads typical building elements according to their construction year and their construction type from a XML. The elements are created by using IWU building characteristics combined with normative material data.

This function will only work if the parents to Building are set.

Parameters:

element : BuildingElement()

Instance of BuildingElement or inherited Element of TEASER

year : int

Year of construction

construction : str

Construction type, code list (‘heavy’, ‘light’)

data_class : DataClass()

DataClass containing the bindings for TypeBuildingElement and Material (typically this is the data class stored in prj.data, but the user can individually change that.

material_input

material_input.py

This module contains function to load material classes

teaser.data.input.material_input.load_material(material, mat_name, data_class)

Material loader.

Loads Material specified in the XML.

Parameters:

material : Material()

instance of TEASERS Material class

mat_name : str

Code list for Material

data_class : DataClass()

DataClass containing the bindings for TypeBuildingElement and Material (typically this is the data class stored in prj.data, but the user can individually change that.

teaser.data.input.material_input.load_material_id(material, mat_id, data_class)

Material loader by id.

Loads Material specified in the XML by given material_id.

Parameters:

material : Material()

instance of TEASERS Material class

mat_id : name

id of material from XML

data_class : DataClass()

DataClass containing the bindings for TypeBuildingElement and Material (typically this is the data class stored in prj.data, but the user can individually change that.

TeaserXML_input

TeaserXML_input

This module contains function to load Projects in the proprietary TEASER file format .tXML

teaser.data.input.teaserxml_input.load_teaser_xml(path, prj)

This function loads a project from teaserXML

TEASERs internal file format to store information.

Parameters:

path: string

path of teaserXML file

project: Project()

Teaser instance of Project()

teaser.data.input.teaserxml_input.set_basic_data_teaser(pyxb_class, element)

Helper function for load_teaser_xml to set the basic data

Parameters:

pyxb_class : PyXBClass

pyxb class represantation of xml

element : TEASERClass

teaser class representation of a building element

teaser.data.input.teaserxml_input.set_layer_data_teaser(pyxb_class, element)

Helper function for load_teaser_xml to set the layer data

Parameters:

pyxb_class : PyXBClass

pyxb class represantation of xml

element : TEASERClass

teaser class representation of a building element