teaser.data.input package

Subpackages

Submodules

teaser.data.input.buildingelement_input_json module

This module contains function to load building element classes.

teaser.data.input.buildingelement_input_json.load_type_element(element, year, construction, data_class)[source]

Load BuildingElement from json.

Loads typical building elements according to their construction year and their construction type from a JSON. The elements are created by using building characteristics from cite:BundesministeriumfurVerkehrBauundStadtentwicklung.26.07.2007 and [3], which is combined with normative material data from [10].

Parameters
elementBuildingElement()

Instance of BuildingElement or inherited Element of TEASER

yearint

Year of construction

constructionstr

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

data_classDataClass()

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_json module

This module contains function to load material classes.

teaser.data.input.material_input_json.load_material(material, mat_name, data_class)[source]

Material loader with name as identification.

Loads Material specified in the JSON. Sources are [6], DeutschesInstitutfurNormung.Februar2013, [11] and [12].

Parameters
materialMaterial()

instance of TEASERS Material class

mat_namestr

Code list for Material

data_classDataClass()

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_json.load_material_id(material, mat_id, data_class)[source]

Material loader with id as identification.

Loads Material specified in the JSON by given material_id.

Parameters
materialMaterial()

instance of TEASERS Material class

mat_idname

id of material from JSON

data_classDataClass()

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.teaserjson_input module

Load Projects in the proprietary TEASER file format .json.

teaser.data.input.teaserjson_input.load_teaser_json(path, project)[source]

Load a project from json.

TEASERs internal file format to store information.

Parameters
path: string

path of teaserjson file

project: Project()

Teaser instance of Project()

teaser.data.input.teaserjson_input.set_basic_data_teaser(wall_in, element)[source]

Set basic data for a building element.

Helper function.

Parameters
wall_incollection.OrderedDict

OrderedDict for walls

elementTEASERClass

teaser class representation of a building element

teaser.data.input.teaserjson_input.set_layer_data_teaser(wall_in, element)[source]

Set layer data of a building element.

Helper function.

Parameters
wall_incollection.OrderedDict

OrderedDict for walls

elementTEASERClass

teaser class representation of a building element

teaser.data.input.usecond_input module

This module contains function to load UseConditions classes.

teaser.data.input.usecond_input.load_use_conditions(use_cond, zone_usage, data_class)[source]

Load use conditions from JSON, according to DIN 18599, SIA2024 in addition some AixLib specific use conditions for central AHU are defined.

Parameters
use_condUseConditions()

Instance of TEASERs BuildingObjects.UseConditions

zone_usagestr

code list for zone_usage according to 18599

data_classDataClass()

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.