cea.demand.preprocessing package

Submodules

cea.demand.preprocessing.properties module

building properties algorithm

cea.demand.preprocessing.properties.calc_category(a, x, y)[source]
cea.demand.preprocessing.properties.calc_comparison(array_min, array_max)[source]
cea.demand.preprocessing.properties.calc_mainuse(uses_df, uses)[source]
cea.demand.preprocessing.properties.get_database(path_database, sheet)[source]
cea.demand.preprocessing.properties.properties(locator, prop_architecture_flag, prop_hvac_flag, prop_comfort_flag, prop_internal_loads_flag)[source]

algorithm to query building properties from statistical database Archetypes_HVAC_properties.csv. for more info check the integrated demand model of Fonseca et al. 2015. Appl. energy.

Parameters:
  • locator (InputLocator) – an InputLocator instance set to the scenario to work on
  • prop_architecture_flag (boolean) – if True, get properties about the construction and architecture.
  • prop_comfort_flag (boolean) – if True, get properties about thermal comfort.
  • prop_hvac_flag (boolean) – if True, get properties about types of HVAC systems, otherwise False.
  • prop_internal_loads_flag (boolean) – if True, get properties about internal loads, otherwise False.

The following files are created by this script, depending on which flags were set:

  • building_HVAC: .dbf
    describes the queried properties of HVAC systems.
  • architecture.dbf
    describes the queried properties of architectural features
  • building_thermal: .shp
    describes the queried thermal properties of buildings
  • indoor_comfort.shp
    describes the queried thermal properties of buildings
cea.demand.preprocessing.properties.run_as_script(scenario_path=None, prop_thermal_flag=True, prop_architecture_flag=True, prop_hvac_flag=True, prop_comfort_flag=True, prop_internal_loads_flag=True)[source]

Run the properties script with input from the reference case and compare the results. This ensures that changes made to this script (e.g. refactorings) do not stop the script from working and also that the results stay the same.

Module contents