Skip to content

formula_7_18

codes.eurocode.en_1992_1_1_2004.chapter_7_serviceability_limit_state.formula_7_18

Formula 7.18 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_18.Form7Dot18DeformationParameter

Form7Dot18DeformationParameter(
    zeta: DIMENSIONLESS, alpha_l: DIMENSIONLESS, alpha_ll: DIMENSIONLESS
)

Bases: Formula

Class representing formula 7.18 for the calculation of [\(\alpha\)].

[\(\alpha\)] Calculation of the deformation parameter [\(\alpha\)].

EN 1992-1-1:2004 art.7.4.3(3) - Formula (7.18)

Parameters:

  • zeta (DIMENSIONLESS) –

    [\(\zeta\)] Distribution coefficient allowing for tension stiffening at a section, calculated with Expression (7.19).

  • alpha_l (DIMENSIONLESS) –

    [\(\alpha_{I}\)] Value of the parameter calculated for the uncracked condition

  • alpha_ll (DIMENSIONLESS) –

    [\(\alpha_{II}\)] Value of the parameter calculated for the fully cracked condition.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_7_serviceability_limit_state/formula_7_18.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def __init__(
    self,
    zeta: DIMENSIONLESS,
    alpha_l: DIMENSIONLESS,
    alpha_ll: DIMENSIONLESS,
) -> None:
    r"""[$\alpha$] Calculation of the deformation parameter [$\alpha$].

    EN 1992-1-1:2004 art.7.4.3(3) - Formula (7.18)

    Parameters
    ----------
    zeta : DIMENSIONLESS
        [$\zeta$] Distribution coefficient allowing for tension stiffening at a section, calculated with Expression (7.19).
    alpha_l : DIMENSIONLESS
        [$\alpha_{I}$] Value of the parameter calculated for the uncracked condition
    alpha_ll : DIMENSIONLESS
        [$\alpha_{II}$] Value of the parameter calculated for the fully cracked condition.
    """
    super().__init__()
    self.zeta = zeta
    self.alpha_l = alpha_l
    self.alpha_ll = alpha_ll

codes.eurocode.en_1992_1_1_2004.chapter_7_serviceability_limit_state.formula_7_18.Form7Dot18DeformationParameter.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 7.18.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_7_serviceability_limit_state/formula_7_18.py
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 7.18."""
    _equation: str = r"\zeta \cdot \alpha_{II} + (1 - \zeta) \cdot \alpha_{I}"
    _numeric_equation: str = latex_replace_symbols(
        _equation,
        {
            r"\zeta": f"{self.zeta:.{n}f}",
            r"\alpha_{II}": f"{self.alpha_ll:.{n}f}",
            r"\alpha_{I}": f"{self.alpha_l:.{n}f}",
        },
        False,
    )
    return LatexFormula(
        return_symbol=r"\alpha",
        result=f"{self:.{n}f}",
        equation=_equation,
        numeric_equation=_numeric_equation,
        comparison_operator_label="=",
        unit="-",
    )