Skip to content

formula_6_32

codes.eurocode.en_1992_1_1_2004.chapter_6_ultimate_limit_state.formula_6_32

Formula 6.32 from EN 1992-1-1:2004: Chapter 6 - Ultimate limit state.

Classes:

codes.eurocode.en_1992_1_1_2004.chapter_6_ultimate_limit_state.formula_6_32.Form6Dot32EffectiveDepthSlab

Form6Dot32EffectiveDepthSlab(d_y: MM, d_z: MM)

Bases: Formula

Class representing formula 6.32 for the calculation of the effective depth of the slab, [\(d_{eff}\)].

[\(d_{eff}\)] Effective depth of the slab [\(mm\)].

EN 1992-1-1:2004 art.6.4.2(1) - Formula (6.32)

Parameters:

  • d_y (MM) –

    [\(d_{y}\)] Effective depth of the reinforcement in the y-direction [\(mm\)].

  • d_z (MM) –

    [\(d_{z}\)] Effective depth of the reinforcement in the z-direction [\(mm\)].

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_6_ultimate_limit_state/formula_6_32.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
def __init__(
    self,
    d_y: MM,
    d_z: MM,
) -> None:
    r"""[$d_{eff}$] Effective depth of the slab [$mm$].

    EN 1992-1-1:2004 art.6.4.2(1) - Formula (6.32)

    Parameters
    ----------
    d_y : MM
        [$d_{y}$] Effective depth of the reinforcement in the y-direction [$mm$].
    d_z : MM
        [$d_{z}$] Effective depth of the reinforcement in the z-direction [$mm$].
    """
    super().__init__()
    self.d_y = d_y
    self.d_z = d_z

codes.eurocode.en_1992_1_1_2004.chapter_6_ultimate_limit_state.formula_6_32.Form6Dot32EffectiveDepthSlab.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 6.32.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_6_ultimate_limit_state/formula_6_32.py
45
46
47
48
49
50
51
52
53
54
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 6.32."""
    return LatexFormula(
        return_symbol=r"d_{eff}",
        result=f"{self:.{n}f}",
        equation=r"\frac{d_{y} + d_{z}}{2}",
        numeric_equation=rf"\frac{{{self.d_y:.{n}f} + {self.d_z:.{n}f}}}{{2}}",
        comparison_operator_label="=",
        unit="mm",
    )