Skip to content

formula_5_7

codes.eurocode.en_1993_1_1_2005.chapter_5_structural_analysis.formula_5_7

Formula 5.7 from EN 1993-1-1:2005: Chapter 5 - Structural Analysis.

Classes:

codes.eurocode.en_1993_1_1_2005.chapter_5_structural_analysis.formula_5_7.Form5Dot7DisregardFrameSwayImperfections

Form5Dot7DisregardFrameSwayImperfections(h_ed: N, v_ed: N)

Bases: ComparisonFormula

Class representing formula 5.7 to check if the sway imperfections of a frame in a building can be disregarded or not.

Check if the sway imperfections in a frame in building can be disregarded.

EN 1993-1-1:2005 - Formula (5.7)

Parameters:

  • h_ed (N) –

    [\(H_{Ed}\)] Design value of the total horizontal load, transferred from the storey. Including equivalent forces according to chapter 5.3.2 (7).

  • v_ed (N) –

    [\(V_{Ed}\)] Design value of the total vertical load on the frame, transferred from the storey.

Source code in blueprints/codes/eurocode/en_1993_1_1_2005/chapter_5_structural_analysis/formula_5_7.py
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
def __init__(self, h_ed: N, v_ed: N) -> None:
    r"""Check if the sway imperfections in a frame in building can be disregarded.

    EN 1993-1-1:2005 - Formula (5.7)

    Parameters
    ----------
    h_ed: N
        [$H_{Ed}$] Design value of the total horizontal load, transferred from the storey.
        Including equivalent forces according to chapter 5.3.2 (7).
    v_ed: N
        [$V_{Ed}$] Design value of the total vertical load on the frame, transferred from the storey.
    """
    super().__init__()
    self.h_ed = h_ed
    self.v_ed = v_ed

codes.eurocode.en_1993_1_1_2005.chapter_5_structural_analysis.formula_5_7.Form5Dot7DisregardFrameSwayImperfections.unity_check property

unity_check: float

Returns the unity check value.

codes.eurocode.en_1993_1_1_2005.chapter_5_structural_analysis.formula_5_7.Form5Dot7DisregardFrameSwayImperfections.latex

latex(n: int = 2) -> LatexFormula

Returns LatexFormula object for formula 5.7.

Source code in blueprints/codes/eurocode/en_1993_1_1_2005/chapter_5_structural_analysis/formula_5_7.py
63
64
65
66
67
68
69
70
71
72
73
74
75
76
def latex(self, n: int = 2) -> LatexFormula:
    """Returns LatexFormula object for formula 5.7."""
    _equation: str = r"H_{Ed} \geq 0.15 \cdot V_{Ed}"
    _numeric_equation: str = latex_replace_symbols(
        _equation, {r"H_{Ed}": f"{self.h_ed:.{n}f}", "V_{Ed}": f"{self.v_ed:.{n}f}"}, unique_symbol_check=False
    )
    return LatexFormula(
        return_symbol="CHECK",
        result=r"OK" if self.__bool__() else r"\text{Not OK}",
        equation=_equation,
        numeric_equation=_numeric_equation,
        comparison_operator_label=r"\to",
        unit="",
    )