Changelog¶
The notable changes of each PyFlange version. The complete history is available in the GitHub repository.
0.15.0 (2026-11-02)¶
PolynomialLFlangeSegmentED2validated against the SGRE ED2 reference workbook (case L15, D8000 L-flange with ED2 design gap heights).- Validation script: without case files it runs all the cases; new options
--model,--flange-typeand--list. The L-flange segments are built throughpyflange.io, so the validation covers the JSON case code path. - Fixed: interpolated shell stiffness for
s_ratio != 1. With"k_shell": "interp"in a JSON case (create_flangesegment, the Monte Carlo sampler,create_realization,pyflange determ --gap-angle) and instandard_PolynomialLFlangeSegment_sampler, the shell stiffness is now interpolated for the average thickness of the top and bottom shell,s * (1 + s_ratio) / 2, as in the simplified formula (eqs. G.43/G.44) and in the SGRE validation workbooks, instead ofs. This changes the results whenevers_ratio != 1: kshell is higher and the damages differ (e.g. D 8 m, s = 37.2 mm, s_ratio = 2.15: kshell at 30° from 1853 to 2942 MN/m, ED2 damage at 90°–120° up to 28 % higher). Results withs_ratio = 1are unchanged. - New
flangesegments.average_shell_thickness, the thickness to pass toshell_stiffness. stats.standard_markov_matrix_sampler: the default CoV of the load range factor XFLS is now 0.168 instead of 0.12 (refs. [1], Table 7, and [5], Table 8). Calls passingrange_CoVexplicitly and JSON cases (which always give theLoadRangeFactorCoV) are unchanged. The example casefatigue-case.jsonand the Monte Carlo tutorials now use 0.168 too.
0.14.0 (2026-10-23)¶
- Model aligned with the published IEC 61400-6:2020+AMD1:2025: docstrings cite the published equation numbers; T-flange ULS failure modes D and E, initial slope bound and b'E corrected; exact cubic bolt moment for T-flanges (eq. G.61); Tobinaga & Ishihara correction applied only within its validity range.
- T-flanges: preload losses (
PPL,DFT,settlement_factor), callablek_shell, andtilt_angleis now a required argument. - New
PolynomialTFlangeSegmentED2. - New JSON case format (version 0.2.0) and
pyflange.iomodule. - New command-line interface:
pyflange determ,sample,inspect,stats. - ED2 gap statistics:
gap_height_distribution_ED2,gap_angle_distribution_ED2,standard_gap_sampler_ED2. - New samplers:
product_sampler,clayton_copula_sampler,clayton_gap_sampler. standard_hole_diameter;StandardMetricBoltacceptsshank_diameter_ratio="pitch".- Automated validation against the SGRE reference workbooks.
- New documentation website.
- Removed
utils.log_dataandutils.read_data_log: the intermediate quantities of the flange segment models (kfac, ftot, Acf, Icf, u, kseg, Itg, FV,c, ...) are now private cached properties, computed on demand. The verbose JSON output no longer contains thegap_k_meanandgap_COVkeys, which were alwaysnull.
0.12.0 (2026-10-09)¶
- Documentation of
README.md,boltsandfatigueimproved.
0.11.4 (2026-05-13)¶
standard_gap_sampler: gap angles larger than 180° are discarded and drawn again.
0.11.3 (2026-05-04)¶
standard_gap_sampler: realizations with a gap height above the cap are discarded and drawn again, instead of being set to the 95% quantile.
0.11.2 (2026-04-16)¶
- First draft of the ED2 L-flange model (
PolynomialLFlangeSegmentED2). - New
weibull_samplerandbeta_sampler.
0.11.1 (2026-03-16)¶
- Gap height cap of
standard_gap_sampleras a parameter. - Stress multiplication factor in
fatigue_case_sampler, constant or random. - Fixed
reduce_to_pi.
0.11.0 (2026-03-13)¶
- Stress multiplication factor (
SMF) for the bolt stress ranges. standard_bolt_fatigue_curve_sampler: mean reference stress range as a parameter.- Fixed the averaging of the bolt preloads in the flange segment sampler.
- Removed
markov_matrix_from_SGRE_format.
0.10.0 (2026-03-06)¶
- Bolt preload losses due to settlement and plastic strain (
PPL,DFT,settlement_factor) inPolynomialLFlangeSegmentand in the flange segment sampler.
0.9.1 (2025-12-19)¶
- Minor fixes and API documentation updates.
0.9.0 (2025-12-16)¶
- New
Gapclass: the flange segment parametersgap_height,gap_angleandgap_shape_factorare replaced by a singlegapparameter.
0.8.0 (2025-11-12)¶
- New
statsmodule, with probability distributions and random samplers for Monte Carlo simulations;gapmodule deprecated. - New
BoltFatigueAnalysisclass. k_shellcan be a function of the flange segment.
0.7.4 (2025-10-21)¶
- New
MarkovMatrixclass, with an explicit loadduration. - Failure mode D uses c' instead of c.
0.7.3 (2025-09-10)¶
- Fixed the iterative calculation of failure modes D and E.
- Fixed the initial slope of the L-flange bolt force curve.
0.7.2 (2025-08-20)¶
PolynomialTFlangeSegment.validaterequires failure mode A instead of B.
0.7.0 - 0.7.1 (2025-05)¶
- Documentation prepared for the public release.
- Bolt, nut and washer databases moved to CSV files.
0.6.0 (2024-11-13)¶
- Gap stiffness factor as a function of the gap angle.
- Shell stiffness interpolated from FEA results (
shell_stiffness). bolt_markov_matrixfunction;BoltCrossSectionclass.
0.5.0 (2024-09-16)¶
- New
fatiguemodule withBoltFatigueCurve. - Washers and nuts in the flange segment models.
0.4.0 (2024-06-26)¶
PolynomialTFlangeSegment: gap shapes other than sinusoidal.
0.3.0 (2024-06-18)¶
PolynomialLFlangeSegment: flange tilt, validated against the SGRE reference implementation.
0.1.0 - 0.2.0 (2024)¶
- First versions: polynomial L-flange segment model and bolts.