Skip to content

formula_6_23

codes.eurocode.en_1993_1_1_2005.chapter_6_ultimate_limit_state.formula_6_23

Formula 6.23 from EN 1993-1-1:2005: Chapter 6 - Ultimate Limit State.

Classes:

codes.eurocode.en_1993_1_1_2005.chapter_6_ultimate_limit_state.formula_6_23.Form6Dot23CheckTorsionalMoment

Form6Dot23CheckTorsionalMoment(t_ed: NMM, t_rd: NMM)

Bases: Formula

Class representing formula 6.23 for checking torsional moment.

Check the torsional moment at each cross-section.

EN 1993-1-1:2005 art.6.2.7(1) - Formula (6.23)

Parameters:

  • t_ed (NMM) –

    [\(T_{Ed}\)] Design value of the torsional moment [\(Nmm\)].

  • t_rd (NMM) –

    [\(T_{Rd}\)] Design torsional resistance of the cross section [\(Nmm\)].

Source code in blueprints/codes/eurocode/en_1993_1_1_2005/chapter_6_ultimate_limit_state/formula_6_23.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
def __init__(
    self,
    t_ed: NMM,
    t_rd: NMM,
) -> None:
    r"""Check the torsional moment at each cross-section.

    EN 1993-1-1:2005 art.6.2.7(1) - Formula (6.23)

    Parameters
    ----------
    t_ed : NMM
        [$T_{Ed}$] Design value of the torsional moment [$Nmm$].
    t_rd : NMM
        [$T_{Rd}$] Design torsional resistance of the cross section [$Nmm$].
    """
    super().__init__()
    self.t_ed = t_ed
    self.t_rd = t_rd

codes.eurocode.en_1993_1_1_2005.chapter_6_ultimate_limit_state.formula_6_23.Form6Dot23CheckTorsionalMoment.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 6.23.

Source code in blueprints/codes/eurocode/en_1993_1_1_2005/chapter_6_ultimate_limit_state/formula_6_23.py
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 6.23."""
    _equation: str = r"\left( \frac{T_{Ed}}{T_{Rd}} \leq 1.0 \right)"
    _numeric_equation: str = latex_replace_symbols(
        _equation,
        {
            "T_{Ed}": f"{self.t_ed:.{n}f}",
            "T_{Rd}": f"{self.t_rd:.{n}f}",
        },
        False,
    )
    return LatexFormula(
        return_symbol=r"CHECK",
        result="OK" if self.__bool__() else "\\text{Not OK}",
        equation=_equation,
        numeric_equation=_numeric_equation,
        comparison_operator_label="\\to",
        unit="",
    )