Skip to content

formula_a_2

codes.eurocode.en_1993_1_9_2005.annex_a_determination_of_fatigue_load_parameters_and_verification_formats.formula_a_2

Formula A.1 from EN 1993-1-9:2005: Annex A - Determination of fatigue load parameters and verification formats.

Classes:

codes.eurocode.en_1993_1_9_2005.annex_a_determination_of_fatigue_load_parameters_and_verification_formats.formula_a_2.FormADot2CriteriaBasedOnDamageAccumulation

FormADot2CriteriaBasedOnDamageAccumulation(d_d: DIMENSIONLESS)

Bases: Formula

Class representing formula A.2 for the calculation of the damage during the design life.

[\(CHECK\)] Criteria met, based on damage accumulation.

EN 1993-1-9:2005 art.A.5 - Formula (A.1)

Parameters:

  • d_d (DIMENSIONLESS) –

    [\(D_d\)] The damage during the design life [\(-\)].

Returns:

  • None
Source code in blueprints/codes/eurocode/en_1993_1_9_2005/annex_a_determination_of_fatigue_load_parameters_and_verification_formats/formula_a_2.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
def __init__(
    self,
    d_d: DIMENSIONLESS,
) -> None:
    r"""[$CHECK$] Criteria met, based on damage accumulation.

    EN 1993-1-9:2005 art.A.5 - Formula (A.1)

    Parameters
    ----------
    d_d : DIMENSIONLESS
        [$D_d$] The damage during the design life [$-$].

    Returns
    -------
    None
    """
    super().__init__()
    self.d_d = d_d

codes.eurocode.en_1993_1_9_2005.annex_a_determination_of_fatigue_load_parameters_and_verification_formats.formula_a_2.FormADot2CriteriaBasedOnDamageAccumulation.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula A.2.

Source code in blueprints/codes/eurocode/en_1993_1_9_2005/annex_a_determination_of_fatigue_load_parameters_and_verification_formats/formula_a_2.py
44
45
46
47
48
49
50
51
52
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula A.2."""
    return LatexFormula(
        return_symbol=r"CHECK",
        result="OK" if self <= 1 else r"NOT\;OK",
        equation=r"D_d \leq 1.0",
        numeric_equation=rf"{self.d_d:.{n}f} \leq 1.0",
        comparison_operator_label=r"\rightarrow",
    )