Skip to content

formula_5_28

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_28

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

Classes:

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_28.Form5Dot28TotalDesignMoment

Form5Dot28TotalDesignMoment(m_0ed: KNM, beta: DIMENSIONLESS, n_ed: KN, n_b: KN)

Bases: Formula

Class representing formula 5.28 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.28)

Parameters:

  • m_0ed (KNM) –

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

  • beta (float) –

    [\(\beta\)] Factor which depends on distribution of 1st and 2nd order moments, see 5.8.7.3 (2)-(3) [-].

  • 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_28.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
def __init__(
    self,
    m_0ed: KNM,
    beta: DIMENSIONLESS,
    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.28)

    Parameters
    ----------
    m_0ed : KNM
        [$M_{0Ed}$] First order moment; see also 5.8.8.2 (2) [$kNm$].
    beta : float
        [$\beta$] Factor which depends on distribution of 1st and 2nd order moments, see 5.8.7.3 (2)-(3) [-].
    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.beta = beta
    self.n_ed = n_ed
    self.n_b = n_b

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_28.Form5Dot28TotalDesignMoment.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 5.28.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_28.py
64
65
66
67
68
69
70
71
72
73
74
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 5.28."""
    return LatexFormula(
        return_symbol=r"M_{Ed}",
        result=f"{self:.{n}f}",
        equation=r"M_{0Ed} \cdot \left(1 + \frac{\beta}{\frac{N_{B}}{N_{Ed}} - 1}\right)",
        numeric_equation=rf"{self.m_0ed:.{n}f} \cdot \left(1 + "
        rf"\frac{{{self.beta:.{n}f}}}{{\frac{{{self.n_b:.{n}f}}}{{{self.n_ed:.{n}f}}} - 1}}\right)",
        comparison_operator_label="=",
        unit="kNm",
    )