Skip to content

formula_5_20

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_20

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

Classes:

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_20.Form5Dot20DesignModulusElasticity

Form5Dot20DesignModulusElasticity(e_cm: MPA, gamma_ce: DIMENSIONLESS = 1.2)

Bases: Formula

Class representing formula 5.20 for the calculation of the design modulus of elasticity, [\(E_{cd}\)].

[\(E_{cd}\)] Design modulus of elasticity.

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

Parameters:

  • e_cm (MPA) –

    [\(E_{cm}\)] is the characteristic modulus of elasticity of concrete.

  • gamma_ce (DIMENSIONLESS, default: 1.2 ) –

    [\(\gamma_{cE}\)] is the factor for the design value of the modulus of elasticity. Default is 1.2 which is the recommended value.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_20.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
def __init__(self, e_cm: MPA, gamma_ce: DIMENSIONLESS = 1.2) -> None:
    r"""[$E_{cd}$] Design modulus of elasticity.

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

    Parameters
    ----------
    e_cm : MPA
        [$E_{cm}$] is the characteristic modulus of elasticity of concrete.
    gamma_ce : DIMENSIONLESS, optional
        [$\gamma_{cE}$] is the factor for the design value of the modulus of elasticity. Default is 1.2 which is the recommended value.
    """
    super().__init__()
    self.e_cm = e_cm
    self.gamma_ce = gamma_ce

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_20.Form5Dot20DesignModulusElasticity.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 5.20.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_20.py
38
39
40
41
42
43
44
45
46
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 5.20."""
    return LatexFormula(
        return_symbol=r"E_{cd}",
        result=f"{self:.{n}f}",
        equation=r"\frac{E_{cm}}{\gamma_{CE}}",
        numeric_equation=rf"\frac{{{self.e_cm}}}{{{self.gamma_ce}}}",
        comparison_operator_label="=",
    )