Skip to content

sync: record main's release history in dev - #74

Merged
SMI-Lab-Inha merged 21 commits into
devfrom
sync/main-history
Dec 1, 2026
Merged

SMI-Lab-Inha merged 21 commits into
devfrom
sync/main-history

Conversation

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner

Summary

GitHub shows dev as 14 commits ahead of and 20 commits behind main, although the two trees differ only by the empty [Unreleased] changelog heading.

The cause: main received the 0.2.0, 0.2.1 and 0.2.2 releases by rebase merges, which copied the dev commits under new hashes. After 0.1.x, the two branches share no history.

This PR merges main into dev with the ours strategy:

  • main becomes a parent of dev, so dev is no longer behind main;
  • dev's tree is unchanged: no file changes (main's content is already in dev).

How to merge

Use "Create a merge commit". A squash or rebase merge would drop the parent link to main, and the branches would diverge again.

Checks

  • Tree of the merge commit equals the tree of dev (ee745c8).
  • git rev-list --left-right --count origin/main...HEAD: 0 15.

Releases from now on

  • Release PR dev -> main: merge commit, not rebase.
  • Sync after the release, main -> dev: merge commit, not squash.

Then main stays an ancestor of dev, and release branches no longer conflict with main (the cause of #71).

CoreFrictionSpec(core_core_coupling="relative") is a coupled intralayer slip
model of laid cores. Neighbouring cores touch at the same axial position, so
the friction between them acts on their relative slip, while the filler and
ring contacts keep the slip of each core against the plane section. The
default, "absolute", is the earlier law and is unchanged, bit for bit.

The n stations of the cores at one axial position form a group. A station's
stress is an interlayer share, bounded by the Papailiou cap with the
interlayer coefficient (mu_cf q_cf + mu_cs q_cs) / q, plus an intralayer
share, bounded by sigma_0 mu_cc (q_cc / q) |sin b| min(psi, pi / n), and the
intralayer shares of a group sum to zero. The return map is the closest point
of the group on that set, exact through a scalar multiplier whose root is
found from sorted breakpoints (mechanics/station_coupling.py, a NumPy path and
a numba kernel that agree to round-off).

For three cores in core-core contact only, slip starts at the same onset, the
largest frozen friction stress is 2/3 and the full-slip moment sqrt(3)/2 of
the absolute law, and full slip comes at 2 pi / (3 sqrt 3) = 1.209 times the
onset instead of pi / 2. An independent field solver of the coupled axial
equilibrium of the three cores (validation/scripts/coupled_core_slip_reference.py:
one field per core, elastic-Coulomb contacts, semismooth Newton on the
incremental energy) gives the same onset, full-slip curvature,
moment-curvature, friction-force distribution and reversal loop with and
without interlayer friction, to about 7e-5 of the full-slip moment.

The core law, compute_mkappa, the bending-law export (group cap and slip
transitions), the section properties, the core kinematics and the component
states route through the coupled stations; core_station_history,
core_station_bounds, core_full_slip_moment and core_full_slip_curvature are
new. The relative law is direction-tied: the distributed model raises and
"auto" keeps it on a non-planar path with a FrictionModelFallbackWarning.

On the 66 kV template at 50 kN (bounded trefoil, 67 % of the core load on
core-core contact) the section secant stiffness falls by 2.1-2.8 % between 2
and 10 times the core onset and the exported backbone by 0.5 % at 0.04 1/m;
the 30 kV wire-screen bulk damage falls to 0.56-0.61 of the absolute value
from 0.05 1/m. Armour and conductor damage are curvature driven and do not
change.

tests/test_core_coupled_slip.py adds 13 analytical and 13 independent-method
tests, so the taxonomy counts of the validation report are 1278 and 92.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Every recovery used the curve curvature of the deformed helix,
cos^2(a) cos(2a) per unit projected curvature, in every slip state. That
is the normal curvature of a wire that carries no friction stress. The
bending strain of a wire is set by the rotation of its cross-section per
unit material length; the helix starts with the normal curvature
sin^2(a) / r, so the axial strain sigma_f / E the wire carries adds
(sin^2(a) / r) sigma_f / E. A stuck wire with the plane-section strain
takes cos^4(a), with the stick coefficient xi
cos^2(a) cos(2a) + xi sin^2(a) cos^2(a), a wire without friction stress
keeps cos^2(a) cos(2a), and a wire in Coulomb slip keeps that slope. A
stuck wire's weak-axis bending stress was low by 3.2 % at 10 deg, 15.5 %
at 20.1 deg and 96 % at 35 deg. The lateral term is unchanged.

The term (wire_stress.slip_state_normal_curvature) enters the fatigue
field (direction-tied, distributed and progressive friction, compiled
and NumPy paths, with any termination increment), compute_stress, the
wire-yield capacity, the kinematics helix field, the rig-test gauges,
the laid cores (core normal gradient, component states and
utilisation), the frictional tape state and the outer-fibre strand-slip
parameters (StrandSlipParameters.slip_state_factor). The local bending
helpers take the friction stress and helix radius as keywords and keep
the slip-free value without them.

Validation row sigma_B now checks the frictionless state against Menard
Eq. 14, a stuck wire and a slipping wire (target unchanged); no other
row changes. On the 66 kV template record of doc/template_66kv.md the
largest wire damage rises 0.23-0.27 % (inner) and 0.05-0.06 % (outer).
Tutorial and how-to outputs are regenerated. Tests:
tests/test_normal_term_slip_state.py (analytical limits).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
feat: bonded outer armour face (gap G8)

A helical layer may declare bonded_face: outer. Its outer face is bonded
to the polymer outside it (a sheath extruded onto the wires, or a bitumen
or compound bond) and does not slip: the wires slide on their inner face
only, so the friction-setting pressure keeps the inner face's share of
the bounded radial chain, and the bond is an elastic spring through the
polymer outside (an inner-loaded layered annulus free at the cable
surface, plus the strip concentration). The stuck layer is unchanged; in
full slip the bond keeps xi_bond of the layer's plane-section stiffness,
added in parallel to the law and to compute_stiffness's EI_min.

The bending law (compute_mkappa, SectionLaw, the exported law) and
compute_stiffness use it; the wire-stress, fatigue and capacity routes
refuse a bonded cable, which would miss the bond's share of the wire
force. Bounded contact model only, without winding stress or pretension.

The Zeidan (2025) input declares it, as an identified input: its sheath
sits on the wires with no tape, and the bonded state matches the measured
post-slip slope. Z-ID now passes (P0 1085.9 kPa; work +9.9/-4.7/-9.0 %,
RMSE 6.4/4.3/4.4 %, range -4.4/-8.5/-8.0 %); Z-EI fails narrowly
(EI_min 10.09 against 8.65-9.70 kN m2 in the plotted curvature). Menard
and Witz keep sliding faces and are unchanged.

compute_mkappa with contact_tension_history_N keeps the inner face's
share at every sample; a user-supplied contact_pressure_Pa history is
refused for a bonded layer.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Every figure now uses one MATLAB-style look: MATLAB's default line
colours in MATLAB's order, a Helvetica/Arial face, a closed box with
inward ticks on all sides, no grid and a square opaque legend. Labels
carry true Greek letters and sub- and superscripts in the same face,
with numerals upright; style.LABELS holds the standard axis labels.

The tutorial and how-to scripts apply the style (their figures were
plain matplotlib defaults) and are regenerated; the examples use the
same labels. The user guide documents the figures and the style.

The docs figures are saved at 200 dpi, under the docs tests' size cap;
the micro prefix is upright and axis offsets read x10^-8.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Version 0.2.1 in pyproject.toml, the package, CITATION.cff, the README
and the docs; the changelog moves the unreleased notes to 0.2.1 and adds
its known limitations.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The slip-state normal curvature (#58) raised the largest damage of the
README quick start by 2.0 % (inner) and 1.5 % (outer armour); the
README and doc/quickstart.rst printed the 0.2.0 values. The changelog
entry of the correction records the change.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Environments, gate results, distribution and install checks of the
0.2.1 release.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
At a zero lay angle the bond carries the whole layer (xi_bond = 1) and
the slider has no stick stiffness, which the slip integrators refused,
so compute_mkappa, SectionLaw and the exported law could not evaluate a
valid straight bonded layer. A zero stick stiffness now gives an
elastic-only history (no stress, slip or friction work) in the default
and the progressive law; a partly zero history is still refused. The
law at 0 deg is the small-angle limit (moments within 1e-9).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The final tree's test count, and which gates ran before the review fix.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…s) (#63)

validation: what the SV11 measurements are (Lukassen two-sided records)

Four reported rows, registered before the runs: SV11-LK (axial against
axial, Lukassen 2019 thesis Figs 2.7-2.11: the SV11-GJ chain
over-predicts at the bending-plane stations by 1.72 sectional, 1.97
corrected), SV11-SIDE (Saevik normalised the larger side range),
SV11-SUB and SV11-NORM. The records are digitised from the native PDF
paths. The Zeidan section adds source notes. No target, band, gated
input or default changes; SV11-PLANE and SV11-GJ stay FAIL.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
… SK23-T1 (#64)

fix: direct calls read the cable materials; Skeie 2023 credit and row SK23-T1

Ninety public functions of 36 submodules that take a cable read the
library values when called directly (xi_for_layer gave 1.000 for
Zeidan's inner armour instead of 0.832): every submodule now wraps them
with scope_entry_points, as cablexsec and cablexsec.api do, and a
nested call with the same cable object skips re-entering the scope (no
measurable cost). A test walks every module.

The coupled intralayer core slip credits Skeie, Sodahl, Pettersen and
Verde (2023, OMAE2023-104817); the largest friction stress saturates at
pi/3 times the onset, the "full slip" of their Table 1, before the
coalescence at 1.209. New reported row SK23-T1 runs their worked case.

Documentation: the bonded face's stuck coefficient takes the support
and the bond in parallel (unchanged only on a rigid support) and its
friction cap is not reduced; the stuck cos^4 normal curvature cites
Saevik (2011) Eq. 50; report cells escape a literal |; 0.2.1 version
references. Tests: a tolerance instead of exact equality in the
curvature-component test; short numba cache folder names.
Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…#65)

The ULS guide cited the compression tests to MecLim II Section 5.7,
which only refers to them; CIGRE TB 862 Section 6.6.1 gives them
(compression with cyclic bending, safety factor at least 1.3 on the
force, at least 100 bending cycles; pure axial compression).

Four material sources named standards that do not hold the values:
IEC 60228 sets no tensile limit for copper, and IEC 60287-2-1 lists no
metal thermal resistivity (lead, aluminium). The permittivity of
xlpe_qiao2025 was 2.3, the PE row of the IEC 60287-1-1 table it cites;
the XLPE row is 2.5. No analysis reads that value.

The 0.2.0 changelog and the benchmark register compared the Chae, Nam
and Shim (2023) torsional stiffness with the outputs of the source's
cross-section programs. The comparison had no measurement and is
removed; the core-lay sensitivity stays.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…66)

The loss terms defaulted to zero and the conductor resistance was
rho/A: on a 630 mm2 three-core cable the conductor loss was about 9 %
low before any sheath loss. They are now computed from the cable unless
given, following IEC 60287-1-1:2023: R0 from IEC 60228:2023 Table 4 (per
km of the complete cable, so not multiplied by the lay-up factor), else
rho/A times C_LL (Annex A); the three ranges of the skin factor; the
proximity factor of two- and three-core cables; the sheath loss of
SL-type screens (5.3.11 under magnetic armour, 5.3.2 otherwise, as CIGRE
TB 880 Guidance Point 38 reads it; lambda1'' = 0 as in IEC), with the
screen resistance from the wires of a wire screen over their lay and a
laminated foil in parallel (TB 880 Guidance Points 27 and 29, Case 2);
the dielectric loss from the U0 of the insulation type, with C times
C_LL, and missing loss data judged by the declared type.

Thermal resistances follow IEC 60287-2-1:2023: per-core annuli divided
by C_LL, T1 from the conductor diameter d_c, and the fillers and bedding
of an armoured three-core SL-type cable by the geometric factor G-bar
(4.1.4.2, 5.6; TB 880 Guidance Point 45). PE is 3.5 K m/W (Table 1) and
PP fillers and yarn 6.0 K m/W.

The 220 kV cable of Poradowski and Anders (2025) is renamed from the TB
880 name and gains the semiconducting screens, swelling tape and air
layers of its Table 1 (T1 0.6578 against 0.6579 K m/W); the export
template gains its screens. BM5 is rediagnosed: R0 from IEC 60228 moves
it from 84.4 to 85.8 degC and the TB 880 eddy loss to 90.9 degC (FEM
89.62, IEC 90); the factor 1.5 of 5.3.11 is for magnetic armour.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Three additions to the rig-test module for full-scale dynamic-cable test
programmes per CIGRE TB 862 (2022):

- RigProtocol.cyclic takes tension_phase_lag_deg, any lag between the
  tension and the bending cycle; the ramp ends at the first-cycle tension.
- RigProtocol.blocks builds constant-tension block programmes (TB 862
  6.3.4.1) from RigBlock entries joined by linear transitions;
  block_times_s records each block's cycling interval.
- tb862_specimen_checks tests specimen lengths against the cable's lay
  pitches (6.3.2 fatigue, 6.4.2.2 bending stiffness, 6.6.1.2 compression).
  component_pitches lists armour, core lay, strand rings, stranded
  sub-conductors, tape windings and single-angle strand lays (at the outer
  radius, an upper bound). A check whose pitch is withheld is refused, not
  passed.

Tests: tests/test_rig_tb862.py (21); analytical_sanity 1347.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
#68)

docs: generic ASCII-column reader; IEC single-core-equivalent accuracy

read_riflex_ascii is renamed read_ascii_columns (module
cablexsec.io.ascii_columns_reader). It reads whitespace-separated columns
by position and was never checked against output of the program it was
named after, so README, CITATION, the docs, the how-to, the glossary and
the provenance no longer name one. Arguments and results are unchanged;
the test fixture is renamed synthetic_columns.asc.

The thermal docs state the accuracy limit of the IEC single-core-equivalent
ladder for three-core cables (Chatzipetros and Pilgrim 2018, IEEE Trans.
Power Delivery 33(4)): against 2-D finite-element models it reads the
conductor temperature up to 8 degC low for SL-type lead sheaths (Table I)
and 4.9 to 5.9 degC low for Al or Cu foil screens (Table II).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
…#69)

Rows TB880-C2 and TB880-C8 compare compute_thermal with CIGRE TB 880
(2022) Case study 2 (3x630 mm2 18/30 kV, lead sheaths, galvanised steel
wire armour) and Case study 8 (3x1000 mm2 220 kV, lead sheaths, stainless
armour), on cables built from the brochure's datasheets
(tests/data/tb880/). Bands registered before the first run: T1, T3, y_s,
y_p, W_d within 0.5 %, lambda1' within 1 %; T2 and the ratings stated.
T1, T3, y_s, y_p and lambda1' agree to the printed digits; W_d is +0.136 %
(TB 880's eps0 = 1e-9/(36 pi) against IEC's 8.854e-12). T2 is -5.1 % in
Case 2 (TB 880 takes the cores touching for s but the assembled diameter
for x; the code then selects the other curve) and +0.43 % in Case 8 (the
lead sheath's own resistance). The ratings at 90 degC with TB 880's loss
factors are 841.50 A (838.34 A) and 1134.95 A (1134.82 A).

ThermalResult.resistances returns the T1, T2, T3, T4 of IEC 60287-1-1
Formula (1) that compute_thermal used. Each annulus is split between T2
and T3 by its armour-loss share s = k/m (T2 gets (1 - s) R, T3 gets s R),
so a cable with two armour layers reproduces the solver's thermal circuit.

Fix: the sheath reactance of the 5.3.2 route (SL-type cores, unarmoured or
under non-magnetic armour) now carries the lay-up factor C_LL, as Annex A
gives it to per-metre properties of laid-up cores and as 5.3.11 and TB 880
Case 8 apply it; R_s already did. Case 8 read lambda1' 2.2 % low without
it.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
BlockProgramme and FatigueTestBlock hold the blocks of a full-scale
fatigue test (CIGRE TB 862 6.3.4): cycles, constant tension, curvature
range and damage per cycle from the service fatigue calculation. The
programme gives block and accumulated damage and damage shares, checks the
Table 6-4 requirements it can check by itself (test damage and block
tension against the service values), builds the test sequence with the
switching of 6.3.4.3 and converts the blocks to RigBlocks.

The sequence cuts each block into ceil(1/max_fraction) parts and orders
them so that no two parts of one block follow each other (the next part of
the block with the most parts left, other than the block just run; with
equal part counts this is the 1A..8A, 1B..8B rounds of Table D.3). A
programme whose largest block cannot be separated by the others (one block
alone, or three parts against a single other part) raises CableInputError,
since no sequence meets 6.3.4.3.

TB 862 Tables D.1 to D.3 are regression cases. Table D.3 prints 6.05e-4 for
blocks 3A and 3B; 61 116 cycles at 9.90e-10 give 6.05e-5, which its total
uses. Its Appendix D.3 gives a service mean tension of 82 kN but runs the
Table D.2 blocks at 80 kN, so the strict tension check fails on its own
example (recorded in a test).

Docs: ThermalResult.resistances, the CHANGELOG and the local analysis guide
still described the T2/T3 split at the innermost armour; since #69 each
annulus is split by its armour-loss share k/m.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
Version 0.2.2 in pyproject.toml, cablexsec.__version__, CITATION.cff,
the README, the manual (index, installation, citing, tutorial 4) and
DEVELOPMENT.md; the [Unreleased] notes move under 0.2.2 with its
known limitations.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
validation/RELEASE_0_2_2.md records the environments and the local gate
results of the release: the Python 3.12 test suite, coverage 96.50 %, Ruff,
mypy, the validation report on Python 3.11 and 3.12 (73 rows; the seven
registered FAIL rows unchanged), the documentation build and the release-tree
audit. validation/README.md lists it. The release date moves to 2026-12-01.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
The wheel and the sdist built from 1f220ed pass twine, install in new
conda environments and run the smoke test, the batch command, the README
quick start and all 26 example, tutorial and how-to scripts.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
main received the 0.2.0, 0.2.1 and 0.2.2 releases by rebase merges, which
copied the dev commits under new hashes. dev and main therefore share no
history after 0.1.x although their trees are the same: GitHub shows dev as
14 commits ahead of and 20 commits behind main.

This merge makes main a parent of dev. It keeps dev's tree unchanged (main's
content is already in dev; dev adds only the empty Unreleased changelog
heading), so no file changes.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T01:51:05.000099Z cb2bb75 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: cb2bb750c6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 CableXSec | 🛠️ Build #36283256 | 📁 Comparing cb2bb75 against latest (8f9befc)

  🔍 Preview build  

1 file changed
± changelog.html

@SMI-Lab-Inha
SMI-Lab-Inha merged commit b7e2ae8 into dev Dec 1, 2026
14 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the sync/main-history branch December 2, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant