Skip to content

formula_5_7ab

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_7ab

Formula 5.7a and 5.7b from EN 1992-1-1:2004: Chapter 5 - Structural Analysis.

Classes:

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_7ab.Form5Dot7abFlangeEffectiveFlangeWidth

Form5Dot7abFlangeEffectiveFlangeWidth(b_i: M, l_0: M)

Bases: Formula

Class representing formula 5.7a and formula 5.7b for the calculation of effective flange width of the i-th flange [\(b_{eff,i}\)]. See Figure 5.3.

[\(b_{eff,i}\)] Effective flange width of the i-th flange of a beam [\(m\)].

EN 1992-1-1:2004 art.5.3.2.1(3) - Formula (5.7a) and (5.7b)

Parameters:

  • b_i (M) –

    [\(b_{i}\)] Effective flange width of the i-th flange [\(m\)].

  • l_0 (M) –

    [\(l_{0}\)] distance between points of zero moment, which may be obtained from Figure 5.2 [\(m\)].

Notes

This formula is the combination of formula 5.7a and 5.7b. Formula 5.7a and 5.7b cannot be used independently.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_7ab.py
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
def __init__(
    self,
    b_i: M,
    l_0: M,
) -> None:
    r"""[$b_{eff,i}$] Effective flange width of the i-th flange of a beam [$m$].

    EN 1992-1-1:2004 art.5.3.2.1(3) - Formula (5.7a) and (5.7b)

    Parameters
    ----------
    b_i : M
        [$b_{i}$] Effective flange width of the i-th flange [$m$].
    l_0 : M
        [$l_{0}$] distance between points of zero moment, which may be obtained from Figure 5.2 [$m$].

    Notes
    -----
    This formula is the combination of formula 5.7a and 5.7b. Formula 5.7a and 5.7b cannot be used independently.
    """
    super().__init__()
    self.b_i = b_i
    self.l_0 = l_0

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_7ab.Form5Dot7abFlangeEffectiveFlangeWidth.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 5.7ab.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_7ab.py
54
55
56
57
58
59
60
61
62
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 5.7ab."""
    return LatexFormula(
        return_symbol=r"b_{eff,i}",
        result=f"{self:.{n}f}",
        equation=r"0.2b_{i}+0.1l_{0} \le 0.2l_{0}\text{ and }b_{eff,i}\le b_{i}",
        numeric_equation=rf"0.2\cdot{self.b_i}+0.1\cdot{self.l_0} \le 0.2\cdot{self.l_0}\text{{ and }}b_{{eff,i}}\le {self.b_i}",
        comparison_operator_label="=",
    )