Skip to content

formula_5_8

codes.eurocode.en_1993_5_2007.chapter_5_ultimate_limit_states.formula_5_8

Formula 5.8 from EN 1993-5:2007 Chapter 5 - Ultimate limit states.

Classes:

codes.eurocode.en_1993_5_2007.chapter_5_ultimate_limit_states.formula_5_8.Form5Dot8RelativeWebSlenderness

Form5Dot8RelativeWebSlenderness(c: MM, t_w: MM, f_y: MPA, e: MPA)

Bases: Formula

Class representing formula 5.8 for relative slenderness of the web.

[\(\overline{\lambda}\)] Calculate the relative slenderness of the web [\(-\)].

EN 1993-5:2007(E) art.5.2.2(7) - Formula (5.8)

Parameters:

  • c (MM) –

    [\(c\)] Length of the web in [\(mm\)].

  • t_w (MM) –

    [\(t_{w}\)] Thickness of the web in [\(mm\)].

  • f_y (MPA) –

    [\(f_{y}\)] Yield strength in [\(MPa\)].

  • e (MPA) –

    [\(E\)] Young's modulus in [\(MPa\)].

Source code in blueprints/codes/eurocode/en_1993_5_2007/chapter_5_ultimate_limit_states/formula_5_8.py
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
43
44
def __init__(
    self,
    c: MM,  # Length of the web
    t_w: MM,  # Thickness of the web
    f_y: MPA,  # Yield strength
    e: MPA,  # Young's modulus
) -> None:
    r"""[$\overline{\lambda}$] Calculate the relative slenderness of the web [$-$].

    EN 1993-5:2007(E) art.5.2.2(7) - Formula (5.8)

    Parameters
    ----------
    c : MM
        [$c$] Length of the web in [$mm$].
    t_w : MM
        [$t_{w}$] Thickness of the web in [$mm$].
    f_y : MPA
        [$f_{y}$] Yield strength in [$MPa$].
    e : MPA
        [$E$] Young's modulus in [$MPa$].
    """
    super().__init__()
    self.c: MM = c
    self.t_w: MM = t_w
    self.f_y: MPA = f_y
    self.e: MPA = e

codes.eurocode.en_1993_5_2007.chapter_5_ultimate_limit_states.formula_5_8.Form5Dot8RelativeWebSlenderness.latex

latex(n: int = 2) -> LatexFormula

Returns LatexFormula object for formula 5.8.

Source code in blueprints/codes/eurocode/en_1993_5_2007/chapter_5_ultimate_limit_states/formula_5_8.py
57
58
59
60
61
62
63
64
65
66
def latex(self, n: int = 2) -> LatexFormula:
    """Returns LatexFormula object for formula 5.8."""
    return LatexFormula(
        return_symbol=r"\overline{\lambda}",
        result=f"{self:.{n}f}",
        equation=rf"0.346 \cdot {latex_fraction(numerator='c', denominator='t_w')} \sqrt{{{latex_fraction(numerator='f_y', denominator='E')}}}",
        numeric_equation=rf"0.346 \cdot {latex_fraction(numerator=self.c, denominator=self.t_w)} \sqrt{{"
        rf"{latex_fraction(numerator=self.f_y, denominator=self.e)}}}",
        comparison_operator_label="=",
    )