Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ All notable changes to CableXSec are recorded in this file. The format follows
`relative_permeability`, and the `compute_thermal` / `thermal_network` options
`conductor_resistance_20C_ohm_m`, `k_s`, `k_p` and `include_dielectric_loss`
(`thermal_network` also `rating_temperature_C` and `rating_current_A`).
- Rig test: `RigProtocol.cyclic(tension_phase_lag_deg=...)` lets the tension lag the
bending (it could cycle only in phase); `RigProtocol.blocks` with `RigBlock` builds a
programme of constant-tension blocks with linear transitions, as in the block programme of
CIGRE TB 862 (2022) 6.3.4.1, and records each block's interval in
`RigProtocol.block_times_s`; `tb862_specimen_checks` and `component_pitches` check the
specimen lengths of TB 862 6.3.2 (fatigue, template and bend-stiffener set-ups), 6.4.2.2
(bending stiffness) and 6.6.1.2 (compression) against the cable's lay pitches, tape
windings and single-angle strand lays included; a withheld pitch makes the check an
error.

### Changed

Expand Down
51 changes: 49 additions & 2 deletions doc/rig_test_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,29 @@ signed curvature at the reference station or the rotation of the clamp at
`x = 0`; optionally a uniform specimen temperature. `retain_from_s` selects
the samples over which ranges are taken. `RigProtocol.cyclic(...)` builds the
usual test: a tension ramp from zero over one period with the specimen
straight, then `n_cycles` sinusoidal bending cycles (optionally with tension
cycling in phase), ranges over the last cycle.
straight, then `n_cycles` sinusoidal bending cycles, ranges over the last
cycle. The tension may cycle with the bending period (`tension_amplitude_N`),
lagging it by `tension_phase_lag_deg` (0 in phase, 90 in quadrature, 180 in
antiphase); the ramp ends at the tension of the first cycle.

`RigProtocol.blocks([...])` builds a programme of constant-tension blocks, as
in the block programme of a full-scale fatigue test (CIGRE TB 862, 2022,
6.3.4.1): each `RigBlock(tension_N, amplitude, n_cycles, mean)` holds its
tension while the bending cycles about its mean, and the tension and mean
move linearly between blocks (`transition_s`, default one period).
`n_cycles` is the number of cycles simulated for gauge planning, not the
count of the test. Ranges are taken over the last cycle of the last block;
`protocol.block_times_s` gives each block's interval, so the ranges of one
block follow from `dataclasses.replace(protocol, retain_from_s=start)` on the
protocol cut at the block's end.

```python
programme = cx.RigProtocol.blocks(
[cx.RigBlock(80e3, 0.029, 2), cx.RigBlock(80e3, 0.085, 2),
cx.RigBlock(110e3, 0.207, 2)],
samples_per_cycle=40,
)
```

**Setup** (`RigSetup`):

Expand Down Expand Up @@ -267,6 +288,32 @@ Practical consequences for a test plan:
fittings (set-back and epoxy length). `setback_variants_m` shows how
strongly the near-clamp readings depend on it.

### Specimen length (CIGRE TB 862)

`cx.tb862_specimen_checks(cable, test, ...)` compares the lengths of a test
specimen with the requirements of CIGRE TB 862 (2022), using the pitches of
the cable's helical components (`cx.component_pitches(cable)`: armour
layers, the core lay, resolved strand rings, stranded sub-conductors and tape
windings). A conductor given by one `strand_lay_angle_deg`, without resolved
`strand_layers`, is listed at its outer radius, an upper bound of its strand
pitch at that angle. `P_a` is the pitch of the outer armour wires and `P_max`
the longest pitch of any component. A check is refused, not passed, when the
pitch it needs is unknown: a withheld `core_lay` pitch, a helical layer without
its radius or lay angle, or a stranded conductor without its outer radius
blocks the `P_max` checks, and a withheld armour blocks the `P_a` checks.

| `test` | Requirement | Clause | Kind |
|---|---|---|---|
| `"fatigue_template"` | fatigue-loaded section `>= P_max`; `>= P_a` from it to each end fitting (with a uniform-profile `setup`: its free length and clamp set-back) | 6.3.2 | recommended |
| `"fatigue_bend_stiffener"` | top end fitting to stiffener flange `>= P_a` | 6.3.2 | shall |
| | stiffener tip to bottom end fitting `>= P_a` | 6.3.2 | recommended |
| `"bending_stiffness"` | sample `>= P_a` | 6.4.2.2 | recommended |
| `"compression_bending"` | sample `>= 2 P_max` | 6.6.1.2 | recommended |
| `"compression"` | sample between end fittings `>= P_max` | 6.6.1.2 | must |

Each `SpecimenCheck` holds the requirement, the clause, the required and the
actual length, `mandatory` and `passed`.

## 6. Limits

- Clamp model:
Expand Down
8 changes: 8 additions & 0 deletions src/cablexsec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,14 @@
)
from cablexsec.analysis.rig_test import (
GaugeLocation,
RigBlock,
RigProtocol,
RigSetup,
RigTestResult,
SpecimenCheck,
component_pitches,
simulate_rig_test,
tb862_specimen_checks,
)
from cablexsec.analysis.sea_state_batch import (
CapacityBatchCheck,
Expand Down Expand Up @@ -479,9 +483,13 @@
# rig-test simulation and gauge planning
"simulate_rig_test",
"RigProtocol",
"RigBlock",
"RigSetup",
"GaugeLocation",
"RigTestResult",
"SpecimenCheck",
"component_pitches",
"tb862_specimen_checks",
# bending-test arrangements (gap T1)
"simulate_bending_test",
"BendingProtocol",
Expand Down
Loading
Loading