concreteproperties.design_codes.design_code.DesignCode#

class DesignCode[source]#

Bases: object

Abstract class for a design code object.

Inits the DesignCode class.

Methods

assign_concrete_section

Assigns a concrete section to the design code.

biaxial_bending_diagram

Generates a biaxial bending diagram.

calculate_cracked_properties

Calculates cracked section properties.

calculate_cracked_stress

Calculates stresses within the reinforced concrete section assuming a cracked section.

calculate_service_stress

Calculates service stresses within the reinforced concrete section.

calculate_ultimate_stress

Calculates ultimate stresses within the reinforced concrete section.

calculate_uncracked_stress

Calculates stresses within the reinforced concrete section assuming an uncracked section.

create_concrete_material

Returns a concrete material object.

create_steel_material

Returns a steel bar material object.

get_gross_properties

Returns the gross section properties of the reinforced concrete section.

get_transformed_gross_properties

Transforms gross section properties.

moment_curvature_analysis

Performs a moment curvature analysis.

moment_interaction_diagram

Generates a moment interaction diagram.

ultimate_bending_capacity

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 strength

  • colour (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 strength

  • colour (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