pyflange.flangesegments
¶
Mechanical models of single-bolt flange segments.
This module contains FlangeSegment classes, which model the mechanical
behavior of a flange sector containing one bolt only. The module provides:
Gap: description of the imperfection gap between two flange faces.FlangeSegment: abstract base class defining the transfer-function interface (bolt axial force and bolt bending moment as functions of the shell pull force).PolynomialFlangeSegment: abstract base class implementing the polynomial transfer functions of refs. [1] and [2], and the parts of the model common to L- and T-flanges.PolynomialLFlangeSegmentandPolynomialLFlangeSegmentED2: polynomial L-flange segment models (the latter implementing the modifications expected in IEC 61400-6 ED2).PolynomialTFlangeSegmentandPolynomialTFlangeSegmentED2: polynomial T-flange segment models (the latter implementing the modifications expected in IEC 61400-6 ED2).bolt_markov_matrix: conversion of a flange bending-moment Markov matrix into a bolt stress Markov matrix, via the segment transfer functions.shell_stiffness: shell stiffness interpolated from tabulated FEA results.steel_yield_stress: yield stress of structural steels as a function of the thickness, used for the ULS failure modes of the flange segments.
The only types of FlangeSegment currently available are an L-Flange segment and a T-Flange segment, implementing a polynomial relation between tower shell force and bolt force / bolt moment. Nonetheless, this module has been structured to be easily extensible with other types of FlangeSegment model, such as Multilinear (Petersen) L-Flanges, Multilinear T-Flanges, etc.
Units
All parameters must be supplied in a consistent system of units, e.g. meters for lengths, newtons for forces and pascals for stresses. Angles are expressed in radians.
Example
The following example creates an L-flange segment and evaluates the bolt axial force for a given shell pull force.
from math import pi
from pyflange.bolts import StandardMetricBolt, RoundNut
from pyflange.flangesegments import Gap, PolynomialLFlangeSegment
fseg = PolynomialLFlangeSegment(
a=0.150, b=0.122, s=0.054, t=0.172, R=4.0,
central_angle=2*pi/156,
Zg=-115e3, # dead weight per bolt (compression)
bolt=StandardMetricBolt("M80", "10.9", shank_length=0.160, stud=True),
Fv=2.9e6, # bolt preload
Do=0.086, washer=None, nut=RoundNut("M80"),
gap=Gap(height=0.002, angle=pi/6))
Fs = fseg.bolt_axial_force(500e3) # bolt force for a shell pull of 500 kN
References
The reference numbers are the same in all the PyFlange modules (see the references page). This module cites:
[1]Seidel, M.: IEC 61400-6 AMD1 Background document. Fatigue design for ring flange connections in wind turbine support structures. Rev00, Siemens Gamesa, 2024.[2]IEC 61400-6:2020+AMD1:2025 CSV. Wind energy generation systems - Part 6: Tower and foundation design requirements. Consolidated version,- Equation numbers G.xx refer to its Annex G.
[3]Petersen, C.: Nachweis der Betriebsfestigkeit exzentrisch beanspruchter Ringflanschverbindungen. Stahlbau 67 (1998), pp. 191-203. https://doi.org/10.1002/stab.199800690[4]Petersen, C.: Stahlbau. 4th edition, Springer Vieweg, 2012. https://doi.org/10.1007/978-3-8348-8610-1[5]Seidel, M.: IEC 61400-6 AMD1 & ED2 Background document. Fatigue design for ring flange connections in wind turbine support structures. Rev01, draft 2026-08-04, Siemens Gamesa. The changes of the polynomial model from AMD1 to ED2 are summarised in its section 9.7.[6]Tobinaga, I.; Ishihara, T.: A study of action point correction factor for L-type flanges of wind turbine towers. Wind Energy 21 (2018), pp. 801-806. https://doi.org/10.1002/we.2193
Classes:
-
Gap–A flange gap due to imperfections.
-
FlangeSegment–Abstract base class for a flange segment.
-
PolynomialFlangeSegment–A generic FlangeSegment with polynomial transfer functions.
-
PolynomialLFlangeSegment–An L-Flange implementation of a
PolynomialFlangeSegment. -
PolynomialLFlangeSegmentED2–An L-Flange segment modeled as it will be modified in IEC 61400-6 ED2.
-
PolynomialTFlangeSegment–A T-Flange implementation of a
PolynomialFlangeSegment. -
PolynomialTFlangeSegmentED2–A T-Flange segment modeled as it will be modified in IEC 61400-6 ED2.
Functions:
-
bolt_markov_matrix–Evaluates the bolt Markov matrix from the shell Markov matrix.
-
average_shell_thickness–Average of the top and bottom shell thickness of a flange segment.
-
steel_yield_stress–Yield stress of a structural steel, as a function of the thickness.
-
shell_stiffness–Calculates the axial stiffness of a flange-segment shell via interpolation.
Gap
dataclass
¶
A flange gap due to imperfections.
The design gap height of IEC 61400-6 AMD1 is the 95% quantile of the
log-normal distribution of ref. [2], section 6.7.5.2 (see
pyflange.stats.gap_height_distribution). The gap angles to be checked
are 30°, 60°, 90° and 120° (ref. [2], section 6.7.5.3).
Attributes:
-
height(float) –Maximum longitudinal gap height.
-
angle(float) –Angle subtended by the gap arc from the flange center, in radians.
-
shape_factor(float) –Factor accounting for a shape different than sinusoidal. Defaults to 1.0 (sinusoidal gap).
FlangeSegment
¶
Bases: ABC
Abstract base class for a flange segment.
This class is meant to be extended and not to be instantiated directly.
Each FlangeSegment child class must implement the two transfer-function
methods: .bolt_axial_force(Z) and .bolt_bending_moment(Z).
Methods:
-
bolt_axial_force–Calculates the bolt axial force generated by a shell pull force.
-
bolt_bending_moment–Calculates the bolt bending moment generated by a shell pull force.
bolt_axial_force
abstractmethod
¶
Calculates the bolt axial force generated by a shell pull force.
Parameters:
-
shell_pull(float or ndarray) –The shell pull force Z.
Returns:
-
float or ndarray–The resulting bolt axial force.
bolt_bending_moment
abstractmethod
¶
Calculates the bolt bending moment generated by a shell pull force.
Parameters:
-
shell_pull(float or ndarray) –The shell pull force Z.
Returns:
-
float or ndarray–The resulting bolt bending moment.
PolynomialFlangeSegment
dataclass
¶
PolynomialFlangeSegment(a, b, s, t, R, central_angle, Zg, bolt, Fv, Do, washer, nut, gap, tilt_angle, E=210000000000.0, G=80770000000.0, s_ratio=1.0, r=0.01, k_shell=None, PPL=0.0, DFT=0.0, settlement_factor=1.0, steel_grade='S355', gamma_M0=1.1)
Bases: FlangeSegment
A generic FlangeSegment with polynomial transfer functions.
This class implements a polynomial relation between tower shell force Z and bolt axial force Fs or bolt bending moment Ms, and the parts of the polynomial model of refs. [1] and [2] that are common to L- and T-flanges. It is not meant to be instantiated directly but to be subclassed.
The polynomial transfer functions are defined by 4 reference points (ref. [2], Table G.1):
- P1: Flange segment at rest.
- P2: Flange segment at ultimate tensile limit state.
- P3: Flange segment in small tensile deformation.
- P4: Gap closure state.
The transfer functions are a quadratic polynomial through P1, P2 and P3 in the tensile domain (above the shell force at rest), a quadratic polynomial between P4 and P1 in the compressive domain, and a constant below P4. Child classes may override the tensile polynomials when the reference defines them differently (e.g. the cubic bolt moment of T-flanges).
This class evaluates the coordinates of the reference points (shell force,
bolt force and bolt moment) and the intermediate quantities that are the
same for L- and T-flanges (stiffnesses, gap closing force of a parallel
gap, stiffness correction factor, etc.). The child classes provide the
quantities that differ, through the abstract properties and methods of
this class: the flange segment length _w, the second moment of area
_I_tg, the bolt moment _bolt_moment(Z, Fs), the shell force at full
prying _ideal_shell_force_at_tensile_ULS, the total gap closing force
_total_gap_neutralization_shell_force, the displacement _u, the
segment stiffness _k_seg, the gap stiffness factor _f_tot, the
initial slope _polynomial_initial_slope and, for the ultimate limit
state, the distances between the plastic hinges _b_BD (modes B and D)
and _b_E (mode E) and the resistance of the plastic hinge in/close to
the shell _M_pl3(Z). The dataclass fields, common to all the child
classes, are documented in the child classes.
This class also implements the ultimate limit state of ref. [2],
section G.1 (Petersen/Seidel method), common to L- and T-flanges: the
ultimate shell forces of the failure modes A, B, D and E (Zu_A, Zu_B,
Zu_D, Zu_E), the ultimate shell force of the segment (Zu), the
governing failure mode (failure_mode) and the applicability check of
the polynomial model (validate). The yield stresses fy_sh and fy_fl
are derived from steel_grade and the thickness of shell and flange. All
of them are cached: create a new segment (e.g. with dataclasses.replace)
to change its parameters.
Warning
The ULS features (Zu_A, Zu_B, Zu_D, Zu_E, Zu,
failure_mode and validate) have not been thoroughly validated and
tested yet: they are covered by unit tests only, not by the
validation against the SGRE reference workbooks. Please review their
results and share your feedback at
https://github.com/kcibv/pyflange/issues.
Methods:
-
bolt_axial_force–Calculates bolt axial force from tower shell force using a polynomial.
-
bolt_bending_moment–Calculates bolt bending moment from tower shell force using a polynomial.
-
validate–Verifies the applicability of the polynomial model.
Attributes:
-
bolt_preload–float: Bolt preload after settlement and plastic losses.
-
shell_force_at_rest–Shell force when no external loads are applied (Z1).
-
bolt_force_at_rest–Bolt axial force when no external loads are applied (Fs1).
-
bolt_moment_at_rest–Bolt bending moment when no external loads are applied (Ms1).
-
shell_force_at_small_displacement–Intermediate tower shell force (Z3).
-
bolt_force_at_small_displacement–Intermediate bolt axial force (Fs3).
-
bolt_moment_at_small_displacement–Intermediate bolt bending moment (Ms3).
-
shell_force_at_tensile_ULS–Ultimate Limit State tower shell force (Z2).
-
bolt_force_at_tensile_ULS–Bolt axial force at tensile failure (Fs2).
-
bolt_moment_at_tensile_ULS–Bolt bending moment at tensile failure (Ms2).
-
shell_force_at_closed_gap–Shell force necessary to completely close the imperfection gap (Z4).
-
gap_height–Deprecated. Use
gap.heightinstead. -
gap_angle–Deprecated. Use
gap.angleinstead. -
gap_shape_factor–Deprecated. Use
gap.shape_factorinstead. -
fy_sh–Yield stress of the shell.
-
fy_fl–Yield stress of the flange.
-
Zu_A–Ultimate shell force of failure mode A, bolt failure.
-
Zu_B–Ultimate shell force of failure mode B, bolt failure with a plastic hinge in/close to the shell.
-
Zu_D–Ultimate shell force of failure mode D, plastic hinges in the bolt hole plane and in/close to the shell.
-
Zu_E–Ultimate shell force of failure mode E, plastic hinges next to the bolt hole and in/close to the shell.
-
Zu–Ultimate shell force of the flange segment.
-
failure_mode–Governing ULS failure mode: "A", "B", "D" or "E".
bolt_preload
cached
property
¶
float: Bolt preload after settlement and plastic losses.
The preload Fv is reduced by the settlement loss (function of DFT
and settlement_factor, ref. [2], section 6.7.5.1.2, eqs. 27 and 28) and
by the plastic loss (PPL * Fv, ref. [2], eq. 24).
shell_force_at_rest
cached
property
¶
Shell force when no external loads are applied (Z1).
The shell loads at rest are normally the self-weights of the structure supported by the flange.
bolt_force_at_rest
cached
property
¶
Bolt axial force when no external loads are applied (Fs1).
The bolt force at rest is just the bolt pretension.
bolt_moment_at_rest
cached
property
¶
Bolt bending moment when no external loads are applied (Ms1).
shell_force_at_small_displacement
cached
property
¶
Intermediate tower shell force (Z3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_force_at_small_displacement
cached
property
¶
Intermediate bolt axial force (Fs3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_moment_at_small_displacement
cached
property
¶
Intermediate bolt bending moment (Ms3).
shell_force_at_tensile_ULS
cached
property
¶
Ultimate Limit State tower shell force (Z2).
This is the tower shell force that brings the flange segment to its tensile ULS, evaluated according to ref. [2], Table G.1, point 2.
bolt_force_at_tensile_ULS
cached
property
¶
Bolt axial force at tensile failure (Fs2).
This is the bolt's tensile force at the shell's ULS, assuming the failure mode required by the polynomial model (B for L-flanges, A for T-flanges; ref. [2], eq. G.36), scaled by the gap shape factor.
bolt_moment_at_tensile_ULS
cached
property
¶
Bolt bending moment at tensile failure (Ms2).
shell_force_at_closed_gap
cached
property
¶
Shell force necessary to completely close the imperfection gap (Z4).
Evaluated according to ref. [2], eq. G.56.
fy_sh
cached
property
¶
Yield stress of the shell.
It depends on steel_grade and on the thinner of the top and bottom
shell, s * min(1, s_ratio), as given by steel_yield_stress.
fy_fl
cached
property
¶
Yield stress of the flange.
It depends on steel_grade and on the flange thickness t, as given
by steel_yield_stress.
Zu_A
cached
property
¶
Ultimate shell force of failure mode A, bolt failure.
Ref. [2], eq. G.2 for L-flanges (F_t,R) and eq. G.24 for T-flanges
(2 F_t,R).
Zu_B
cached
property
¶
Ultimate shell force of failure mode B, bolt failure with a plastic hinge in/close to the shell.
Ref. [2], eq. G.3 for L-flanges and eq. G.25 for T-flanges. The flange
inner length is the equivalent length a' of ref. [2], section G.1.3
(equal to a outside the validity range of eqs. G.16 and G.17).
Since the resistance of the plastic hinge depends on the segment force
(ref. [2], eq. G.11), the ultimate force is found iteratively. It is
limited to the plastic resistance of the shell in tension and of the
flange in shear (see Zu).
Zu_D
cached
property
¶
Ultimate shell force of failure mode D, plastic hinges in the bolt hole plane and in/close to the shell.
Ref. [2], eq. G.4 for L-flanges and eq. G.26 for T-flanges, with the
resistances of eqs. G.7 and G.9. Since the resistance of the plastic
hinge in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu_E
cached
property
¶
Ultimate shell force of failure mode E, plastic hinges next to the bolt hole and in/close to the shell.
Ref. [2], eq. G.5 for L-flanges and eq. G.27 for T-flanges, with the
resistance of eq. G.8. Since the resistance of the plastic hinge
in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu
cached
property
¶
Ultimate shell force of the flange segment.
This is the resistance F_u of the ULS check Z <= F_u of ref. [2],
eq. G.1: the lowest of Zu_A, Zu_B, Zu_D and Zu_E.
In addition to ref. [2], the ultimate forces of modes B, D and E are
limited to the plastic resistance of the shell in tension
(fy_sh / gamma_M0 * c * s) and of the flange in shear
(fy_fl / gamma_M0 * c * t / sqrt(3) per bolt), above which eq. G.11
is not defined.
failure_mode
cached
property
¶
Governing ULS failure mode: "A", "B", "D" or "E".
This is the mode with the lowest ultimate shell force (ref. [2], section G.1.2). In case of ties, the first mode in alphabetical order is returned.
bolt_axial_force
¶
Calculates bolt axial force from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.2, eq. G.32.
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt axial force Fs.
bolt_bending_moment
¶
Calculates bolt bending moment from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.3, eqs. G.59 (L-flanges) and G.61 (T-flanges).
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt bending moment Ms.
validate
¶
Verifies the applicability of the polynomial model.
The polynomial model is valid only if the flange fails at ULS in
failure mode B for L-flanges (ref. [2], eq. G.30) and in failure mode A
for T-flanges (ref. [2], eq. G.31). The governing mode is
failure_mode.
Raises:
-
ValueError–If the governing failure mode is not the required one.
PolynomialLFlangeSegment
dataclass
¶
PolynomialLFlangeSegment(a, b, s, t, R, central_angle, Zg, bolt, Fv, Do, washer, nut, gap, tilt_angle=0.0, E=210000000000.0, G=80770000000.0, s_ratio=1.0, r=0.01, k_shell=None, PPL=0.0, DFT=0.0, settlement_factor=1.0, steel_grade='S355', gamma_M0=1.1)
Bases: PolynomialFlangeSegment
An L-Flange implementation of a PolynomialFlangeSegment.
This class models an L-flange segment using the polynomial model from ref. [1] and [2]. It defines the reference points for the polynomial functions inherited from the parent class.
The transfer functions are available through the bolt_axial_force and
bolt_bending_moment methods, which accept either a scalar or a NumPy
array of shell pull forces.
The ultimate limit state of ref. [2], section G.1 is available through the
properties Zu_A, Zu_B, Zu_D, Zu_E (ultimate shell force of each
failure mode), Zu (the lowest of them) and failure_mode (the governing
mode). The polynomial model is valid only if failure mode B governs, which
is checked by validate().
Warning
The ULS features (Zu_A, Zu_B, Zu_D, Zu_E, Zu,
failure_mode and validate) have not been thoroughly validated and
tested yet: they are covered by unit tests only, not by the
validation against the SGRE reference workbooks. Please review their
results and share your feedback at
https://github.com/kcibv/pyflange/issues.
Attributes:
-
a(float) –Distance from inner flange face to bolt hole center.
-
b(float) –Distance from bolt hole center to shell center-line.
-
s(float) –Shell thickness.
-
t(float) –Flange thickness.
-
R(float) –Shell outer curvature radius.
-
central_angle(float) –Angle subtended by the flange segment arc.
-
Zg(float) –Load on the shell at rest (e.g., dead weight). Negative for compression.
-
bolt(Bolt) –The bolt in the flange segment.
-
Fv(float) –Design preload value before losses.
-
Do(float) –Bolt hole diameter.
-
washer(Washer) –The washer used. None if no washer.
-
nut(Nut) –The nut used.
-
gap(Gap) –The flange gap.
-
tilt_angle(float) –Flange tilt angle in radians.
-
E(float) –Young's modulus of the flange material.
-
G(float) –Shear modulus of the flange material.
-
s_ratio(float) –Ratio of bottom shell thickness to
s. -
r(float) –Radius of the rounding between shell and flange.
-
k_shell((float, callable, None)) –Shell stiffness [N/m/m]. Can be a value, a function taking the flange segment as argument and returning the stiffness, or
Noneto use the simplified formula of ref. [2], eq. G.43. -
PPL(float) –Percentage of bolt pretension loss due to plastic strain, expressed as a fraction of
Fv(e.g. 0.03 for 3%). Defaults to 0.0. -
DFT(float) –Maximum allowable dry film thickness of coating applied on the contact area between washers and flange [m]. Defaults to 0.0 m.
-
settlement_factor(float) –Factor reducing the amount of bolt settlement, to be taken as 1.0 for torque tightening and 0.5 for tension tightening. Defaults to 1.0.
-
steel_grade(str) –Steel grade of shell and flange ("S235", "S275", "S355", "S460" or "S500"), from which the yield stresses
fy_shandfy_flare derived (seesteel_yield_stress). Defaults to "S355". -
gamma_M0(float) –Material partial safety factor for the plastic resistance of shell and flange in the ULS failure modes. It does not apply to the bolt resistance, which already includes the factor 1.25 of ref. [2], eq. G.6. Defaults to 1.1.
Methods:
-
bolt_axial_force–Calculates bolt axial force from tower shell force using a polynomial.
-
bolt_bending_moment–Calculates bolt bending moment from tower shell force using a polynomial.
-
validate–Verifies the applicability of the polynomial model.
bolt_preload
cached
property
¶
float: Bolt preload after settlement and plastic losses.
The preload Fv is reduced by the settlement loss (function of DFT
and settlement_factor, ref. [2], section 6.7.5.1.2, eqs. 27 and 28) and
by the plastic loss (PPL * Fv, ref. [2], eq. 24).
shell_force_at_rest
cached
property
¶
Shell force when no external loads are applied (Z1).
The shell loads at rest are normally the self-weights of the structure supported by the flange.
bolt_force_at_rest
cached
property
¶
Bolt axial force when no external loads are applied (Fs1).
The bolt force at rest is just the bolt pretension.
bolt_moment_at_rest
cached
property
¶
Bolt bending moment when no external loads are applied (Ms1).
shell_force_at_small_displacement
cached
property
¶
Intermediate tower shell force (Z3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_force_at_small_displacement
cached
property
¶
Intermediate bolt axial force (Fs3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_moment_at_small_displacement
cached
property
¶
Intermediate bolt bending moment (Ms3).
shell_force_at_tensile_ULS
cached
property
¶
Ultimate Limit State tower shell force (Z2).
This is the tower shell force that brings the flange segment to its tensile ULS, evaluated according to ref. [2], Table G.1, point 2.
bolt_force_at_tensile_ULS
cached
property
¶
Bolt axial force at tensile failure (Fs2).
This is the bolt's tensile force at the shell's ULS, assuming the failure mode required by the polynomial model (B for L-flanges, A for T-flanges; ref. [2], eq. G.36), scaled by the gap shape factor.
bolt_moment_at_tensile_ULS
cached
property
¶
Bolt bending moment at tensile failure (Ms2).
shell_force_at_closed_gap
cached
property
¶
Shell force necessary to completely close the imperfection gap (Z4).
Evaluated according to ref. [2], eq. G.56.
fy_sh
cached
property
¶
Yield stress of the shell.
It depends on steel_grade and on the thinner of the top and bottom
shell, s * min(1, s_ratio), as given by steel_yield_stress.
fy_fl
cached
property
¶
Yield stress of the flange.
It depends on steel_grade and on the flange thickness t, as given
by steel_yield_stress.
Zu_A
cached
property
¶
Ultimate shell force of failure mode A, bolt failure.
Ref. [2], eq. G.2 for L-flanges (F_t,R) and eq. G.24 for T-flanges
(2 F_t,R).
Zu_B
cached
property
¶
Ultimate shell force of failure mode B, bolt failure with a plastic hinge in/close to the shell.
Ref. [2], eq. G.3 for L-flanges and eq. G.25 for T-flanges. The flange
inner length is the equivalent length a' of ref. [2], section G.1.3
(equal to a outside the validity range of eqs. G.16 and G.17).
Since the resistance of the plastic hinge depends on the segment force
(ref. [2], eq. G.11), the ultimate force is found iteratively. It is
limited to the plastic resistance of the shell in tension and of the
flange in shear (see Zu).
Zu_D
cached
property
¶
Ultimate shell force of failure mode D, plastic hinges in the bolt hole plane and in/close to the shell.
Ref. [2], eq. G.4 for L-flanges and eq. G.26 for T-flanges, with the
resistances of eqs. G.7 and G.9. Since the resistance of the plastic
hinge in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu_E
cached
property
¶
Ultimate shell force of failure mode E, plastic hinges next to the bolt hole and in/close to the shell.
Ref. [2], eq. G.5 for L-flanges and eq. G.27 for T-flanges, with the
resistance of eq. G.8. Since the resistance of the plastic hinge
in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu
cached
property
¶
Ultimate shell force of the flange segment.
This is the resistance F_u of the ULS check Z <= F_u of ref. [2],
eq. G.1: the lowest of Zu_A, Zu_B, Zu_D and Zu_E.
In addition to ref. [2], the ultimate forces of modes B, D and E are
limited to the plastic resistance of the shell in tension
(fy_sh / gamma_M0 * c * s) and of the flange in shear
(fy_fl / gamma_M0 * c * t / sqrt(3) per bolt), above which eq. G.11
is not defined.
failure_mode
cached
property
¶
Governing ULS failure mode: "A", "B", "D" or "E".
This is the mode with the lowest ultimate shell force (ref. [2], section G.1.2). In case of ties, the first mode in alphabetical order is returned.
bolt_axial_force
¶
Calculates bolt axial force from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.2, eq. G.32.
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt axial force Fs.
bolt_bending_moment
¶
Calculates bolt bending moment from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.3, eqs. G.59 (L-flanges) and G.61 (T-flanges).
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt bending moment Ms.
validate
¶
Verifies the applicability of the polynomial model.
The polynomial model is valid only if the flange fails at ULS in
failure mode B for L-flanges (ref. [2], eq. G.30) and in failure mode A
for T-flanges (ref. [2], eq. G.31). The governing mode is
failure_mode.
Raises:
-
ValueError–If the governing failure mode is not the required one.
PolynomialLFlangeSegmentED2
dataclass
¶
PolynomialLFlangeSegmentED2(a, b, s, t, R, central_angle, Zg, bolt, Fv, Do, washer, nut, gap, tilt_angle=0.0, E=210000000000.0, G=80770000000.0, s_ratio=1.0, r=0.01, k_shell=None, PPL=0.0, DFT=0.0, settlement_factor=1.0, steel_grade='S355', gamma_M0=1.1)
Bases: PolynomialLFlangeSegment
An L-Flange segment modeled as it will be modified in IEC 61400-6 ED2.
This class has the same parameters and interface as PolynomialLFlangeSegment,
but it replaces the a* parameter, the parallel-gap closing force and the
gap stiffness with the formulations that will be introduced in
IEC 61400-6 ED2 (ref. [5], section 9.7, changes #1 to #3).
Methods:
-
bolt_axial_force–Calculates bolt axial force from tower shell force using a polynomial.
-
bolt_bending_moment–Calculates bolt bending moment from tower shell force using a polynomial.
-
validate–Verifies the applicability of the polynomial model.
Attributes:
-
bolt_preload–float: Bolt preload after settlement and plastic losses.
-
shell_force_at_rest–Shell force when no external loads are applied (Z1).
-
bolt_force_at_rest–Bolt axial force when no external loads are applied (Fs1).
-
bolt_moment_at_rest–Bolt bending moment when no external loads are applied (Ms1).
-
shell_force_at_small_displacement–Intermediate tower shell force (Z3).
-
bolt_force_at_small_displacement–Intermediate bolt axial force (Fs3).
-
bolt_moment_at_small_displacement–Intermediate bolt bending moment (Ms3).
-
shell_force_at_tensile_ULS–Ultimate Limit State tower shell force (Z2).
-
bolt_force_at_tensile_ULS–Bolt axial force at tensile failure (Fs2).
-
bolt_moment_at_tensile_ULS–Bolt bending moment at tensile failure (Ms2).
-
shell_force_at_closed_gap–Shell force necessary to completely close the imperfection gap (Z4).
-
gap_height–Deprecated. Use
gap.heightinstead. -
gap_angle–Deprecated. Use
gap.angleinstead. -
gap_shape_factor–Deprecated. Use
gap.shape_factorinstead. -
fy_sh–Yield stress of the shell.
-
fy_fl–Yield stress of the flange.
-
Zu_A–Ultimate shell force of failure mode A, bolt failure.
-
Zu_B–Ultimate shell force of failure mode B, bolt failure with a plastic hinge in/close to the shell.
-
Zu_D–Ultimate shell force of failure mode D, plastic hinges in the bolt hole plane and in/close to the shell.
-
Zu_E–Ultimate shell force of failure mode E, plastic hinges next to the bolt hole and in/close to the shell.
-
Zu–Ultimate shell force of the flange segment.
-
failure_mode–Governing ULS failure mode: "A", "B", "D" or "E".
bolt_preload
cached
property
¶
float: Bolt preload after settlement and plastic losses.
The preload Fv is reduced by the settlement loss (function of DFT
and settlement_factor, ref. [2], section 6.7.5.1.2, eqs. 27 and 28) and
by the plastic loss (PPL * Fv, ref. [2], eq. 24).
shell_force_at_rest
cached
property
¶
Shell force when no external loads are applied (Z1).
The shell loads at rest are normally the self-weights of the structure supported by the flange.
bolt_force_at_rest
cached
property
¶
Bolt axial force when no external loads are applied (Fs1).
The bolt force at rest is just the bolt pretension.
bolt_moment_at_rest
cached
property
¶
Bolt bending moment when no external loads are applied (Ms1).
shell_force_at_small_displacement
cached
property
¶
Intermediate tower shell force (Z3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_force_at_small_displacement
cached
property
¶
Intermediate bolt axial force (Fs3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_moment_at_small_displacement
cached
property
¶
Intermediate bolt bending moment (Ms3).
shell_force_at_tensile_ULS
cached
property
¶
Ultimate Limit State tower shell force (Z2).
This is the tower shell force that brings the flange segment to its tensile ULS, evaluated according to ref. [2], Table G.1, point 2.
bolt_force_at_tensile_ULS
cached
property
¶
Bolt axial force at tensile failure (Fs2).
This is the bolt's tensile force at the shell's ULS, assuming the failure mode required by the polynomial model (B for L-flanges, A for T-flanges; ref. [2], eq. G.36), scaled by the gap shape factor.
bolt_moment_at_tensile_ULS
cached
property
¶
Bolt bending moment at tensile failure (Ms2).
shell_force_at_closed_gap
cached
property
¶
Shell force necessary to completely close the imperfection gap (Z4).
Evaluated according to ref. [2], eq. G.56.
fy_sh
cached
property
¶
Yield stress of the shell.
It depends on steel_grade and on the thinner of the top and bottom
shell, s * min(1, s_ratio), as given by steel_yield_stress.
fy_fl
cached
property
¶
Yield stress of the flange.
It depends on steel_grade and on the flange thickness t, as given
by steel_yield_stress.
Zu_A
cached
property
¶
Ultimate shell force of failure mode A, bolt failure.
Ref. [2], eq. G.2 for L-flanges (F_t,R) and eq. G.24 for T-flanges
(2 F_t,R).
Zu_B
cached
property
¶
Ultimate shell force of failure mode B, bolt failure with a plastic hinge in/close to the shell.
Ref. [2], eq. G.3 for L-flanges and eq. G.25 for T-flanges. The flange
inner length is the equivalent length a' of ref. [2], section G.1.3
(equal to a outside the validity range of eqs. G.16 and G.17).
Since the resistance of the plastic hinge depends on the segment force
(ref. [2], eq. G.11), the ultimate force is found iteratively. It is
limited to the plastic resistance of the shell in tension and of the
flange in shear (see Zu).
Zu_D
cached
property
¶
Ultimate shell force of failure mode D, plastic hinges in the bolt hole plane and in/close to the shell.
Ref. [2], eq. G.4 for L-flanges and eq. G.26 for T-flanges, with the
resistances of eqs. G.7 and G.9. Since the resistance of the plastic
hinge in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu_E
cached
property
¶
Ultimate shell force of failure mode E, plastic hinges next to the bolt hole and in/close to the shell.
Ref. [2], eq. G.5 for L-flanges and eq. G.27 for T-flanges, with the
resistance of eq. G.8. Since the resistance of the plastic hinge
in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu
cached
property
¶
Ultimate shell force of the flange segment.
This is the resistance F_u of the ULS check Z <= F_u of ref. [2],
eq. G.1: the lowest of Zu_A, Zu_B, Zu_D and Zu_E.
In addition to ref. [2], the ultimate forces of modes B, D and E are
limited to the plastic resistance of the shell in tension
(fy_sh / gamma_M0 * c * s) and of the flange in shear
(fy_fl / gamma_M0 * c * t / sqrt(3) per bolt), above which eq. G.11
is not defined.
failure_mode
cached
property
¶
Governing ULS failure mode: "A", "B", "D" or "E".
This is the mode with the lowest ultimate shell force (ref. [2], section G.1.2). In case of ties, the first mode in alphabetical order is returned.
bolt_axial_force
¶
Calculates bolt axial force from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.2, eq. G.32.
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt axial force Fs.
bolt_bending_moment
¶
Calculates bolt bending moment from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.3, eqs. G.59 (L-flanges) and G.61 (T-flanges).
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt bending moment Ms.
validate
¶
Verifies the applicability of the polynomial model.
The polynomial model is valid only if the flange fails at ULS in
failure mode B for L-flanges (ref. [2], eq. G.30) and in failure mode A
for T-flanges (ref. [2], eq. G.31). The governing mode is
failure_mode.
Raises:
-
ValueError–If the governing failure mode is not the required one.
PolynomialTFlangeSegment
dataclass
¶
PolynomialTFlangeSegment(a, b, s, t, R, central_angle, Zg, bolt, Fv, Do, washer, nut, gap, tilt_angle, E=210000000000.0, G=80770000000.0, s_ratio=1.0, r=0.01, k_shell=None, PPL=0.0, DFT=0.0, settlement_factor=1.0, steel_grade='S355', gamma_M0=1.1)
Bases: PolynomialFlangeSegment
A T-Flange implementation of a PolynomialFlangeSegment.
This class models a T-flange segment using the polynomial model from ref. [1] and [2]. It defines the reference points for the polynomial functions inherited from the parent class. The segment contains a pair of bolts, one on each side of the shell.
The transfer functions are available through the bolt_axial_force and
bolt_bending_moment methods, which accept either a scalar or a NumPy
array of shell pull forces. Differently from the L-flange, the bolt
bending moment in the tensile domain is a cubic polynomial (ref. [2],
eq. G.61).
The ultimate limit state of ref. [2], section G.1 is available through the
properties Zu_A, Zu_B, Zu_D, Zu_E (ultimate shell force of each
failure mode, per bolt pair), Zu (the lowest of them) and failure_mode
(the governing mode). The polynomial model is valid only if failure mode A
governs, which is checked by validate().
Warning
The ULS features (Zu_A, Zu_B, Zu_D, Zu_E, Zu,
failure_mode and validate) have not been thoroughly validated and
tested yet: they are covered by unit tests only, not by the
validation against the SGRE reference workbooks. Please review their
results and share your feedback at
https://github.com/kcibv/pyflange/issues.
Attributes:
-
a(float) –Distance from inner flange face to bolt hole center.
-
b(float) –Distance from bolt hole center to shell center-line.
-
s(float) –Shell thickness.
-
t(float) –Flange thickness.
-
R(float) –Shell outer curvature radius.
-
central_angle(float) –Angle subtended by the flange segment arc.
-
Zg(float) –Load on the shell at rest (e.g., dead weight), per bolt pair. Negative for compression.
-
bolt(Bolt) –The bolt in the flange segment.
-
Fv(float) –Design preload value before losses.
-
Do(float) –Bolt hole diameter.
-
washer(Washer) –The washer used. None if no washer.
-
nut(Nut) –The nut used.
-
gap(Gap) –The flange gap.
-
tilt_angle(float) –Flange tilt angle in radians. It has no default value, because ref. [2], section G.2.4, requires the inclination of T-flanges to be always considered: pass 0.0 explicitly only if the taper of the flange ensures that the first point of contact is directly below the tower wall (ref. [2], section 6.7.5.3).
-
E(float) –Young's modulus of the flange material.
-
G(float) –Shear modulus of the flange material.
-
s_ratio(float) –Ratio of bottom shell thickness to
s. -
r(float) –Radius of the rounding between shell and flange.
-
k_shell((float, callable, None)) –Shell stiffness [N/m/m]. Can be a value, a function taking the flange segment as argument and returning the stiffness, or
Noneto use the simplified formula of ref. [2], eq. G.43. -
PPL(float) –Percentage of bolt pretension loss due to plastic strain, expressed as a fraction of
Fv(e.g. 0.03 for 3%). Defaults to 0.0. -
DFT(float) –Maximum allowable dry film thickness of coating applied on the contact area between washers and flange [m]. Defaults to 0.0 m.
-
settlement_factor(float) –Factor reducing the amount of bolt settlement, to be taken as 1.0 for torque tightening and 0.5 for tension tightening. Defaults to 1.0.
-
steel_grade(str) –Steel grade of shell and flange ("S235", "S275", "S355", "S460" or "S500"), from which the yield stresses
fy_shandfy_flare derived (seesteel_yield_stress). Defaults to "S355". -
gamma_M0(float) –Material partial safety factor for the plastic resistance of shell and flange in the ULS failure modes. It does not apply to the bolt resistance, which already includes the factor 1.25 of ref. [2], eq. G.6. Defaults to 1.1.
Methods:
-
bolt_axial_force–Calculates bolt axial force from tower shell force using a polynomial.
-
bolt_bending_moment–Calculates bolt bending moment from tower shell force using a polynomial.
-
validate–Verifies the applicability of the polynomial model.
bolt_preload
cached
property
¶
float: Bolt preload after settlement and plastic losses.
The preload Fv is reduced by the settlement loss (function of DFT
and settlement_factor, ref. [2], section 6.7.5.1.2, eqs. 27 and 28) and
by the plastic loss (PPL * Fv, ref. [2], eq. 24).
shell_force_at_rest
cached
property
¶
Shell force when no external loads are applied (Z1).
The shell loads at rest are normally the self-weights of the structure supported by the flange.
bolt_force_at_rest
cached
property
¶
Bolt axial force when no external loads are applied (Fs1).
The bolt force at rest is just the bolt pretension.
bolt_moment_at_rest
cached
property
¶
Bolt bending moment when no external loads are applied (Ms1).
shell_force_at_small_displacement
cached
property
¶
Intermediate tower shell force (Z3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_force_at_small_displacement
cached
property
¶
Intermediate bolt axial force (Fs3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_moment_at_small_displacement
cached
property
¶
Intermediate bolt bending moment (Ms3).
shell_force_at_tensile_ULS
cached
property
¶
Ultimate Limit State tower shell force (Z2).
This is the tower shell force that brings the flange segment to its tensile ULS, evaluated according to ref. [2], Table G.1, point 2.
bolt_force_at_tensile_ULS
cached
property
¶
Bolt axial force at tensile failure (Fs2).
This is the bolt's tensile force at the shell's ULS, assuming the failure mode required by the polynomial model (B for L-flanges, A for T-flanges; ref. [2], eq. G.36), scaled by the gap shape factor.
bolt_moment_at_tensile_ULS
cached
property
¶
Bolt bending moment at tensile failure (Ms2).
shell_force_at_closed_gap
cached
property
¶
Shell force necessary to completely close the imperfection gap (Z4).
Evaluated according to ref. [2], eq. G.56.
fy_sh
cached
property
¶
Yield stress of the shell.
It depends on steel_grade and on the thinner of the top and bottom
shell, s * min(1, s_ratio), as given by steel_yield_stress.
fy_fl
cached
property
¶
Yield stress of the flange.
It depends on steel_grade and on the flange thickness t, as given
by steel_yield_stress.
Zu_A
cached
property
¶
Ultimate shell force of failure mode A, bolt failure.
Ref. [2], eq. G.2 for L-flanges (F_t,R) and eq. G.24 for T-flanges
(2 F_t,R).
Zu_B
cached
property
¶
Ultimate shell force of failure mode B, bolt failure with a plastic hinge in/close to the shell.
Ref. [2], eq. G.3 for L-flanges and eq. G.25 for T-flanges. The flange
inner length is the equivalent length a' of ref. [2], section G.1.3
(equal to a outside the validity range of eqs. G.16 and G.17).
Since the resistance of the plastic hinge depends on the segment force
(ref. [2], eq. G.11), the ultimate force is found iteratively. It is
limited to the plastic resistance of the shell in tension and of the
flange in shear (see Zu).
Zu_D
cached
property
¶
Ultimate shell force of failure mode D, plastic hinges in the bolt hole plane and in/close to the shell.
Ref. [2], eq. G.4 for L-flanges and eq. G.26 for T-flanges, with the
resistances of eqs. G.7 and G.9. Since the resistance of the plastic
hinge in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu_E
cached
property
¶
Ultimate shell force of failure mode E, plastic hinges next to the bolt hole and in/close to the shell.
Ref. [2], eq. G.5 for L-flanges and eq. G.27 for T-flanges, with the
resistance of eq. G.8. Since the resistance of the plastic hinge
in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu
cached
property
¶
Ultimate shell force of the flange segment.
This is the resistance F_u of the ULS check Z <= F_u of ref. [2],
eq. G.1: the lowest of Zu_A, Zu_B, Zu_D and Zu_E.
In addition to ref. [2], the ultimate forces of modes B, D and E are
limited to the plastic resistance of the shell in tension
(fy_sh / gamma_M0 * c * s) and of the flange in shear
(fy_fl / gamma_M0 * c * t / sqrt(3) per bolt), above which eq. G.11
is not defined.
failure_mode
cached
property
¶
Governing ULS failure mode: "A", "B", "D" or "E".
This is the mode with the lowest ultimate shell force (ref. [2], section G.1.2). In case of ties, the first mode in alphabetical order is returned.
bolt_axial_force
¶
Calculates bolt axial force from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.2, eq. G.32.
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt axial force Fs.
bolt_bending_moment
¶
Calculates bolt bending moment from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.3, eqs. G.59 (L-flanges) and G.61 (T-flanges).
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt bending moment Ms.
validate
¶
Verifies the applicability of the polynomial model.
The polynomial model is valid only if the flange fails at ULS in
failure mode B for L-flanges (ref. [2], eq. G.30) and in failure mode A
for T-flanges (ref. [2], eq. G.31). The governing mode is
failure_mode.
Raises:
-
ValueError–If the governing failure mode is not the required one.
PolynomialTFlangeSegmentED2
dataclass
¶
PolynomialTFlangeSegmentED2(a, b, s, t, R, central_angle, Zg, bolt, Fv, Do, washer, nut, gap, tilt_angle, E=210000000000.0, G=80770000000.0, s_ratio=1.0, r=0.01, k_shell=None, PPL=0.0, DFT=0.0, settlement_factor=1.0, steel_grade='S355', gamma_M0=1.1)
Bases: PolynomialTFlangeSegment
A T-Flange segment modeled as it will be modified in IEC 61400-6 ED2.
This class has the same parameters and interface as PolynomialTFlangeSegment,
but it replaces the gap stiffness with the formulation that will be introduced
in IEC 61400-6 ED2 (ref. [5], sections 9.3.3 and 9.7, change #2). The other
ED2 changes of ref. [5], section 9.7 (torsional correction factor and a*)
only concern L-flanges.
Methods:
-
bolt_axial_force–Calculates bolt axial force from tower shell force using a polynomial.
-
bolt_bending_moment–Calculates bolt bending moment from tower shell force using a polynomial.
-
validate–Verifies the applicability of the polynomial model.
Attributes:
-
bolt_preload–float: Bolt preload after settlement and plastic losses.
-
shell_force_at_rest–Shell force when no external loads are applied (Z1).
-
bolt_force_at_rest–Bolt axial force when no external loads are applied (Fs1).
-
bolt_moment_at_rest–Bolt bending moment when no external loads are applied (Ms1).
-
shell_force_at_small_displacement–Intermediate tower shell force (Z3).
-
bolt_force_at_small_displacement–Intermediate bolt axial force (Fs3).
-
bolt_moment_at_small_displacement–Intermediate bolt bending moment (Ms3).
-
shell_force_at_tensile_ULS–Ultimate Limit State tower shell force (Z2).
-
bolt_force_at_tensile_ULS–Bolt axial force at tensile failure (Fs2).
-
bolt_moment_at_tensile_ULS–Bolt bending moment at tensile failure (Ms2).
-
shell_force_at_closed_gap–Shell force necessary to completely close the imperfection gap (Z4).
-
gap_height–Deprecated. Use
gap.heightinstead. -
gap_angle–Deprecated. Use
gap.angleinstead. -
gap_shape_factor–Deprecated. Use
gap.shape_factorinstead. -
fy_sh–Yield stress of the shell.
-
fy_fl–Yield stress of the flange.
-
Zu_A–Ultimate shell force of failure mode A, bolt failure.
-
Zu_B–Ultimate shell force of failure mode B, bolt failure with a plastic hinge in/close to the shell.
-
Zu_D–Ultimate shell force of failure mode D, plastic hinges in the bolt hole plane and in/close to the shell.
-
Zu_E–Ultimate shell force of failure mode E, plastic hinges next to the bolt hole and in/close to the shell.
-
Zu–Ultimate shell force of the flange segment.
-
failure_mode–Governing ULS failure mode: "A", "B", "D" or "E".
bolt_preload
cached
property
¶
float: Bolt preload after settlement and plastic losses.
The preload Fv is reduced by the settlement loss (function of DFT
and settlement_factor, ref. [2], section 6.7.5.1.2, eqs. 27 and 28) and
by the plastic loss (PPL * Fv, ref. [2], eq. 24).
shell_force_at_rest
cached
property
¶
Shell force when no external loads are applied (Z1).
The shell loads at rest are normally the self-weights of the structure supported by the flange.
bolt_force_at_rest
cached
property
¶
Bolt axial force when no external loads are applied (Fs1).
The bolt force at rest is just the bolt pretension.
bolt_moment_at_rest
cached
property
¶
Bolt bending moment when no external loads are applied (Ms1).
shell_force_at_small_displacement
cached
property
¶
Intermediate tower shell force (Z3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_force_at_small_displacement
cached
property
¶
Intermediate bolt axial force (Fs3).
This auxiliary point gives the polynomial the right initial slope, evaluated according to ref. [2], Table G.1, point 3.
bolt_moment_at_small_displacement
cached
property
¶
Intermediate bolt bending moment (Ms3).
shell_force_at_tensile_ULS
cached
property
¶
Ultimate Limit State tower shell force (Z2).
This is the tower shell force that brings the flange segment to its tensile ULS, evaluated according to ref. [2], Table G.1, point 2.
bolt_force_at_tensile_ULS
cached
property
¶
Bolt axial force at tensile failure (Fs2).
This is the bolt's tensile force at the shell's ULS, assuming the failure mode required by the polynomial model (B for L-flanges, A for T-flanges; ref. [2], eq. G.36), scaled by the gap shape factor.
bolt_moment_at_tensile_ULS
cached
property
¶
Bolt bending moment at tensile failure (Ms2).
shell_force_at_closed_gap
cached
property
¶
Shell force necessary to completely close the imperfection gap (Z4).
Evaluated according to ref. [2], eq. G.56.
fy_sh
cached
property
¶
Yield stress of the shell.
It depends on steel_grade and on the thinner of the top and bottom
shell, s * min(1, s_ratio), as given by steel_yield_stress.
fy_fl
cached
property
¶
Yield stress of the flange.
It depends on steel_grade and on the flange thickness t, as given
by steel_yield_stress.
Zu_A
cached
property
¶
Ultimate shell force of failure mode A, bolt failure.
Ref. [2], eq. G.2 for L-flanges (F_t,R) and eq. G.24 for T-flanges
(2 F_t,R).
Zu_B
cached
property
¶
Ultimate shell force of failure mode B, bolt failure with a plastic hinge in/close to the shell.
Ref. [2], eq. G.3 for L-flanges and eq. G.25 for T-flanges. The flange
inner length is the equivalent length a' of ref. [2], section G.1.3
(equal to a outside the validity range of eqs. G.16 and G.17).
Since the resistance of the plastic hinge depends on the segment force
(ref. [2], eq. G.11), the ultimate force is found iteratively. It is
limited to the plastic resistance of the shell in tension and of the
flange in shear (see Zu).
Zu_D
cached
property
¶
Ultimate shell force of failure mode D, plastic hinges in the bolt hole plane and in/close to the shell.
Ref. [2], eq. G.4 for L-flanges and eq. G.26 for T-flanges, with the
resistances of eqs. G.7 and G.9. Since the resistance of the plastic
hinge in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu_E
cached
property
¶
Ultimate shell force of failure mode E, plastic hinges next to the bolt hole and in/close to the shell.
Ref. [2], eq. G.5 for L-flanges and eq. G.27 for T-flanges, with the
resistance of eq. G.8. Since the resistance of the plastic hinge
in/close to the shell depends on the segment force (ref. [2],
eq. G.11), the ultimate force is found iteratively. It is limited to
the plastic resistance of the shell in tension and of the flange in
shear (see Zu).
Zu
cached
property
¶
Ultimate shell force of the flange segment.
This is the resistance F_u of the ULS check Z <= F_u of ref. [2],
eq. G.1: the lowest of Zu_A, Zu_B, Zu_D and Zu_E.
In addition to ref. [2], the ultimate forces of modes B, D and E are
limited to the plastic resistance of the shell in tension
(fy_sh / gamma_M0 * c * s) and of the flange in shear
(fy_fl / gamma_M0 * c * t / sqrt(3) per bolt), above which eq. G.11
is not defined.
failure_mode
cached
property
¶
Governing ULS failure mode: "A", "B", "D" or "E".
This is the mode with the lowest ultimate shell force (ref. [2], section G.1.2). In case of ties, the first mode in alphabetical order is returned.
bolt_axial_force
¶
Calculates bolt axial force from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.2, eq. G.32.
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt axial force Fs.
bolt_bending_moment
¶
Calculates bolt bending moment from tower shell force using a polynomial.
The relation is defined as a polynomial function based on ref. [2], section G.2.3, eqs. G.59 (L-flanges) and G.61 (T-flanges).
Parameters:
-
shell_pull(float or ndarray) –The tower shell force Z.
Returns:
-
float or ndarray–The corresponding bolt bending moment Ms.
validate
¶
Verifies the applicability of the polynomial model.
The polynomial model is valid only if the flange fails at ULS in
failure mode B for L-flanges (ref. [2], eq. G.30) and in failure mode A
for T-flanges (ref. [2], eq. G.31). The governing mode is
failure_mode.
Raises:
-
ValueError–If the governing failure mode is not the required one.
bolt_markov_matrix
¶
bolt_markov_matrix(fseg, flange_markov_matrix, bending_factor=0.0, macro_geometric_factor=1.0, mean_factor=1.0, range_factor=1.0, SMF=1.0)
Evaluates the bolt Markov matrix from the shell Markov matrix.
The flange bending moment ranges and means are converted into shell pull
forces acting on the flange segment, and then into minimum and maximum bolt
stresses through the transfer functions of the flange segment. The bolt
stress is the sum of the axial stress and of the bending stress scaled by
bending_factor, evaluated on the bolt thread cross-section, according
to ref. [2], section 6.7.5.4, eq. (42).
The flange bending moment M is converted into the segment shell force as Z = M / W * A_seg (ref. [2], eq. G.33), where W is the section modulus of the tower shell, evaluated at the shell mid-surface, and A_seg the shell cross-section area of the segment.
Parameters:
-
fseg(PolynomialFlangeSegment) –The flange segment containing the transfer functions. WARNING: Currently only works with PolynomialFlangeSegments.
-
flange_markov_matrix(MarkovMatrix) –The Markov matrix of bending moments on the flange.
-
bending_factor(float, default:0.0) –Factor for the bending portion of the total stress range (kappa_b of ref. [2], eq. (43)). Defaults to 0.0 (axial stress only).
-
macro_geometric_factor(float, default:1.0) –Factor for macro geometric influences (the SCF of ref. [2], section 6.7.5.3), affecting dead weight, mean, and range values. If omitted, it defaults to 1.0.
-
mean_factor(float, default:1.0) –Factor for the mean values of the tower's bending moments. If omitted, it defaults to 1.0.
-
range_factor(float, default:1.0) –Factor for the range of the tower's bending moments. If omitted, it defaults to 1.0.
-
SMF(float, default:1.0) –Stress Multiplication Factor to be applied to bolt Markov matrix stress ranges. If omitted, it defaults to 1.0.
Returns:
-
MarkovMatrix–The bolt's Markov matrix representing the stress history. Its cycles and duration are the same as the flange Markov matrix.
average_shell_thickness
¶
Average of the top and bottom shell thickness of a flange segment.
This is the shell thickness to pass to shell_stiffness, the same
average used by the simplified shell stiffness formula of ref. [2],
eqs. G.43 and G.44.
Example
Parameters:
-
s(float) –Thickness of the shell above the flange.
-
s_ratio(float, default:1.0) –Ratio of the bottom shell thickness over
s. Defaults to 1.0.
Returns:
-
float–The average shell thickness
s * (1 + s_ratio) / 2.
steel_yield_stress
¶
Yield stress of a structural steel, as a function of the thickness.
The values are those of EN 10025-2, in Pa, for the thickness classes up to 16, 40, 63, 80, 100, 150, 200, 250 and 400 mm:
| Grade | ≤ 16 | ≤ 40 | ≤ 63 | ≤ 80 | ≤ 100 | ≤ 150 | ≤ 200 | ≤ 250 | ≤ 400 |
|---|---|---|---|---|---|---|---|---|---|
| S235 | 235 | 225 | 215 | 215 | 215 | 195 | 185 | 175 | 165 |
| S275 | 275 | 265 | 255 | 245 | 235 | 225 | 215 | 205 | 195 |
| S355 | 355 | 345 | 335 | 325 | 315 | 295 | 285 | 275 | 265 |
| S460 | 460 | 440 | 420 | 400 | 390 | 390 | 390 | 390 | 390 |
| S500 | 500 | 480 | 460 | 450 | 450 | 450 | 450 | 450 | 450 |
(values in MPa). The table is stored in the package database
flangesegments.steel_yield_stress. Unlike the rest of the module, this
function requires SI units: thickness in m, result in Pa.
Example
Parameters:
-
grade(str) –Steel grade: "S235", "S275", "S355", "S460" or "S500".
-
thickness(float) –Thickness of the steel plate or forging, in m.
Returns:
-
float–The yield stress, in Pa.
Raises:
-
ValueError–If the grade is not in the table, or if the thickness is not positive or exceeds 400 mm.
shell_stiffness
¶
Calculates the axial stiffness of a flange-segment shell via interpolation.
This function interpolates shell stiffness from a dataset of 2160 FEA results,
covering 8 diameters (3 m to 10 m), 15 shell thicknesses (10 mm to 150 mm)
and 18 gap angles (10° to 180°). This is the database of pre-computed
stiffness values described in ref. [5], section 9.3.1, as an alternative
to the simplified formula of ref. [2], eqs. G.43 and G.44.
Values outside the range covered by the dataset are not extrapolated, and
nan is returned instead.
The shell thickness to pass is the average of the top and bottom shell
thickness of the flange segment, s * (1 + s_ratio) / 2 (see
average_shell_thickness), as in the simplified formula: passing s
underestimates the stiffness when s_ratio > 1.
Example
Parameters:
-
shell_radius(float) –Outer radius of the shell.
-
shell_thickness(float) –Average thickness of the top and bottom shell (see
average_shell_thickness). -
gap_angle(float) –Angular length of the flange gap in radians.
Returns:
-
float–The interpolated shell stiffness (K_sh), or
nanif the arguments are outside the dataset range.