pyflange.gap
The gap
module contains tools for modelling flange gaps.
It corrently contains only one gap model, that is the sinusoidal gap, as defined in ref. [1], section 6.7.5.2.
REFERENCES
- [1] IEC 61400-6:2020/AMD1:2024 - Wind Energy Generation Systems - Part 6: Tower and foundation design requirements
gap_height_distribution(flange_diameter, flange_flatness_tolerance, gap_length)
Evaluate the gap heigh probability distribution according to ref. [1].
Parameters: |
|
---|
Returns: |
|
---|
The following example, creates a gap distribution and the calculates the 95% quantile of the gap height
from pyflange.gap import gap_height_distribution
D = 7.50 # Flange diameter in meters
u = 0.0014 # Flatness tolerance (non-dimensional)
L = 1.22 # Gap length
gap_dist = gap_height_distribution(D, u, L) # a lognorm distribution object
u95 = gap_dist.ppf(0.95) # PPF is the inverse of CDF. See scipy.stats.lognorm documentation.