Building

class buildings_analytics.analyzer.Building(stories, span, floor_plate_area, material='', prefab='', use='residential', fire=None, vibration=None, woc=None, continuous=None, MEP_integration=None)[source]

Bases: object

Initialises the Slab object to be analysed.

Parameters
  • span (float) – user requirement on the span

  • prefab (bool) – user requirement on the type of slab.

  • fire (int) – user requirement on the fire resistance in minutes.

  • vibration (bool) – user requirement on the vibration performance. [WIP]

  • woc (str) – user requirement on the support conditions. It can be one way slab or two way slab

  • material (str) – user requirement on the material to be used. it can be concrete, steel, timber.

  • continuous (str) – user requirement on the connection among the slab bays

  • MEP_integration (bool) – user requirement on the need to integrate MEP within the slab structure.

  • use (str) – user requirement on the final use of the slab. It can be residential or office

Attributes
  • span (float) – user requirement on the span

  • prefab (bool) – user requirement on the type of slab.

  • fire (int) – user requirement on the fire resistance in minutes.

  • vibration (bool) – user requirement on the vibration performance. [WIP]

  • woc (str) – user requirement on the support conditions. It can be one way slab or two way slab

  • material (str) – user requirement on the material to be used. it can be concrete, steel, timber.

  • continuous (str) – user requirement on the connection among the slab bays

  • MEP_integration (bool) – user requirement on the need to integrate MEP within the slab structure.

  • use (str) – user requirement on the final use of the slab. It can be residential or office

  • filtered_spider (df) – pandas dataframe containing the data to plot the soft-quantities comparison.

  • floor_plate_area (float) – average floor plate area per story

  • slab (class) – all the requirements concerning the slab itself

Methods Summary

compute_building_energy([output, plot])

Computes the embedded energy of all the slabs in the entire building for the several slabs technologies using the suggested slabs thickness

compute_building_weight([output, plot])

Computes the weight of all the slabs in the building for the several slabs technologies using the suggested slabs thickness

manual_building_inputs()

Guides the user through giving requirements.

plot_slabs()

Filter the slabs database to suggest the best applicaiton according to the user’s requirements.

suggest_slabs()

Filter the slabs database to suggest the best applicaiton according to the user’s requirements.

Methods Documentation

compute_building_energy(output=True, plot=True)[source]

Computes the embedded energy of all the slabs in the entire building for the several slabs technologies using the suggested slabs thickness

Parameters
  • output (bool) – sets if an output is printed in the command line or not

  • plot (bool) – sets if plots are generated or not

Returns

df_building_energy (Dataframe) – pandas Dataframe object containing an estimate of the embedded energy in all the slabs of the building.

compute_building_weight(output=True, plot=True)[source]

Computes the weight of all the slabs in the building for the several slabs technologies using the suggested slabs thickness

Parameters
  • output (bool) – sets if an output is printed in the command line or not

  • plot (bool) – sets if plots are generated or not

Returns

df_building_weight (Dataframe) – pandas Dataframe object containing an estimate of the mass of all the slabs in the building.

manual_building_inputs()[source]

Guides the user through giving requirements.

Parameters

None

Returns

  • df_stories

  • df_floor_plate_area

  • df_slab

plot_slabs()[source]

Filter the slabs database to suggest the best applicaiton according to the user’s requirements. Plots the soft qualities and the span diagram.

Parameters

None

Returns

None

suggest_slabs()[source]

Filter the slabs database to suggest the best applicaiton according to the user’s requirements. Prints slab thickness

Parameters

None

Returns

None