concreteproperties.design_codes.design_code.DesignCode#
- class DesignCode[source]#
Bases:
object
Abstract class for a design code object.
Inits the DesignCode class.
Methods
Assigns a concrete section to the design code.
Generates a biaxial bending diagram.
Calculates cracked section properties.
Calculates stresses within the reinforced concrete section assuming a cracked section.
Calculates service stresses within the reinforced concrete section.
Calculates ultimate stresses within the reinforced concrete section.
Calculates stresses within the reinforced concrete section assuming an uncracked section.
Returns a concrete material object.
Returns a steel bar material object.
Returns the gross section properties of the reinforced concrete section.
Transforms gross section properties.
Performs a moment curvature analysis.
Generates a moment interaction diagram.
Calculates the ultimate bending capacity.
- assign_concrete_section(concrete_section)[source]#
Assigns a concrete section to the design code.
- Parameters
concrete_section (
ConcreteSection
) – Concrete section object to analyse
- create_concrete_material(compressive_strength, colour='lightgrey')[source]#
Returns a concrete material object.
List assumptions of material properties here…
- Parameters
compressive_strength (
float
) – Concrete compressive strengthcolour (
str
, default:'lightgrey'
) – Colour of the concrete for rendering
- Returns
Concrete
– Concrete material object
- create_steel_material(yield_strength, colour='grey')[source]#
Returns a steel bar material object.
List assumptions of material properties here…
- Parameters
yield_strength (
float
) – Steel yield strengthcolour (
str
, default:'grey'
) – Colour of the steel for rendering
- Returns
SteelBar
– Steel material object
- get_gross_properties(**kwargs)[source]#
Returns the gross section properties of the reinforced concrete section.
- Parameters
kwargs – Keyword arguments passed to
get_gross_properties()
- Returns
GrossProperties
– Concrete properties object
- get_transformed_gross_properties(**kwargs)[source]#
Transforms gross section properties.
- Parameters
kwargs – Keyword arguments passed to
get_transformed_gross_properties()
- Returns
TransformedGrossProperties
– Transformed concrete properties object
- calculate_cracked_properties(**kwargs)[source]#
Calculates cracked section properties.
- Parameters
kwargs – Keyword arguments passed to
calculate_cracked_properties()
- Returns
CrackedResults
– Cracked results object
- moment_curvature_analysis(**kwargs)[source]#
Performs a moment curvature analysis. No reduction factors are applied to the moments.
- Parameters
kwargs – Keyword arguments passed to
moment_curvature_analysis()
- Returns
MomentCurvatureResults
– Moment curvature results object
- ultimate_bending_capacity(**kwargs)[source]#
Calculates the ultimate bending capacity.
- Parameters
kwargs – Keyword arguments passed to
ultimate_bending_capacity()
- Returns
UltimateBendingResults
– Ultimate bending results object
- moment_interaction_diagram(**kwargs)[source]#
Generates a moment interaction diagram.
- Parameters
kwargs – Keyword arguments passed to
moment_interaction_diagram()
- Returns
MomentInteractionResults
– Moment interaction results object
- biaxial_bending_diagram(**kwargs)[source]#
Generates a biaxial bending diagram.
- Parameters
kwargs – Keyword arguments passed to
biaxial_bending_diagram()
- Returns
BiaxialBendingResults
– Biaxial bending results
- calculate_uncracked_stress(**kwargs)[source]#
Calculates stresses within the reinforced concrete section assuming an uncracked section.
- Parameters
kwargs – Keyword arguments passed to
calculate_uncracked_stress()
- Returns
StressResult
– Stress results object
- calculate_cracked_stress(**kwargs)[source]#
Calculates stresses within the reinforced concrete section assuming a cracked section.
- Parameters
kwargs – Keyword arguments passed to
calculate_cracked_stress()
- Returns
StressResult
– Stress results object
- calculate_service_stress(**kwargs)[source]#
Calculates service stresses within the reinforced concrete section.
- Parameters
kwargs – Keyword arguments passed to
calculate_service_stress()
- Returns
StressResult
– Stress results object
- calculate_ultimate_stress(**kwargs)[source]#
Calculates ultimate stresses within the reinforced concrete section.
- Parameters
kwargs – Keyword arguments passed to
calculate_ultimate_stress()
- Returns
StressResult
– Stress results object