Skip to content

formula_5_2

codes.eurocode.en_1993_1_1_2005.chapter_5_structural_analysis.formula_5_2

Formula 5.2 from EN 1993-1-1:2005: Chapter 5 - Structural analysis.

Classes:

codes.eurocode.en_1993_1_1_2005.chapter_5_structural_analysis.formula_5_2.Form5Dot2ElasticCriticalBucklingFactor

Form5Dot2ElasticCriticalBucklingFactor(
    h_ed: N, v_ed: N, h: MM, delta_h_ed: MM
)

Bases: Formula

Class representing formula 5.2 for the calculation of [\(\alpha_{cr}\)].

[\(\alpha_{cr}\)] Calculation of the elastic critical buckling factor for a building storey.

EN 1993-1-1:2005 art. 5.2.1(4)B - Formula (5.2)

Parameters:

  • h_ed (N) –

    [\(H_{Ed}\)] Total design horizontal reaction at the storey base [\(N\)].

  • v_ed (N) –

    [\(V_{Ed}\)] Total design vertical load on the structure at the storey base [\(N\)].

  • h (MM) –

    [\(h\)] Storey height [\(mm\)].

  • delta_h_ed (MM) –

    [\(\delta_{H,Ed}\)] Horizontal displacement at the top of the storey relative to the bottom [\(mm\)].

Source code in blueprints/codes/eurocode/en_1993_1_1_2005/chapter_5_structural_analysis/formula_5_2.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,
    h_ed: N,
    v_ed: N,
    h: MM,
    delta_h_ed: MM,
) -> None:
    r"""[$\alpha_{cr}$] Calculation of the elastic critical buckling factor for a building storey.

    EN 1993-1-1:2005 art. 5.2.1(4)B - Formula (5.2)

    Parameters
    ----------
    h_ed : N
        [$H_{Ed}$] Total design horizontal reaction at the storey base [$N$].
    v_ed : N
        [$V_{Ed}$] Total design vertical load on the structure at the storey base [$N$].
    h : MM
        [$h$] Storey height [$mm$].
    delta_h_ed : MM
        [$\delta_{H,Ed}$] Horizontal displacement at the top of the storey relative to the bottom [$mm$].
    """
    super().__init__()
    self.h_ed = h_ed
    self.v_ed = v_ed
    self.h = h
    self.delta_h_ed = delta_h_ed

codes.eurocode.en_1993_1_1_2005.chapter_5_structural_analysis.formula_5_2.Form5Dot2ElasticCriticalBucklingFactor.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 5.2.

Source code in blueprints/codes/eurocode/en_1993_1_1_2005/chapter_5_structural_analysis/formula_5_2.py
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 5.2."""
    _equation: str = r"\frac{H_{Ed}}{V_{Ed}} \cdot \frac{h}{\delta_{H,Ed}}"
    _numeric_equation: str = latex_replace_symbols(
        _equation,
        {
            r"H_{Ed}": f"{self.h_ed:.{n}f}",
            r"V_{Ed}": f"{self.v_ed:.{n}f}",
            r"h": f"{self.h:.{n}f}",
            r"\delta_{H,Ed}": f"{self.delta_h_ed:.{n}f}",
        },
        False,
    )
    _numeric_equation_with_units: str = latex_replace_symbols(
        _equation,
        {
            r"H_{Ed}": rf"{self.h_ed:.{n}f} \ N",
            r"V_{Ed}": rf"{self.v_ed:.{n}f} \ N",
            r"h": rf"{self.h:.{n}f} \ mm",
            r"\delta_{H,Ed}": rf"{self.delta_h_ed:.{n}f} \ mm",
        },
        True,
    )
    return LatexFormula(
        return_symbol=r"\alpha_{cr}",
        result=f"{self:.{n}f}",
        equation=_equation,
        numeric_equation=_numeric_equation,
        numeric_equation_with_units=_numeric_equation_with_units,
        comparison_operator_label="=",
        unit="",
    )