Repository navigation
feat: rig tension phase lag, block programmes, TB 862 lengths - #67
Conversation
RigProtocol.cyclic could cycle the tension only in phase with the bending. It now takes tension_phase_lag_deg (quadrature, antiphase or any lag), and the ramp ends at the tension of the first cycle. RigProtocol.blocks builds a programme of constant-tension blocks (RigBlock: tension, amplitude, simulated cycles, mean) with linear transitions, as in the block programme of a full-scale fatigue test (CIGRE TB 862, 2022, 6.3.4.1); block_times_s records each block's cycling interval so that its ranges can be taken alone. tb862_specimen_checks compares specimen lengths with TB 862: 6.3.2 for the template and bend-stiffener fatigue set-ups, 6.4.2.2 for the bending-stiffness sample and 6.6.1.2 for the compression tests, using the lay pitches of the cable's helical components (component_pitches). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bfdcde83a6
ℹ️ 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".
component_pitches left out tape windings, which are cylindrical layers with a tape descriptor: a tape with the longest pitch gave a P_max too short, so an undersized fatigue or compression specimen could pass. The tape pitch is now 2 pi rho / tan(beta) at the layer's mid radius, as tape_geometry computes it. A withheld core_lay pitch, or a helical layer without its radius or lay angle, was skipped, so P_max or P_a could be too short and a mandatory check pass. tb862_specimen_checks now raises when the pitch it needs is unknown: any withheld component for the P_max checks, a withheld armour for the P_a checks. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 29a4a705ee
ℹ️ 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".
A conductor given by one strand_lay_angle_deg, without resolved strand_layers, was left out of component_pitches and not flagged as withheld, so its strand pitch could exceed P_max and a compression check pass. It is now listed at its outer radius, 2 pi r_outer / tan|alpha|, an upper bound of its strand pitch at that angle (the strands lie inside r_outer). Without r_outer_m the pitch is withheld and the P_max checks refuse it. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! 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". |
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>
Summary
Three additions to the rig-test module for full-scale dynamic-cable test programmes per CIGRE TB 862 (2022):
RigProtocol.cycliccould cycle the tension only in phase with the bending.RigProtocol.blocksbuilds constant-tension blocks, as in a full-scale fatigue test.tb862_specimen_checkstests the lengths of a specimen against the cable's own lay pitches.Tension phase lag
RigProtocol.cyclic(..., tension_phase_lag_deg=0.0)takes any lag between the tension and the bending cycle (quadrature, antiphase or other). The ramp ends at the tension of the first cycle, so there is no step at the start of cycling.Block programmes (TB 862 6.3.4.1)
RigBlockholds a constant tension, a bending amplitude, a number of simulated cycles and a mean.block_times_srecords each block's cycling interval, so the ranges of a block can be counted alone.Specimen lengths
component_pitches: armour, core lay, strand rings, stranded sub-conductors and tape windings). A conductor given by onestrand_lay_angle_degwithout resolvedstrand_layersis listed at its outer radius,core_laypitch, a helical layer without its radius or lay angle, or a stranded conductor without its outer radius blocks thetestfatigue_templatefatigue_bend_stiffenerbending_stiffnesscompression_bendingcompressionWith a
setupof the uniform profile, the template-fatigue lengths default to its free length and its clamp set-back.Each
SpecimenCheckholds the requirement and its clause, the required and the given length, and whether TB 862 makes it mandatory ("shall", "must") or recommends it.passedgives the result.The optional block-programme designer (TB 862 Tables D.1 to D.3) is not part of this PR.
Tests
tests/test_rig_tb862.py(21 tests):block_times_slies in the record; a block programme runs through the rig simulation;component_pitchesof the 66 kV template against-n 7), as doruff check,ruff format --check,mypyandsphinx-build -W.analytical_sanity1347 (+21).Checklist
pre-commit run --all-filespasses (ruff check and format on the CI trees)python -m pytest -qpassespython -m mypypassesvalidation/validation_report.mdupdated (taxonomy)[Unreleased]doc/updated (rig_test_guide.md)