concreteproperties.design_codes.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 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: ConcreteSection)[source]#

Assigns a concrete section to the design code.

Parameters

concrete_section (ConcreteSection) – Concrete section object to analyse

create_concrete_material(compressive_strength: float, colour: Optional[str] = 'lightgrey') Concrete[source]#

Returns a concrete material object.

List assumptions of material properties here…

Parameters
  • compressive_strength (float) – Concrete compressive strength

  • colour (Optional[str]) – Colour of the concrete for rendering

Returns

Concrete material object

Return type

Concrete

create_steel_material(yield_strength: float, colour: Optional[str] = 'grey') Steel[source]#

Returns a steel material object.

List assumptions of material properties here…

Parameters
  • yield_strength (float) – Steel yield strength

  • colour (Optional[str]) – Colour of the steel for rendering

Returns

Steel material object

Return type

Steel

get_gross_properties(**kwargs) ConcreteProperties[source]#

Returns the gross section properties of the reinforced concrete section.

Parameters

kwargs – Keyword arguments passed to get_gross_properties()

Returns

Concrete properties object

Return type

ConcreteProperties

get_transformed_gross_properties(**kwargs) TransformedConcreteProperties[source]#

Transforms gross section properties.

Parameters

kwargs – Keyword arguments passed to get_transformed_gross_properties()

Returns

Transformed concrete properties object

Return type

TransformedConcreteProperties

calculate_cracked_properties(**kwargs) CrackedResults[source]#

Calculates cracked section properties.

Parameters

kwargs – Keyword arguments passed to calculate_cracked_properties()

Returns

Cracked results object

Return type

CrackedResults

moment_curvature_analysis(**kwargs) MomentCurvatureResults[source]#

Performs a moment curvature analysis. No reduction factors are applied to the moments.

Parameters

kwargs – Keyword arguments passed to moment_curvature_analysis()

Returns

Moment curvature results object

Return type

MomentCurvatureResults

ultimate_bending_capacity(**kwargs) UltimateBendingResults[source]#

Calculates the ultimate bending capacity.

Parameters

kwargs – Keyword arguments passed to ultimate_bending_capacity()

Returns

Ultimate bending results object

Return type

UltimateBendingResults

moment_interaction_diagram(**kwargs) MomentInteractionResults[source]#

Generates a moment interaction diagram.

Parameters

kwargs – Keyword arguments passed to moment_interaction_diagram()

Returns

Moment interaction results object

Return type

MomentInteractionResults

biaxial_bending_diagram(**kwargs) BiaxialBendingResults[source]#

Generates a biaxial bending diagram.

Parameters

kwargs – Keyword arguments passed to biaxial_bending_diagram()

Returns

Biaxial bending results

Return type

BiaxialBendingResults

calculate_uncracked_stress(**kwargs) StressResult[source]#

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

Parameters

kwargs – Keyword arguments passed to calculate_uncracked_stress()

Returns

Stress results object

Return type

StressResult

calculate_cracked_stress(**kwargs) StressResult[source]#

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

Parameters

kwargs – Keyword arguments passed to calculate_cracked_stress()

Returns

Stress results object

Return type

StressResult

calculate_service_stress(**kwargs) StressResult[source]#

Calculates service stresses within the reinforced concrete section.

Parameters

kwargs – Keyword arguments passed to calculate_service_stress()

Returns

Stress results object

Return type

StressResult

calculate_ultimate_stress(**kwargs) StressResult[source]#

Calculates ultimate stresses within the reinforced concrete section.

Parameters

kwargs – Keyword arguments passed to calculate_ultimate_stress()

Returns

Stress results object

Return type

StressResult