Skip to content

formula_8_46

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_46

Formula 8.46 from FprEN-1992-1-1:2023: Chapter 8: Ultimate limit states (ULS).

Classes:

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_46.Form8Dot46AverageStrainBottomTopChords

Form8Dot46AverageStrainBottomTopChords(
    epsilon_xt: DIMENSIONLESS, epsilon_xc: DIMENSIONLESS
)

Bases: Formula

Class representing formula 8.46 for the average strain of the bottom and top chords.

Average strain of the bottom and top chords according to: [\(\epsilon_x = \frac{\epsilon_{xt} + \epsilon_{xc}}{2} \geq 0\)]

Average strain of the bottom and top chords (dimensionless).

FprEN 1992-1-1:2023 art. 8.2.3 (7) - Formula (8.46)

Parameters:

  • epsilon_xt (DIMENSIONLESS) –

    [\(\epsilon_{xt}\)] Strain of the bottom (tension) chord (dimensionless).

  • epsilon_xc (DIMENSIONLESS) –

    [\(\epsilon_{xc}\)] Strain of the top (compression) chord (dimensionless).

Source code in blueprints/codes/eurocode/fpr_en_1992_1_1_2023/chapter_8_ultimate_limit_states/formula_8_46.py
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
def __init__(
    self,
    epsilon_xt: DIMENSIONLESS,
    epsilon_xc: DIMENSIONLESS,
) -> None:
    r"""Average strain of the bottom and top chords (dimensionless).

    FprEN 1992-1-1:2023 art. 8.2.3 (7) - Formula (8.46)

    Parameters
    ----------
    epsilon_xt : DIMENSIONLESS
        [$\epsilon_{xt}$] Strain of the bottom (tension) chord (dimensionless).
    epsilon_xc : DIMENSIONLESS
        [$\epsilon_{xc}$] Strain of the top (compression) chord (dimensionless).
    """
    super().__init__()
    self.epsilon_xt = epsilon_xt
    self.epsilon_xc = epsilon_xc

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_46.Form8Dot46AverageStrainBottomTopChords.latex

latex(n: int = 4) -> LatexFormula

Returns LatexFormula object for formula 8.46.

Source code in blueprints/codes/eurocode/fpr_en_1992_1_1_2023/chapter_8_ultimate_limit_states/formula_8_46.py
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
def latex(self, n: int = 4) -> LatexFormula:
    """Returns LatexFormula object for formula 8.46."""
    _equation: str = r"\frac{\epsilon_{xt} + \epsilon_{xc}}{2}"
    _numeric_equation: str = latex_replace_symbols(
        _equation,
        {
            r"\epsilon_{xt}": f"{self.epsilon_xt:.{n}f}",
            r"\epsilon_{xc}": f"{self.epsilon_xc:.{n}f}",
        },
        False,
    )
    _numeric_equation_with_units: str = latex_replace_symbols(
        _equation,
        {
            r"\epsilon_{xt}": f"{self.epsilon_xt:.{n}f}",
            r"\epsilon_{xc}": f"{self.epsilon_xc:.{n}f}",
        },
        False,
    )
    intermediate_result = rf"{self._evaluate(epsilon_xt=self.epsilon_xt, epsilon_xc=self.epsilon_xc):.{n}f} \ge 0"

    return LatexFormula(
        return_symbol=r"\epsilon_x",
        result=f"{self:.{n}f}",
        intermediate_result=intermediate_result,
        equation=_equation,
        numeric_equation=_numeric_equation,
        numeric_equation_with_units=_numeric_equation_with_units,
        comparison_operator_label="=",
        unit="",
    )