Slab
-
class
buildings_analytics.analyzer.
Slab
(span=8, prefab=False, fire=None, vibration=None, woc=None, material=None, continuous=False, MEP_integration=False, use='residential')[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.
Methods Summary
compute_energy
([plot, output])Computes the embodied energy per square meter for the several slabs technologies using the suggested slabs thickness.
compute_weight
([plot, output])Computes the average weight per square meter for the several slabs technologies using the suggested slabs thickness.
manual_inputs
([introduction])Guides the user through setting the Slab requirements.
suggest
([output, plot])Filter the slabs database to suggest the best applicaiton according to the user’s requirements.
Methods Documentation
-
compute_energy
(plot=True, output=True)[source] Computes the embodied energy per square meter 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_energy (Dataframe) – pandas Dataframe object containing an estimate of the embodied per square meter.
-
compute_weight
(plot=True, output=True)[source] Computes the average weight per square meter 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_weight (Dataframe) – pandas Dataframe object containing an estimate of the mass per square meter.
-
manual_inputs
(introduction=True)[source] Guides the user through setting the Slab requirements.
- Parameters
None
- Returns
None
-
suggest
(output=False, plot=True)[source] Filter the slabs database to suggest the best applicaiton according to the user’s requirements. Print a diagram containing the applicable slabs
- 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_thickness (Dataframe) – pandas Dataframe object containing the suggested slabs thickness.
df_spider (Dataframe) – pandas Dataframe object containing the slabs data filtered.
df_span (Dataframe) – pandas Dataframe object containing the sugested slab span.