Skip to content

formula_6_5

codes.eurocode.en_1993_1_1_2005.chapter_6_ultimate_limit_state.formula_6_5

Formula 6.5 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_5.Form6Dot5UnityCheckTensileStrength

Form6Dot5UnityCheckTensileStrength(n_ed: N, n_t_rd: N)

Bases: ComparisonFormula

Class representing formula 6.5 for the unity check for tensile strength.

Unity check for tensile strength of an element in tension.

EN 1993-1-1:2005 art.6.2.3(1) - Formula (6.5)

Parameters:

  • n_ed (N) –

    [\(N_{Ed}\)] Design value of the normal tensile force [\(N\)].

  • n_t_rd (N) –

    [\(N_{t,Rd}\)] Design value of the resistance against tensile force [\(N\)].

Source code in blueprints/codes/eurocode/en_1993_1_1_2005/chapter_6_ultimate_limit_state/formula_6_5.py
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
def __init__(
    self,
    n_ed: N,
    n_t_rd: N,
) -> None:
    r"""Unity check for tensile strength of an element in tension.

    EN 1993-1-1:2005 art.6.2.3(1) - Formula (6.5)

    Parameters
    ----------
    n_ed : N
        [$N_{Ed}$] Design value of the normal tensile force [$N$].
    n_t_rd : N
        [$N_{t,Rd}$] Design value of the resistance against tensile force [$N$].
    """
    super().__init__()
    self.n_ed = n_ed
    self.n_t_rd = n_t_rd

codes.eurocode.en_1993_1_1_2005.chapter_6_ultimate_limit_state.formula_6_5.Form6Dot5UnityCheckTensileStrength.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 6.5.

Source code in blueprints/codes/eurocode/en_1993_1_1_2005/chapter_6_ultimate_limit_state/formula_6_5.py
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 6.5."""
    _equation: str = r"\left( \frac{N_{Ed}}{N_{t,Rd}} \leq 1 \right)"
    _numeric_equation: str = latex_replace_symbols(
        template=_equation,
        replacements={
            "N_{Ed}": f"{self.n_ed:.{n}f}",
            "N_{t,Rd}": f"{self.n_t_rd:.{n}f}",
        },
        unique_symbol_check=False,
    )
    _intermediate_result: str = rf"\left( {self.lhs:.{n}f} \leq 1 \right)"

    return LatexFormula(
        return_symbol=r"CHECK",
        result="OK" if self.__bool__() else "\\text{Not OK}",
        intermediate_result=_intermediate_result,
        equation=_equation,
        numeric_equation=_numeric_equation,
        comparison_operator_label="\\to",
        unit="",
    )