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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ All notable changes to CableXSec are recorded in this file. The format follows

### Added

- `ThermalResult.resistances`: the `T1`, `T2`, `T3` and `T4` of IEC 60287-1-1 Formula (1) that
`compute_thermal` used, split at the innermost armour (`T2` counts a per-core jacket `1/n`, as
CIGRE TB 880 Guidance Point 45 does).
- Rows TB880-C2 and TB880-C8 (registered before the first run): CIGRE TB 880 (2022) Case studies
2 (3x630 mm2 18/30 kV, lead sheaths, steel wire armour) and 8 (3x1000 mm2 220 kV, lead sheaths,
stainless armour) against `compute_thermal`, from cables built on the brochure's datasheets
(`tests/data/tb880/`). `T1`, `T3`, `y_s`, `y_p` and `lambda1'` agree to the printed digits and
`W_d` by +0.136 % (TB 880's `eps0 = 1e-9/(36 pi)` against IEC's 8.854e-12); `T2` (-5.1 %, +0.43
%) and the ratings at 90 degC with TB 880's loss factors (841.50 A against 838.34 A, 1134.95 A
against 1134.82 A) are stated.
- Reported rows SV11-LK, SV11-SIDE, SV11-SUB and SV11-NORM (registered before the runs): what
the SV11 measurements are. Lukassen's (2019) thesis plots both narrow sides of the tendon at
stations 3.1-3.5 for LC 14 (digitised from the native PDF paths,
Expand Down Expand Up @@ -91,6 +101,10 @@ All notable changes to CableXSec are recorded in this file. The format follows

### Fixed

- The sheath reactance of the IEC 60287-1-1 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 any per-metre
property of laid-up cores and as 5.3.11 and CIGRE TB 880 Case study 8 apply it; `R_s` already
did. TB 880 Case 8 read `lambda1'` 2.2 % low without it.
- Every public function of the submodules that takes a cable now reads the cable's own
materials when it is called directly, as the functions of `cablexsec` and
`cablexsec.api` already did. Before, `xi_for_layer`, `yun_shear_stack`, `ei_min_slip`
Expand Down
57 changes: 57 additions & 0 deletions doc/benchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ model) is the full construction.
| Tjahjanto et al. (2017), Leroy et al. (2017) FE armour slip | MM | Qualitative agreement only |
| Sævik and Bruaseth (2005) umbilical axial stiffness | M | NOT VALIDATED |
| Poradowski (2025) conductor temperature | MM | PARTIAL |
| CIGRE TB 880 Case studies 2 and 8, ladder and losses of `compute_thermal` (TB880-C2, TB880-C8) | MM | PASS: `T1`, `T3`, `y_s`, `y_p`, `λ1′` to the printed digits, `W_d` +0.136 % (ε0); `T2` −5.1 % and +0.43 % and ratings +0.38 % and +0.011 % with TB 880's loss factors (stated) |
| Global–local consistency, floating-wind application | I | Full-slip results are upper estimates |
| Laid-core friction (gap R1b), Ménard and Cartraud (2023) six ranges | M | FAIL (BM1-ID, gated). With the transferred 0.3 MPa the cores raise the work (range (b) +30.2 %); identified on (b) with the full accounting, predictions (a) and (c) outside the registered target (+28.5, +26.2 %), (d)–(f) within 16 % |
| Laid-core law, distributed form and contact loads that follow the tension (CF-D, CF-T) | A, I | PASS except CF-D-slip (1.02e-4 against 1e-4 at the default stations: station quadrature, documented) |
Expand Down Expand Up @@ -1024,6 +1025,62 @@ geometric factor need the three cores, so `compute_thermal` on the stack is
not comparable, and the comparison uses the tabulated network
(`tests/test_thermal.py`, `validation/scripts/run_validation.py`).

## CIGRE TB 880 Case studies 2 and 8 (TB880-C2, TB880-C8)

Source: CIGRE TB 880 (2022), *Power cable rating examples for calculation tool
verification*, Section 6 (Case study 2: 3×630 mm² Cu/XLPE/PB/SCPE/PPY/SWA/PPY
18/30 kV array cable, lead sheaths, galvanised steel wire armour) and Section
12 (Case study 8: 3×1000 mm² 220 kV export cable, lead sheaths, stainless steel
wire armour). Both are buried 1 m deep in 0.7 K·m/W soil at 15 °C with solidly
bonded sheaths. The cables are `tests/data/tb880/case2_30kv.yaml` and
`case8_220kv.yaml`, built from the datasheets (Figs 29 and 40) and the
diameters and resistivities of the input tables; the references are the
brochure's printed results.

### Registered targets (registered 2026-11-30, before the first run)

| Quantity | Geometry | Band |
| --- | --- | --- |
| `T1`, `T3`, `y_s`, `W_d` | datasheet (core offset from the diameter over the assembled cores) | 0.5 % |
| `y_p` | cores touching, `s` = core diameter (as TB 880) | 0.5 % |
| `λ1′` | cores touching, with the factor 1.5 of TB 880 Guidance Point 25 on `y_s + y_p` under magnetic armour (Case 2) and the datasheet resistance per metre of core times `C_LL` (Case 8, Guidance Point 23) | 1 % |
| `T2` | datasheet | stated |
| Rating at 90 °C, with TB 880's `λ1` (eddy loss times `F`), `λ2` and the same choices; and with the IEC defaults | datasheet | stated |

TB 880 takes the cores touching for `s` (proximity effect, sheath reactance)
but the datasheet diameter over the assembled cores for `x` of the filler
factor and for `c` of the armour loss. One core offset cannot give both, so
each gated quantity is compared in the geometry TB 880 uses for it, and `T2`
is stated.

### Results

| Case | `T1`, `T3`, `y_s`, `y_p` | `W_d` | `λ1′` | `T2` (stated) | Rating, TB 880 choices (stated) | Rating, IEC defaults (stated) |
| --- | --- | --- | --- | --- | --- | --- |
| 2 | to the printed digits | +0.136 % | to the printed digits | −5.11 % | 841.50 A (TB 880 838.34 A) | 864.29 A |
| 8 | to the printed digits | +0.136 % | +0.0001 % | +0.43 % | 1134.95 A (TB 880 1134.82 A) | 1168.86 A |

Both rows PASS. The differences are explained:

- `W_d`: TB 880 writes the capacitance as `ε/(18 ln(D/d)) 10⁻⁹`, that is
`ε0 = 10⁻⁹/(36π)`; IEC 60287-1-1:2023 5.2 gives `ε0 = 8.854×10⁻¹²` F/m. The
ratio is 1.001364.
- `T2`, Case 2: the touching test of the code selects the curve for equal
thicknesses (at the 134.9 mm assembled diameter the core axes are 63.05 mm
apart, 1.5 % more than the core diameter), TB 880 the curve for sheaths
touching; `x` = 0.0193 in both.
- `T2`, Case 8: the lead sheath keeps its own small conduction resistance in
the ladder (0.00011 K·m/W in `T2`); IEC takes it as an isotherm.
- The IEC-default ratings are 3.1 % and 3.0 % higher: without the eddy loss
(`λ1″` = 0 in IEC) and, in Case 2, without the factor 1.5 on `y_s + y_p`
that IEC 60287-1-1 5.1.6 gives only to pipe-type cables.

The first run found that the sheath reactance of the 5.3.2 route (SL-type
cores under non-magnetic armour, TB 880 Guidance Point 38) did not carry the
lay-up factor that IEC 60287-1-1 Annex A gives to any per-metre property of
laid-up cores, and that 5.3.11 writes into `X`; Case 8 then read `λ1′` 2.2 %
low. It now does (`tests/test_thermal_tb880.py`).

## Temperature history coupled into clamping and fatigue (gap 4.1)

Gates of `tests/test_thermal_history.py` for the slow-time driver
Expand Down
8 changes: 5 additions & 3 deletions doc/local_analysis_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1308,10 +1308,12 @@ in IEC), and the dielectric loss from the `U0` of the insulation's
as CIGRE TB 880 does; a metal tape over the wires is left out (TB 880
Guidance Point 29). A single-core cable gets no proximity or sheath loss (they
depend on the circuit): pass `y_p` and `lambda1`. `result.losses` holds the
values used and the provenance their basis. The ladder is the IEC
single-core-equivalent model, which can read a three-core cable's conductor
values used, `result.resistances` the `T1` to `T4` of IEC 60287-1-1 Formula (1)
(split at the innermost armour), and the provenance their basis. The ladder is the
IEC single-core-equivalent model, which can read a three-core cable's conductor
temperature up to 8 °C low (Chatzipetros and Pilgrim 2018; Section 2). The
section state applies each layer's free thermal strain and the registered polymer E(T) laws within their source
section state applies each layer's free thermal strain and the registered
polymer E(T) laws within their source
ranges, with one temperature per annulus; `temperature_C=` (a value or a
mapping covering every layer) replaces the profile. On this path `sigma_A_Pa`
already contains the thermal stress and `sigma_T_Pa` is zero. Do not combine it
Expand Down
76 changes: 68 additions & 8 deletions src/cablexsec/mechanics/thermal.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,14 @@ class ThermalResult:
Loss terms of one core used by :func:`compute_thermal`: ``R0_ohm_m``,
``R_ac_ohm_m``, ``y_s``, ``y_p``, ``lay_length_factor``, ``W_c_W_m``,
``W_d_W_m``, ``lambda1``, ``lambda2``.
resistances : dict or None
The thermal resistances of [IEC60287-1-1] 4.2.1, Formula (1), from
:func:`compute_thermal` [K m/W]: ``T1_Km_W`` (conductor to sheath, per
core), ``T2_Km_W`` (sheath to the innermost armour, per core of the
``n`` loaded cores: a per-core jacket counts ``1/n``, as in CIGRE TB
880 Guidance Point 45), ``T3_Km_W`` (outside the innermost armour) and
``T4_Km_W``. Without a structural armour ``T3`` is zero and ``T2``
holds everything outside the sheath.
"""

r_m: FloatArray
Expand All @@ -248,6 +256,7 @@ class ThermalResult:
P_total_W_m: float
provenance: Provenance | None = None
losses: dict[str, float] | None = None
resistances: dict[str, float] | None = None


def thermal_resistance(r_inner_m: float, r_outer_m: float, lambda_W_mK: float) -> float:
Expand Down Expand Up @@ -780,12 +789,15 @@ def _sheath_loss_factor(
"""Sheath loss factor ``λ1`` of the cable from its geometry, and a note.

Computed for the per-core metallic screens of a two- or three-core
(SL-type) cable: [IEC60287-1-1] 5.3.11 under magnetic armour (factor 1.5,
``X`` times ``C_LL``) and 5.3.2 otherwise, following CIGRE TB 880 (2022)
Guidance Point 38 for non-magnetic armour; ``λ1'' = 0`` in both clauses.
``R_s`` is that of one core's screen at the sheath temperature, times
``C_LL``: the wires of a wire screen (``strand_layers``) over their own
lay (CIGRE TB 880 Guidance Point 27), a solid sheath or foil by its
(SL-type) cable: [IEC60287-1-1] 5.3.11 under magnetic armour (factor 1.5)
and 5.3.2 otherwise, following CIGRE TB 880 (2022) Guidance Point 38 for
non-magnetic armour; ``λ1'' = 0`` in both clauses. ``X`` and ``R_s`` are
per metre of cable in both: the values of a straight core times ``C_LL``
([IEC60287-1-1] Annex A; 5.3.11 writes it into ``X``; TB 880 Case 8 applies
it to ``X`` under non-magnetic armour). ``R_s`` is that of one core's
screen at the sheath temperature: the wires of a wire screen
(``strand_layers``) over their own lay (CIGRE TB 880 Guidance Point 27),
a solid sheath or foil by its
annulus, and further per-core metallic layers over the screen (a laminated
foil) in parallel with it, as in TB 880 Case 2; metal tapes are left out
(Guidance Point 29, counter helix tapes). A single-core cable (bonding and
Expand Down Expand Up @@ -885,13 +897,14 @@ def _sheath_loss_factor(
spacing,
d_mean,
frequency_Hz=cable.environment.frequency_Hz,
lay_length_factor=lay_factor if sl_armoured else 1.0,
lay_length_factor=lay_factor,
)
lam1 = sheath_circulating_loss_factor(r_s, r_ac_ohm_m, x, sl_armoured=sl_armoured)
clause = (
"5.3.11 (SL type under magnetic armour: factor 1.5, X times C_LL)"
if sl_armoured
else "5.3.2 (SL type, unarmoured or non-magnetic armour; CIGRE TB 880 GP 38)"
else "5.3.2 (SL type, unarmoured or non-magnetic armour; CIGRE TB 880 GP "
"38; X times C_LL, Annex A)"
)
screen = metal
common = [a.layer_name for a in geo.path if a.metallic and not a.per_core] + [
Expand Down Expand Up @@ -1557,6 +1570,13 @@ def compute_thermal(
"lambda1": float(lambda1),
"lambda2": float(lambda2),
}
t1_out, t2_out, t3_out = _iec_resistances(cable, geo)
resistances = {
"T1_Km_W": t1_out,
"T2_Km_W": t2_out,
"T3_Km_W": t3_out,
"T4_Km_W": float(t4),
}
return ThermalResult(
r_m,
t_profile,
Expand All @@ -1565,9 +1585,49 @@ def compute_thermal(
float(p_total),
provenance=prov,
losses=losses,
resistances=resistances,
)


def _iec_resistances(
cable: CableData, geo: _LadderGeometry
) -> tuple[float, float, float]:
"""``T1``, ``T2``, ``T3`` of [IEC60287-1-1] Formula (1) from the ladder.

The per-core equivalents of :func:`_layer_heat_flows` (a cable-level
annulus counts once per cable, a per-core annulus ``1/n`` outside ``T1``).
Outside ``T1`` a cable-level annulus outside ``k`` of ``m`` structural
armour layers carries the share ``s = k/m`` of the armour loss in the
solver; its resistance goes ``(1 - s)`` to ``T2`` and ``s`` to ``T3``, so
that Formula (1) with these values reproduces the ladder for any
``lambda2`` (the split depends on the geometry only). Per-core annuli and
those inside every armour (``s = 0``) are ``T2``; those outside every
armour (``s = 1``) are ``T3``. Without a structural armour ``T3`` is zero.
"""
radii = _armour_radii(cable)
n = float(geo.n)
t1 = t2 = t3 = 0.0
for annulus, inner in zip(geo.path, geo.in_t1, strict=True):
r_i = thermal_resistance(
annulus.layer.r_inner_m, annulus.layer.r_outer_m, annulus.layer.lambda_W_mK
)
if geo.multi_core:
mult = 1.0 if annulus.per_core else n
else:
mult = 1.0 if inner else n
if inner:
t1 += mult * r_i
continue
share = 0.0
if radii and not annulus.per_core:
share = sum(
1.0 for r_a in radii if r_a <= annulus.layer.r_inner_m + 1e-12
) / len(radii)
t2 += (1.0 - share) * mult * r_i / n
t3 += share * mult * r_i / n
return t1, t2, t3


def _cable_dielectric_loss(
cable: CableData, *, lay_factor: float = 1.0, include: bool | None = None
) -> tuple[float, str]:
Expand Down
Loading
Loading