concreteproperties.design_codes.DesignCode#
- class DesignCode[source]#
Bases:
objectAbstract 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 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: 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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