Skip to content

formula_7_4

codes.eurocode.en_1992_1_1_2004.chapter_7_serviceability_limit_state.formula_7_4

Formula 7.4 from EN 1992-1-1:2004: Chapter 7 - Serviceability Limit State.

Classes:

codes.eurocode.en_1992_1_1_2004.chapter_7_serviceability_limit_state.formula_7_4.Form7Dot4MeanStressConcrete

Form7Dot4MeanStressConcrete(n_ed: N, b: MM, h: MM)

Bases: Formula

Class representing formula 7.4 for the calculation of [\(\sigma_c\)].

[\(\sigma_c\)] Calculation of mean stress of the concrete in the cross-section under consideration [\(MPa\)].

EN 1992-1-1:2004 art.7.3.2(2) - Formula (7.4)

Parameters:

  • n_ed (N) –

    [\(N_{Ed}\)] Axial force at the serviceability limit state acting on the part of the cross-section under consideration (compressive force positive) [\(N\)].

  • b (MM) –

    [\(b\)] Width of the cross-section [\(mm\)].

  • h (MM) –

    [\(h\)] Height of the cross-section [\(mm\)].

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_7_serviceability_limit_state/formula_7_4.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
def __init__(
    self,
    n_ed: N,
    b: MM,
    h: MM,
) -> None:
    r"""[$\sigma_c$] Calculation of mean stress of the concrete in the cross-section under consideration [$MPa$].

    EN 1992-1-1:2004 art.7.3.2(2) - Formula (7.4)

    Parameters
    ----------
    n_ed : N
        [$N_{Ed}$] Axial force at the serviceability limit state acting on the part of the
        cross-section under consideration (compressive force positive) [$N$].
    b : MM
        [$b$] Width of the cross-section [$mm$].
    h : MM
        [$h$] Height of the cross-section [$mm$].
    """
    super().__init__()
    self.n_ed = n_ed
    self.b = b
    self.h = h

codes.eurocode.en_1992_1_1_2004.chapter_7_serviceability_limit_state.formula_7_4.Form7Dot4MeanStressConcrete.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 7.4.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_7_serviceability_limit_state/formula_7_4.py
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 7.4."""
    _equation: str = r"\frac{N_{Ed}}{b \cdot h}"
    _numeric_equation: str = latex_replace_symbols(
        _equation,
        {
            r"N_{Ed}": f"{self.n_ed:.{n}f}",
            r"b": f"{self.b:.{n}f}",
            r"h": f"{self.h:.{n}f}",
        },
        False,
    )
    return LatexFormula(
        return_symbol=r"\sigma_c",
        result=f"{self:.{n}f}",
        equation=_equation,
        numeric_equation=_numeric_equation,
        comparison_operator_label="=",
        unit="MPa",
    )