Skip to content

formula_5_23

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_23

Formula 5.23 from EN 1992-1-1:2004: Chapter 5 - Structural Analysis.

Classes:

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_23.Form5Dot23FactorConcreteStrengthClass

Form5Dot23FactorConcreteStrengthClass(f_ck: MPA)

Bases: Formula

Class representing formula 5.23 for the calculation of the factor for concrete strength class, [\(k_{1}\)].

[\(k_{1}\)] Factor for concrete strength class.

EN 1992-1-1:2004 art.5.8.6(3) - Formula (5.23)

Parameters:

  • f_ck (MPA) –

    [\(f_{ck}\)] is the characteristic compressive strength of concrete.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_23.py
16
17
18
19
20
21
22
23
24
25
26
27
def __init__(self, f_ck: MPA) -> None:
    r"""[$k_{1}$] Factor for concrete strength class.

    EN 1992-1-1:2004 art.5.8.6(3) - Formula (5.23)

    Parameters
    ----------
    f_ck : MPA
        [$f_{ck}$] is the characteristic compressive strength of concrete.
    """
    super().__init__()
    self.f_ck = f_ck

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_23.Form5Dot23FactorConcreteStrengthClass.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 5.23.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_23.py
35
36
37
38
39
40
41
42
43
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 5.23."""
    return LatexFormula(
        return_symbol=r"k_{1}",
        result=f"{self:.{n}f}",
        equation=r"\sqrt{\frac{f_{ck}}{20}}",
        numeric_equation=rf"\sqrt{{\frac{{{self.f_ck:.{n}f}}}{{20}}}}",
        comparison_operator_label="=",
    )