Skip to content

formula_8_28

codes.eurocode.en_1993_1_1_2022.chapter_8_ultimate_limit_state.formula_8_28

Formula 8.28 from EN 1993-1-1:2022: Chapter 8 - Ultimate Limit State.

Classes:

codes.eurocode.en_1993_1_1_2022.chapter_8_ultimate_limit_state.formula_8_28.Form8Dot28TotalTorsionalMoment

Form8Dot28TotalTorsionalMoment(t_t_ed: NMM, t_w_ed: NMM)

Bases: Formula

Class representing formula 8.28 for the calculation of [\(T_{Ed}\)].

[\(T_{Ed}\)] Calculation of the total torsional moment [\(Nmm\)].

EN 1993-1-1:2022 art.8.2.7(1) - Formula (8.28)

Parameters:

  • t_t_ed (NMM) –

    [\(T_{t,Ed}\)] Internal St. Venant torsion [\(Nmm\)].

  • t_w_ed (NMM) –

    [\(T_{w,Ed}\)] Internal warping torsion [\(Nmm\)].

Source code in blueprints/codes/eurocode/en_1993_1_1_2022/chapter_8_ultimate_limit_state/formula_8_28.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
def __init__(
    self,
    t_t_ed: NMM,
    t_w_ed: NMM,
) -> None:
    r"""[$T_{Ed}$] Calculation of the total torsional moment [$Nmm$].

    EN 1993-1-1:2022 art.8.2.7(1) - Formula (8.28)

    Parameters
    ----------
    t_t_ed : NMM
        [$T_{t,Ed}$] Internal St. Venant torsion [$Nmm$].
    t_w_ed : NMM
        [$T_{w,Ed}$] Internal warping torsion [$Nmm$].
    """
    super().__init__()
    self.t_t_ed = t_t_ed
    self.t_w_ed = t_w_ed

codes.eurocode.en_1993_1_1_2022.chapter_8_ultimate_limit_state.formula_8_28.Form8Dot28TotalTorsionalMoment.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 8.28.

Source code in blueprints/codes/eurocode/en_1993_1_1_2022/chapter_8_ultimate_limit_state/formula_8_28.py
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 8.28."""
    _equation: str = r"T_{t,Ed} + T_{w,Ed}"
    _numeric_equation: str = latex_replace_symbols(
        _equation,
        replacements={
            r"T_{t,Ed}": f"{self.t_t_ed:.{n}f}",
            r"T_{w,Ed}": f"{self.t_w_ed:.{n}f}",
        },
        unique_symbol_check=False,
    )
    _numeric_equation_with_units: str = latex_replace_symbols(
        _equation,
        replacements={
            r"T_{t,Ed}": rf"{self.t_t_ed:.{n}f} \ Nmm",
            r"T_{w,Ed}": rf"{self.t_w_ed:.{n}f} \ Nmm",
        },
        unique_symbol_check=False,
    )
    return LatexFormula(
        return_symbol=r"T_{Ed}",
        result=f"{self:.{n}f}",
        equation=_equation,
        numeric_equation=_numeric_equation,
        numeric_equation_with_units=_numeric_equation_with_units,
        comparison_operator_label="=",
        unit="Nmm",
    )