Skip to content

fix: the Yun shear stack of an armour layer stops at its support - #39

Merged
SMI-Lab-Inha merged 2 commits into
devfrom
fix/xi-shear-stack
Nov 19, 2026
Merged

SMI-Lab-Inha merged 2 commits into
devfrom
fix/xi-shear-stack

Conversation

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner

Summary

xi_for_layer built the Yun (2020) series shear stack of a helical layer from every cylindrical and offset-core layer listed inside it. Two errors followed:

  • Laid-up cores. The conductor screens, insulation and core sheath of the offset cores were counted as if they sheared in series under the armour. On the Zeidan (2025) cable the 8.75 mm EPR (6 MPa) gave armour ξ 0.009 / 0.016 and a no-slip EI 12–20 times below the measured stick slope.
  • Flexible pipes. The stack of a tensile armour ran through the steel pressure armour into the 8.7 mm pressure sheath under it, which held about 85 % of the compliance (Sævik 2011: ξ 0.52).

The stack now stops at the layer's support. Bands, targets and inputs are unchanged.

The PR has two commits:

  1. 7fd5085 registers the rule, the rows it re-evaluates and the held-out predictions. This commit changes no code.
  2. 0a2951d holds the fix, the regenerated report and the register update.

Rule

For helical layer L, walk inward from L (yun_shear_stack, new in cablexsec.mechanics.stiffness):

  • In the stack: each concentric CylindricalLayer with an isotropic modulus and a positive thickness adds $t/(G,b)$.
  • Skipped: interstitial fillers, which lie beside the cores. Shell layers are still not counted.
  • Stop at the first helical layer inside L. That layer is the support, and the compliance under it enters its own ξ.
  • Stop at the laid power cores. The core bundle is the support, so no CylindricalOffsetLayer of a laid core is ever in the stack.
  • Single core: a core on the cable axis (n_cores: 1, zero offset) is concentric and keeps its insulation in the stack.

$$\xi = \frac{K_G}{K_G + EA_w \sin^2\alpha / r_h^2}, \qquad K_G = \Big(\sum_i \frac{t_i}{G_i, b}\Big)^{-1}$$

Other places that build a shear stack:

Place Change Reason
core_screen._ring_xi The same rule: the ring stack now stops at another resolved wire screen inside the core. No packaged cable changes.
core_friction._stick_coefficient None. This is the core's own stick in the laid bundle: the shear of its own layers outside its conductor. There is no helical layer or bundle inside it to cut at.
core_friction._filler_profiles None. It uses half the depth of the filler profile itself.

Consequences handled in the same commit:

  • Rigid interface in the distributed model. An armour bearing directly on the armour inside it now has ξ = 1. The distributed helix model refused ξ = 1. It now takes the along-wire chain's existing rigid convention, RIGID_K_HAT = 1e4. friction_model="auto" and the frictional heat keep the direction-tied cap for a rigid interface, as before.
  • Substep of the distributed section law. SectionLaw.from_cable gains distributed_max_increment, default 0.02. The test solver bisects along legs, and with the stiffer stick the fatigue default of 0.1 left an equilibrium residual of 8.5e-8 on the Ménard cable in three-point bending; 0.02 leaves 2e-9. This change refines the law's substep. It does not change any tolerance.
  • Other callers. The youngs_modulus_Pa mapping (used by rig_test and thermal_coupling), cable_adapters and api all go through xi_for_layer, and the new stack is a subset of the old one, so they stay consistent.

Registered before the run

Commit 7fd5085 (pushed before the code existed) adds the section "Yun shear stack cut at the support" to doc/benchmarks.md. It contains:

  • the rule;
  • the closed-form ξ for every packaged cable;
  • the re-evaluated rows, with bands unchanged;
  • the flags: Z-EI, Z-ID, SV11-PLANE, SV11-GJ, SV11-SPLIT and SV11-REACH are diagnosed on, not independent;
  • the predictions for the held-out rows, from the closed form and a Masing estimate only, written before any solver ran.
Held-out row Registered prediction Outcome
WITZ-ID, 300-bar energy +1 to +2 % (about 2710–2740 J/m) +1.6 % (2725 J/m)
WITZ-ID, 0-bar energy +0.5 to +1 % +0.6 % (1121 J/m)
WITZ-ID, width and p0 change below 0.5 %; row stays FAIL unchanged (1356 N·m, 1.071 MPa); FAIL
BM1-loop, work +2 to +3 % (+11 to +12 % against the measurement); 10 % target turns PASS → FAIL +2.8 % (69.7 J/m, +11.8 %); PASS → FAIL
BM1-loop, RMSE change below 0.5 points +0.15 points
BM1-ID P0 −2 to −3 %; (a) about +29 %, (c) about +27 %, (d) about +16 %; stays FAIL P0 −2.0 %; (a) +28.5 %, (c) +26.2 %, (d) +15.2 %; FAIL

The prediction is the closed form of the change. It checks that the section law moves as the stick stiffness says it must; it does not prove that the new ξ is right. The only measured stick stiffnesses on file, Z-EI and the SV11 small-angle cases, are the rows the defect was found on.

Results

ξ of every packaged cable (inner / outer unless named):

Cable ξ before ξ after EI_max [kN·m²] before → after
zeidan2025 0.009 / 0.016 0.832 / 1.000 12.0 → 311.1
saevik2011 (pressure / inner / outer tensile) 0.128 / 0.521 / 0.511 0.128 / 0.881 / 0.891 5196 → 8872
saevik2011_rect 0.117 / 0.579 / 0.569 0.117 / 0.903 / 0.912 5769 → 9085
witz1996 (carcass / Zeta / inner / outer) 1 / 0.031 / 0.141 / 0.138 1 / 0.031 / 0.422 / 0.466 32.9 → 103.6
witz1996_rect 1 / 0.035 / 0.170 / 0.167 1 / 0.035 / 0.478 / 0.522 40.0 → 116.8
menard2023, menard2023_filled 0.208 / 0.248 0.686 / 0.888 59.1 → 189.8
iea_task49_66kv 0.775 / 0.857 0.934 / 0.992 1391 → 1605
iea_task49_66kv_300 0.729 / 0.825 0.917 / 0.990 856 → 1031
inter_array_three_core_33kv 0.105 / 0.123 0.784 / 1.000 112 → 628
inter_array_three_core_33kv_legacy_r2 0.126 / 0.147 0.784 / 1.000 151 → 778
inter_array_single_core_33kv 0.025 / 0.033 0.025 / 1.000 2.20 → 33.0
inter_array_single_core_33kv_legacy_r2 0.031 / 0.041 0.031 / 1.000 2.88 → 38.0
export_three_core_220kv 0.261 / 0.281 0.936 / 1.000 3422 → 9394
cigre_tb880_220kv 0.469 / 0.496 0.469 / 0.985 11425 → 17639
thies2016_30kv 0.208 0.843 105 → 322
chae2023_coiling 0.543 0.963 860 → 1314

GJ, EA and the full-slip EI_min do not change for any cable.

Every scorecard row that moved (bands unchanged):

Row Target Before After Verdict
Z-EI (diagnosed on) stick secant ≤ EI_max; slip slope ≥ EI_min EI_max 12.0 kN·m² (ξ 0.009/0.016) vs 141–240 EI_max 311.1 kN·m² (ξ 0.832/1.000) vs 141–240 FAIL → PASS
Z-ID (diagnosed on) 40 mm RMSE < 5 %; 30/50/60 mm work ±20 %, RMSE < 10 %, range ±10 % P0 not identifiable (largest work 41.9 J/m) P0 759.8 kPa; work +10.4 / −5.1 / −9.6 %; RMSE 13.7–15.4 %; range −32.6 to −45.5 % FAIL → FAIL
SV11-PLANE (diagnosed on) median R in [0.85, 1.18], ≥ 12 of 14 in [0.70, 1.43] 1.62 (3 of 14); sectional 1.00 (11) 2.17 (3 of 14); sectional 1.19 (12) FAIL → FAIL
SV11-GJ (diagnosed on) [0.72, 1.38] 1.80 (sectional 1.24) 2.07 (sectional 1.27) FAIL → FAIL
SV11-SPLIT (diagnosed on) stated, not gated (a) 1.01, GJ 1.27; (b) 1.70, 1.80 (a) 1.23, GJ 1.36; (b) 2.09, 2.07 INFO
SV11-REACH (diagnosed on) stated, not gated a_max 0.26 / 0.36; R 0.45 / 0.54; LC 4, 7, 8 outside a_max 0.37 / 0.64; R 0.79 / 0.86; LC 4, 6 outside INFO
WITZ-ID (held out) width in [1692, 2489] N·m and energy ±15 % width 1356; energy 2682 J/m (−14.2 %) width 1356; energy 2725 J/m (−12.8 %) FAIL → FAIL
BM1-loop, BM1-loop-uniform (held out) RMSE < 5 %; work within 10 % 2.71 %; 67.8 J/m (+8.8 %) 2.86 %; 69.7 J/m (+11.8 %) INFO; registered target PASS → FAIL
BM1-ID (held out) (b) RMSE < 5 %; others work ±20 %, RMSE < 10 % P0 220.4 kPa; (a) +26.0 %, (c) +23.7 % P0 215.9 kPa; (a) +28.5 %, (c) +26.2 % INFO; FAIL → FAIL
MX-scale ratio ≤ 1.25 1.02 1.21 PASS → PASS
  • Round-off only: CF, CFW and MK-Tcyc (1.2e-15 / 1.1e-15 → 8.9e-16) and xsec-K (κ→0: 0 → 1.9e-14 %).
  • Unchanged to the printed digits: every other row, including A11 (0.082 %), slip-onset, TQ, TQ-SV, TQ-KL, TQ-UJ, CH-GJ, WITZ-EI, BM1, HU and DAI.
  • FAIL count: 6 → 5. Z-EI now passes; nothing else changed verdict.

Tables regenerated:

  • the SV11 sensitivities (check_saevik2011.py --sensitivity), with the former stack kept as a row; that row reproduces the former registered values exactly;
  • the Zeidan variants (check_zeidan2025.py);
  • the Ménard transfer and identification tables and the Janocha code-to-code table (check_core_friction.py);
  • the tutorials, how-to outputs, README and quickstart.

The README and quickstart outputs had already drifted before this change: they printed 548 N m and 219.8 J/m where the code computed 541 N m and 212.0 J/m.

Tables kept with the former stack and labelled as such: the stick-dependent one-off studies with no rerun in this PR, namely the Witz mechanisms, G8, T1, T2, the two-way termination, G1, MX-scale-1 and the energised tables of the 66 kV template. The register lists them.

Pinned values changed

Each pin was moved to the new computed value because the physics changed. No tolerance or band changed.

Test Before After Why
test_zeidan2025::test_z_ei_reports_the_registered_outcome pass is False, ξ < 0.02, stick > 10 EI_max pass is True, ξ [0.832, 1.0], EI_max 311.1 kN·m², stick < EI_max Z-EI passes (diagnosed on)
test_saevik2011_benchmark (PLANE, GJ, SPLIT, REACH strings) 1.62 / 1.00 / 1.80 / 1.24 … 2.17 / 1.19 / 2.07 / 1.27 … new computed rows
test_witz1996_benchmark energy 2682 J/m (−14.2 %) 2725 J/m (−12.8 %) stiffer stick
test_validation_report (BM1-loop) 67.8 J/m, 8.8 %, target PASS 69.7 J/m, 11.8 %, target FAIL new computed row
test_menard2023_bm1::test_BM1_matched_experimental_cycle_work_criterion work within 10 % pins the documented +11.8 % (±0.1 pt) and asserts it lies outside 10 % the registered criterion now fails; its threshold is unchanged (TQ6 precedent, #37)
test_distributed_friction::test_planar_partial_slip_stick_representation_effect 0.9425, 0.8266, 0.9042, 0.9719, 0.9896 0.9686, 0.8721, 0.9477, 0.9872, 0.9981 (same ±2e-3) documented stick-representation ratio at the Ménard ξ of 0.686
test_distributed_friction::test_validation ξ = 1 refused ξ = 1.5 refused; new test: ξ = 1 uses RIGID_K_HAT rigid interface supported
test_thermal_history::test_inputs_vary_between_blocks_and_stick_history both armours vary per block inner armour varies; outer armour constant the outer armour's stack is now the PPY bedding alone, which has no E(T) law
test_neutral_axis planar test sample at searchsorted(0.99 onset) last sample at or below 0.99 onset (asserted) the onset is now 0.0015 1/m, six grid steps; the earlier index landed above the onset
test_rig_test::test_parts_add_up_and_far_field_is_sectional far field at mid-span of 8 pitches far field at mid-span of 16 pitches, same 5 % bound; asserts mid-span is at least 4 clamp layers out the outer clamp boundary layer is now 1.34 m, so 8 pitches leaves only 2.3 layers
tutorials 01–04, how-to 03/06/08 output blocks old outputs regenerated outputs follow the code

Gates

  • ruff check and ruff format --check on src tests examples validation release doc: clean.
  • mypy (strict, as in CI): no issues in 119 source files.
  • Full pytest with numba: pass.
  • Full pytest with CABLEXSEC_DISABLE_NUMBA=1: 4476 passed, 119 skipped.
  • run_validation.py regenerated the report: 67 rows, 5 FAIL (registered), 0 REVIEW.
  • Taxonomy counts: analytical_sanity 1200 (+9 from tests/test_yun_shear_stack.py), independent_method 77, full_scale 58.
  • run_validation.py --check: run on the final tree.

The CHANGELOG entry and VALIDATION.md are updated.

@SMI-Lab-Inha

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 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-11-19T09:06:48.886463Z 7ef70a3 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.

@read-the-docs-community

read-the-docs-community Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 CableXSec | 🛠️ Build #36007860 | 📁 Comparing 7ef70a3 against latest (240bf9c)

  🔍 Preview build  

24 files changed · ± 24 modified

± Modified

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 0a2951d008

ℹ️ 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".

Registers, before any code change and before the rule is evaluated on a
validation row, the rule for the series shear stack of the armour stick
coefficient (xi_for_layer, [Yun2020]) and what it is expected to move.

- Rule: walk inward from the helical layer; add each concentric
  cylindrical layer with an isotropic modulus and positive thickness
  (interstitial fillers still skipped); stop at the first helical layer
  inside, which is the support, and at the laid power cores, whose layers
  are never in the stack. A single core on the cable axis keeps its
  concentric insulation.
- Closed-form xi and EI_max before and after for every packaged cable
  (Yun's formula only; no loop or beam solver run).
- Rows re-evaluated with unchanged bands. Z-EI, Z-ID and the SV11 rows
  were used to find the defect and are marked diagnosed on, not
  independent.
- Held-out predictions written before the run: WITZ-ID (energy +1-2 %,
  width < 0.5 %, stays FAIL), BM1-loop (work +2-3 %, the registered 10 %
  target turns from PASS to FAIL), BM1-ID (small ranges +2-3 points,
  stays FAIL).

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
xi_for_layer built the series shear stack of a helical layer from every
cylindrical and offset-core layer listed inside it. It counted the
conductor screens, insulation and core sheath of laid cores (Zeidan 2025:
xi 0.009 / 0.016) and, in flexible pipes, the pressure sheath under the
steel pressure armour (Saevik 2011: xi 0.52).

- yun_shear_stack (new, stiffness module): walking inward, each concentric
  cylindrical layer with a modulus and positive thickness is in the stack,
  interstitial fillers still skipped; the walk stops at the first helical
  layer inside and at the laid power cores. A single core on the axis
  keeps its concentric insulation. xi_for_layer uses it; its docstring
  states the rule and its basis.
- The ring stack of a core's wire screen stops at another resolved wire
  screen inside (same rule; no packaged cable changes).
- An armour on the armour inside it now has xi = 1. The distributed helix
  model takes that rigid interface with the along-wire chain's
  RIGID_K_HAT instead of refusing it; friction_model="auto" and the
  frictional heat keep the direction-tied cap for it, as before.
- SectionLaw.from_cable(distributed_max_increment=0.02): the test solver
  bisects along legs, and the fatigue default 0.1 left a sampling
  residual of 8.5e-8 on the Menard cable with the stiffer stick (2e-9 now).
- Validation scripts: the SV11 sensitivity keeps the former stack as a
  row (it reproduces the former registered values exactly); the Zeidan
  diagnostic docstring is updated.

Results against the registration (bands unchanged): Z-EI FAIL -> PASS,
Z-ID FAIL, SV11-PLANE 1.62 -> 2.17 (sectional 1.00 -> 1.19), SV11-GJ
1.80 -> 2.07, all diagnosed on; held out: WITZ-ID energy -14.2 -> -12.8 %
(FAIL on the width), BM1-loop +8.8 -> +11.8 % (stated, not gated; target
now fails), BM1-ID (a) +26.0 -> +28.5 %, each as predicted. The
benchmark register, VALIDATION.md, the validation report, the tutorials,
how-to outputs, README and quickstart are regenerated; pinned test values
that moved with the physics are re-pinned to the computed values.

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

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 7ef70a31d6

ℹ️ 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".

@SMI-Lab-Inha
SMI-Lab-Inha merged commit 7e14481 into dev Nov 19, 2026
14 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the fix/xi-shear-stack branch November 19, 2026 11:13
SMI-Lab-Inha added a commit that referenced this pull request Nov 19, 2026
The armour stick coefficient of the 66 kV template changed with #39;
the registered MX-group checks were rerun on the rebased branch: summed
group laws within 4.6e-4 of the exported backbone and 0.06 % of the
cycle work (all PASS); one scale for all groups 5.5 % and 7 %.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
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