cea.geometry package

Submodules

cea.geometry.geometry_reader module

algorithms for manipulation of building geometry

cea.geometry.geometry_reader.create_windows(df_prop_surfaces, gdf_building_architecture)[source]

Creates windows on exposed building surfaces according to building win-wall-ratio

Parameters:
  • df_prop_surfaces (DataFrame) – DataFrame containing all exposed building surfaces (this is the properties_surfaces.csv file from the radiation calculation)
  • gdf_building_architecture (GeoDataFrame) – GeoDataFrame containing building architecture - this is the architecture.shp file from the scenario input, containing the win_wall column with the window to wall ratio.
Returns:

DataFrame containing all windows of all buildings

Return type:

DataFrame

Sample rows of output::

       angle_window  area_window  height_window_above_ground          0            90     1.910858                         1.5
1            90     2.276739                         1.5
2            90     2.276739                         4.5
3            90     2.276739                         7.5
4            90     2.276739                        10.5

   height_window_in_zone name_building  orientation_window
0                    1.5       B140589                   0
1                    1.5       B140590                 180
2                    4.5       B140590                 180
3                    7.5       B140590                 180
4                   10.5       B140590                 180

[5 rows x 6 columns]
cea.geometry.geometry_reader.get_building_geometry_ventilation(gdf_building_geometry)[source]

:param gdf_building_geometry : GeoDataFrame contains single building

Returns:building properties for natural ventilation calculation

Module contents