Skip to content

formula_8_67_68

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_67_68

Formula 8.67 and 8.68 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_67_68.Form8Dot67And68CheckCotangentFlangeCompressionField

Form8Dot67And68CheckCotangentFlangeCompressionField(
    theta_f: DEG, flange_type: FLANGE_TYPE
)

Bases: AggregatedComparisonFormula

Class representing formulas 8.67 and 8.68 for the check of the cotangent of the inclination of the compression field in the flanges.

The standard prints the two as separate numbered formulas with the same lower bound and a different upper bound: 3,0 in compression flanges and 1,25 in tension flanges. They are one rule selected by the state of the flange, so they are implemented as one class with that state as an input, the same way (8.22) to (8.24) are one class selected by a ratio.

The printed range is one relation, but it is modelled as two comparisons joined with all so that each bound carries its own unity check. Those two are available through comparison_formulas, and unity_check on this class is the larger of the two.

Check whether the selected inclination of the compression field in the flange lies within the permitted range.

FprEN 1992-1-1:2023 (E) art 8.2.5 (3) - Formula (8.67) and (8.68)

The standard lets the designer select the inclination, so this is a verification of that choice and not a value to be calculated. Both bounds are inclusive as printed. Lower angles in the tensile flange than those given here may be adopted under the conditions of 8.2.5(5), which is a separate route and not a relaxation of this check.

Parameters:

  • theta_f (DEG) –

    [\(\theta_f\)] Selected inclination of the compression field in the flange with respect to the longitudinal axis [\(degrees\)].

  • flange_type (FLANGE_TYPE) –

    Which of the two printed formulas applies: "compression" for Formula (8.67), which bounds the cotangent at 3,0, or "tension" for Formula (8.68), which bounds it at 1,25.

Source code in blueprints/codes/eurocode/fpr_en_1992_1_1_2023/chapter_8_ultimate_limit_states/formula_8_67_68.py
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
def __init__(self, theta_f: DEG, flange_type: FLANGE_TYPE) -> None:
    r"""Check whether the selected inclination of the compression field in the flange lies within the
    permitted range.

    FprEN 1992-1-1:2023 (E) art 8.2.5 (3) - Formula (8.67) and (8.68)

    The standard lets the designer select the inclination, so this is a verification of that choice and
    not a value to be calculated. Both bounds are inclusive as printed. Lower angles in the tensile flange
    than those given here may be adopted under the conditions of 8.2.5(5), which is a separate route and
    not a relaxation of this check.

    Parameters
    ----------
    theta_f : DEG
        [$\theta_f$] Selected inclination of the compression field in the flange with respect to the
        longitudinal axis [$degrees$].
    flange_type : FLANGE_TYPE
        Which of the two printed formulas applies: "compression" for Formula (8.67), which bounds the
        cotangent at 3,0, or "tension" for Formula (8.68), which bounds it at 1,25.
    """
    super().__init__(aggregation=all, comparison_formulas=self._bounds(theta_f, flange_type))
    self.theta_f = theta_f
    self.flange_type = flange_type

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_67_68.Form8Dot67And68CheckCotangentFlangeCompressionField.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formulas 8.67 and 8.68.

Source code in blueprints/codes/eurocode/fpr_en_1992_1_1_2023/chapter_8_ultimate_limit_states/formula_8_67_68.py
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formulas 8.67 and 8.68."""
    _equation: str = r"1 \leq \cot(\theta_f) \leq limit"
    _numeric_equation: str = latex_replace_symbols(
        template=_equation,
        replacements={
            r"\cot(\theta_f)": f"{cot(self.theta_f):.{n}f}",
            "limit": f"{_upper_bound(self.flange_type):.{n}f}",
        },
        unique_symbol_check=False,
    )
    return LatexFormula(
        return_symbol=r"CHECK",
        result="OK" if self.__bool__() else r"\text{Not OK}",
        equation=_equation,
        numeric_equation=_numeric_equation,
        # Every term here is dimensionless, so the representation with units is the same one.
        numeric_equation_with_units=_numeric_equation,
        comparison_operator_label=r"\to",
        unit="",
    )

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_67_68.SubForm8Dot67And68LowerBound

SubForm8Dot67And68LowerBound(theta_f: DEG)

Bases: ComparisonFormula

Class representing the lower bound of formulas 8.67 and 8.68, [\(1 \leq \cot\theta_f\)].

The standard prints the same lower bound for both flange types.

Check the selected inclination of the compression field in the flange against its lower bound.

FprEN 1992-1-1:2023 (E) art 8.2.5 (3) - Formula (8.67) and (8.68)

Parameters:

  • theta_f (DEG) –

    [\(\theta_f\)] Selected inclination of the compression field in the flange with respect to the longitudinal axis [\(degrees\)].

Source code in blueprints/codes/eurocode/fpr_en_1992_1_1_2023/chapter_8_ultimate_limit_states/formula_8_67_68.py
37
38
39
40
41
42
43
44
45
46
47
48
49
def __init__(self, theta_f: DEG) -> None:
    r"""Check the selected inclination of the compression field in the flange against its lower bound.

    FprEN 1992-1-1:2023 (E) art 8.2.5 (3) - Formula (8.67) and (8.68)

    Parameters
    ----------
    theta_f : DEG
        [$\theta_f$] Selected inclination of the compression field in the flange with respect to the
        longitudinal axis [$degrees$].
    """
    super().__init__()
    self.theta_f = theta_f

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_67_68.SubForm8Dot67And68LowerBound.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for the lower bound.

Source code in blueprints/codes/eurocode/fpr_en_1992_1_1_2023/chapter_8_ultimate_limit_states/formula_8_67_68.py
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for the lower bound."""
    _equation: str = r"1 \leq \cot(\theta_f)"
    return LatexFormula(
        return_symbol=r"CHECK",
        result="OK" if self.__bool__() else r"\text{Not OK}",
        equation=_equation,
        numeric_equation=latex_replace_symbols(
            template=_equation,
            replacements={r"\cot(\theta_f)": f"{cot(self.theta_f):.{n}f}"},
            unique_symbol_check=False,
        ),
        comparison_operator_label=r"\to",
        unit="",
    )

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_67_68.SubForm8Dot67And68UpperBound

SubForm8Dot67And68UpperBound(theta_f: DEG, flange_type: FLANGE_TYPE)

Bases: ComparisonFormula

Class representing the upper bound of formulas 8.67 and 8.68, [\(\cot\theta_f \leq 3,0\)] in compression flanges and [\(\cot\theta_f \leq 1,25\)] in tension flanges.

Check the selected inclination of the compression field in the flange against its upper bound.

FprEN 1992-1-1:2023 (E) art 8.2.5 (3) - Formula (8.67) and (8.68)

Parameters:

  • theta_f (DEG) –

    [\(\theta_f\)] Selected inclination of the compression field in the flange with respect to the longitudinal axis [\(degrees\)].

  • flange_type (FLANGE_TYPE) –

    Which of the two printed formulas applies: "compression" for Formula (8.67) or "tension" for Formula (8.68).

Source code in blueprints/codes/eurocode/fpr_en_1992_1_1_2023/chapter_8_ultimate_limit_states/formula_8_67_68.py
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
def __init__(self, theta_f: DEG, flange_type: FLANGE_TYPE) -> None:
    r"""Check the selected inclination of the compression field in the flange against its upper bound.

    FprEN 1992-1-1:2023 (E) art 8.2.5 (3) - Formula (8.67) and (8.68)

    Parameters
    ----------
    theta_f : DEG
        [$\theta_f$] Selected inclination of the compression field in the flange with respect to the
        longitudinal axis [$degrees$].
    flange_type : FLANGE_TYPE
        Which of the two printed formulas applies: "compression" for Formula (8.67) or "tension" for
        Formula (8.68).
    """
    super().__init__()
    self.theta_f = theta_f
    self.flange_type = flange_type

codes.eurocode.fpr_en_1992_1_1_2023.chapter_8_ultimate_limit_states.formula_8_67_68.SubForm8Dot67And68UpperBound.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for the upper bound.

Source code in blueprints/codes/eurocode/fpr_en_1992_1_1_2023/chapter_8_ultimate_limit_states/formula_8_67_68.py
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for the upper bound."""
    _equation: str = r"\cot(\theta_f) \leq limit"
    return LatexFormula(
        return_symbol=r"CHECK",
        result="OK" if self.__bool__() else r"\text{Not OK}",
        equation=_equation,
        numeric_equation=latex_replace_symbols(
            template=_equation,
            replacements={r"\cot(\theta_f)": f"{cot(self.theta_f):.{n}f}", "limit": f"{_upper_bound(self.flange_type):.{n}f}"},
            unique_symbol_check=False,
        ),
        comparison_operator_label=r"\to",
        unit="",
    )