Skip to content

formula_5_29

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_29

Formula 5.29 from EN 1992-1-1:2004: Chapter 5 - Structural Analysis.

Classes:

  • Form5Dot29BetaFactor

    Class representing formula 5.29 for the calculation of the beta factor, [\(\beta\)].

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_29.Form5Dot29BetaFactor

Form5Dot29BetaFactor(c_0: DIMENSIONLESS)

Bases: Formula

Class representing formula 5.29 for the calculation of the beta factor, [\(\beta\)].

[\(\beta\)] Factor which depends on the distribution of first order moment [-].

EN 1992-1-1:2004 art.5.8.8.2(3) - Formula (5.29)

Parameters:

  • c_0 (float) –

    Coefficient which depends on the distribution of first order moment [-]. For instance, c_0 = 8 for a constant first order moment, c_0 = 9.6 for a parabolic and 12 for a symmetric triangular distribution.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_29.py
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
def __init__(
    self,
    c_0: DIMENSIONLESS,
) -> None:
    r"""[$\beta$] Factor which depends on the distribution of first order moment [-].

    EN 1992-1-1:2004 art.5.8.8.2(3) - Formula (5.29)

    Parameters
    ----------
    c_0 : float
        Coefficient which depends on the distribution of first order moment [-].
        For instance, c_0 = 8 for a constant first order moment, c_0 = 9.6 for a parabolic and 12 for a symmetric triangular distribution.
    """
    super().__init__()
    self.c_0 = c_0

codes.eurocode.en_1992_1_1_2004.chapter_5_structural_analysis.formula_5_29.Form5Dot29BetaFactor.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 5.29.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_5_structural_analysis/formula_5_29.py
43
44
45
46
47
48
49
50
51
52
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 5.29."""
    return LatexFormula(
        return_symbol=r"\beta",
        result=f"{self:.{n}f}",
        equation=r"\frac{\pi^2}{c_0}",
        numeric_equation=rf"\frac{{\pi^2}}{{{self.c_0:.{n}f}}}",
        comparison_operator_label="=",
        unit="-",
    )