Skip to content

formula_5_30

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_30

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

Classes:

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_30.Form5Dot30TotalDesignMoment

Form5Dot30TotalDesignMoment(m_0ed: KNM, n_ed: KN, n_b: KN)

Bases: Formula

Class representing formula 5.30 for the calculation of the total design moment, [\(M_{Ed}\)].

[\(M_{Ed}\)] Total design moment [\(kNm\)].

EN 1992-1-1:2004 art.5.8.8.2(2) - Formula (5.30)

Parameters:

  • m_0ed (KNM) –

    [\(M_{0Ed}\)] First order moment; see also 5.8.8.2 (2) [\(kNm\)].

  • n_ed (KN) –

    [\(N_{Ed}\)] Design value of axial load [\(kN\)].

  • n_b (KN) –

    [\(N_{B}\)] Buckling load based on nominal stiffness [\(kN\)].

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_30.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def __init__(
    self,
    m_0ed: KNM,
    n_ed: KN,
    n_b: KN,
) -> None:
    r"""[$M_{Ed}$] Total design moment [$kNm$].

    EN 1992-1-1:2004 art.5.8.8.2(2) - Formula (5.30)

    Parameters
    ----------
    m_0ed : KNM
        [$M_{0Ed}$] First order moment; see also 5.8.8.2 (2) [$kNm$].
    n_ed : KN
        [$N_{Ed}$] Design value of axial load [$kN$].
    n_b : KN
        [$N_{B}$] Buckling load based on nominal stiffness [$kN$].
    """
    super().__init__()
    self.m_0ed = m_0ed
    self.n_ed = n_ed
    self.n_b = n_b

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_30.Form5Dot30TotalDesignMoment.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 5.30.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_30.py
58
59
60
61
62
63
64
65
66
67
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 5.30."""
    return LatexFormula(
        return_symbol=r"M_{Ed}",
        result=f"{self:.{n}f}",
        equation=r"\frac{M_{0Ed}}{1 - \left(\frac{N_{Ed}}{N_{B}}\right)}",
        numeric_equation=rf"\frac{{{self.m_0ed:.{n}f}}}{{1 - \left(\frac{{{self.n_ed:.{n}f}}}{{{self.n_b:.{n}f}}}\right)}}",
        comparison_operator_label="=",
        unit="kNm",
    )