teaser.data package

Subpackages

Submodules

teaser.data.dataclass module

This module holds file paths and bindings for json data.

class teaser.data.dataclass.DataClass(used_statistic='iwu')[source]

Bases: object

Class for JSON data.

This class loads all JSON files with statistic or template data needed for statistical data enrichment.

Parameters
used_statisticsstr

This parameter indicates which statistical data about building elements should be used. Use ‘iwu’ or ‘tabula_de’.

Attributes
element_bindcollections.OrderedDict

Ordered dictionary of the TypeBuildingElements binding.

path_tbstr

Full path to TypeBuildingElements.json. Default is teaser/data/input/inputdata/TypeBuildingElements.json.

material_bindcollections.OrderedDict

Ordered dictionary of the Material binding.

path_matstr

Full path to MaterialTemplates.json. Default is teaser/data/input/inputdata/MaterialTemplates.json.

conditions_bindcollections.OrderedDict

Ordered dictionary of the UseConditions binding.

path_ucstr

Full path to UseConditions.json. Default is teaser/data/input/inputdata/UseConditions.json

load_mat_binding()[source]

Load MaterialTemplates json into binding classes.

load_tb_binding()[source]

Load TypeBuildingElement json into binding classes.

load_uc_binding()[source]

Load UseConditions json into binding classes.