Skip to content

formula_2_1_b

codes.eurocode.nen_9997_1_c2_2017.chapter_2_basic_of_geotechnical_design.formula_2_1_b

Formula 2.1b from NEN 9997-1+C2:2017: Chapter 2: Basis of geotechnical design.

Classes:

codes.eurocode.nen_9997_1_c2_2017.chapter_2_basic_of_geotechnical_design.formula_2_1_b.Form2Dot1bRepresentativeValue

Form2Dot1bRepresentativeValue(psi: DIMENSIONLESS, f_k: DIMENSIONLESS)

Bases: Formula

Class representing formula 2.1b for the calculation of the representative value [\(F_{rep}\)] of actions.

[\(F_{rep}\)] Representative value of actions.

NEN 9997-1+C2:2017 art.2.4.6.1(2) - Formula (2.1b)

Parameters:

  • psi (DIMENSIONLESS) –

    [\(\Psi\)] factor for converting the characteristic value to the representative value [\(-\)].

  • f_k (DIMENSIONLESS) –

    [\(F_{k}\)] Characteristic value of actions [\(-\)].

Source code in blueprints/codes/eurocode/nen_9997_1_c2_2017/chapter_2_basic_of_geotechnical_design/formula_2_1_b.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
def __init__(self, psi: DIMENSIONLESS, f_k: DIMENSIONLESS) -> None:
    r"""[$F_{rep}$] Representative value of actions.

    NEN 9997-1+C2:2017 art.2.4.6.1(2) - Formula (2.1b)

    Parameters
    ----------
    psi : DIMENSIONLESS
        [$\Psi$] factor for converting the characteristic value to the representative value [$-$].
    f_k : DIMENSIONLESS
        [$F_{k}$] Characteristic value of actions [$-$].
    """
    super().__init__()
    self.psi = psi
    self.f_k = f_k

codes.eurocode.nen_9997_1_c2_2017.chapter_2_basic_of_geotechnical_design.formula_2_1_b.Form2Dot1bRepresentativeValue.latex

latex(n: int = 2) -> LatexFormula

Returns LatexFormula object for formula 2.1b.

Source code in blueprints/codes/eurocode/nen_9997_1_c2_2017/chapter_2_basic_of_geotechnical_design/formula_2_1_b.py
41
42
43
44
45
46
47
48
49
def latex(self, n: int = 2) -> LatexFormula:
    """Returns LatexFormula object for formula 2.1b."""
    return LatexFormula(
        return_symbol=r"F_{rep}",
        result=f"{self:.{n}f}",
        equation=r"\psi \cdot F_k",
        numeric_equation=rf"{self.psi:.{n}f} \cdot {self.f_k:.{n}f}",
        comparison_operator_label="=",
    )