Repository navigation
fix: the Yun shear stack of an armour layer stops at its support - #39
Conversation
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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>
|
@codex review |
0a2951d to
7ef70a3
Compare
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
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>
Summary
xi_for_layerbuilt the Yun (2020) series shear stack of a helical layer from every cylindrical and offset-core layer listed inside it. Two errors followed:The stack now stops at the layer's support. Bands, targets and inputs are unchanged.
The PR has two commits:
7fd5085registers the rule, the rows it re-evaluates and the held-out predictions. This commit changes no code.0a2951dholds the fix, the regenerated report and the register update.Rule
For helical layer L, walk inward from L (
yun_shear_stack, new incablexsec.mechanics.stiffness):CylindricalLayerwith an isotropic modulus and a positive thickness addsCylindricalOffsetLayerof a laid core is ever in the stack.n_cores: 1, zero offset) is concentric and keeps its insulation in the stack.Other places that build a shear stack:
core_screen._ring_xicore_friction._stick_coefficientcore_friction._filler_profilesConsequences handled in the same commit:
RIGID_K_HAT = 1e4.friction_model="auto"and the frictional heat keep the direction-tied cap for a rigid interface, as before.SectionLaw.from_cablegainsdistributed_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.youngs_modulus_Pamapping (used by rig_test and thermal_coupling),cable_adaptersandapiall go throughxi_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" todoc/benchmarks.md. It contains: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):
GJ, EA and the full-slip EI_min do not change for any cable.
Every scorecard row that moved (bands unchanged):
Tables regenerated:
check_saevik2011.py --sensitivity), with the former stack kept as a row; that row reproduces the former registered values exactly;check_zeidan2025.py);check_core_friction.py);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_zeidan2025::test_z_ei_reports_the_registered_outcomepass is False, ξ < 0.02, stick > 10 EI_maxpass is True, ξ [0.832, 1.0], EI_max 311.1 kN·m², stick < EI_maxtest_saevik2011_benchmark(PLANE, GJ, SPLIT, REACH strings)test_witz1996_benchmarktest_validation_report(BM1-loop)test_menard2023_bm1::test_BM1_matched_experimental_cycle_work_criteriontest_distributed_friction::test_planar_partial_slip_stick_representation_effecttest_distributed_friction::test_validationRIGID_K_HATtest_thermal_history::test_inputs_vary_between_blocks_and_stick_historytest_neutral_axisplanar testsearchsorted(0.99 onset)test_rig_test::test_parts_add_up_and_far_field_is_sectionalGates
ruff checkandruff format --checkonsrc tests examples validation release doc: clean.mypy(strict, as in CI): no issues in 119 source files.CABLEXSEC_DISABLE_NUMBA=1: 4476 passed, 119 skipped.run_validation.pyregenerated the report: 67 rows, 5 FAIL (registered), 0 REVIEW.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.