Skip to content

feat: CIGRE TB 880 Case studies 2 and 8 rows; IEC thermal resistances - #69

Merged
SMI-Lab-Inha merged 2 commits into
devfrom
feat/tb880-thermal-rows
Nov 30, 2026
Merged

SMI-Lab-Inha merged 2 commits into
devfrom
feat/tb880-thermal-rows

Conversation

@SMI-Lab-Inha

@SMI-Lab-Inha SMI-Lab-Inha commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Verification of the IEC 60287 thermal chain against CIGRE TB 880 (2022), Power cable rating examples for calculation tool verification, Case studies 2 and 8, plus one fix the comparison exposed.

Cables

tests/data/tb880/case2_30kv.yaml and case8_220kv.yaml are built from the TB 880 datasheets (Figs 29 and 40) and the diameters and thermal resistivities of its input tables. They carry thermal and electrical properties only (no stress or fatigue use).

Case Cable Sheath / armour TB 880 rating
2 3×630 mm² Cu, 18/30 kV array cable lead / galvanised steel wires (magnetic) 838.34 A
8 3×1000 mm² Cu, 220 kV export cable lead / stainless steel wires (non-magnetic) 1134.82 A

Registered targets (before the first run) and results

Quantity Band Case 2 Case 8
$T_1$, $T_3$, $y_s$ (datasheet geometry) 0.5 % printed digits printed digits
$y_p$ (cores touching, as TB 880) 0.5 % printed digits printed digits
$W_d$ 0.5 % +0.136 % +0.136 %
$\lambda_1'$ (cores touching; GP 25 factor 1.5 on $y_s + y_p$ in Case 2) 1 % printed digits +0.0001 %
$T_2$ stated −5.11 % +0.43 %
Rating at 90 °C, TB 880's loss factors stated 841.50 A 1134.95 A
Rating at 90 °C, IEC defaults stated 864.29 A 1168.86 A

The differences are explained in doc/benchmarks.md:

  • $W_d$: TB 880 writes $C = \varepsilon / (18 \ln(D/d)),10^{-9}$, i.e. $\varepsilon_0 = 10^{-9}/(36\pi)$; IEC 60287-1-1:2023 5.2 gives $8.854\times10^{-12}$ F/m. Ratio 1.001364.
  • $T_2$, Case 2: TB 880 takes the cores touching for $s$ but the 134.9 mm assembled diameter for $x$ of the filler factor (and $c$ of the armour loss). One core offset cannot give both; at 134.9 mm the core axes are 1.5 % more than a core diameter apart, so the code picks the curve for equal thicknesses ($x = 0.0193$ in both).
  • $T_2$, Case 8: the lead sheath keeps its own small resistance in the ladder (0.00011 K·m/W in $T_2$); IEC takes it as an isotherm.
  • IEC-default ratings 3.1 % and 3.0 % higher: $\lambda_1'' = 0$ in IEC, and no factor 1.5 on $y_s + y_p$ (IEC 60287-1-1 5.1.6 gives it to pipe-type cables only).

New: ThermalResult.resistances

compute_thermal now returns the $T_1$, $T_2$, $T_3$, $T_4$ of IEC 60287-1-1 Formula (1) that it used, split at the innermost armour. $T_2$ counts a per-core jacket $1/n$, as TB 880 Guidance Point 45 does. Formula (1) with these values reproduces the ladder's conductor temperature (test).

Fix: $C_{LL}$ on the sheath reactance of the 5.3.2 route

SL-type cores unarmoured or under non-magnetic armour use IEC 60287-1-1 5.3.2 (TB 880 Guidance Point 38). There X lacked the lay-up factor that Annex A gives any per-metre property of laid-up cores, which 5.3.11 writes into X and TB 880 Case 8 applies. R_s already carried it. Case 8 read $\lambda_1'$ 2.2 % low; now to the printed digits. Cables affected: three-core SL cables without magnetic armour (none of the bundled templates; they have steel armour or a single-core-equivalent stack).

Tests

  • tests/test_thermal_tb880.py (12, independent_method): registered bands; ladder terms to the printed digits; the $\varepsilon_0$ ratio; stated ratings as regression bounds; the $T_1$–$T_4$ split (closed-form $T_3$, Formula (1) reproduces the ladder); no $T_3$ without armour; $C_{LL}$ on $X$ under non-magnetic armour.
  • validation/scripts/check_tb880.py and rows TB880-C2, TB880-C8 in validation/validation_report.md.
  • Full suite passes locally (-n 7), as do ruff check, ruff format --check, mypy and sphinx-build -W.
  • Validation report taxonomy: independent_method 105 (+12).

Checklist

  • pre-commit run --all-files passes (ruff check and format on the CI trees)
  • python -m pytest -q passes
  • python -m mypy passes
  • validation/validation_report.md updated (rows, taxonomy)
  • CHANGELOG.md updated under [Unreleased]
  • Documentation in doc/ updated (benchmarks.md, local_analysis_guide.md)
  • Every new constant or reference value states its source
  • Conventional Commit title
  • Commits are signed off

Rows TB880-C2 and TB880-C8 compare compute_thermal with CIGRE TB 880
(2022) Case study 2 (3x630 mm2 18/30 kV, lead sheaths, galvanised steel
wire armour) and Case study 8 (3x1000 mm2 220 kV, lead sheaths, stainless
armour), on cables built from the brochure's datasheets
(tests/data/tb880/). Bands registered before the first run: T1, T3, y_s,
y_p, W_d within 0.5 %, lambda1' within 1 %; T2 and the ratings stated.
T1, T3, y_s, y_p and lambda1' agree to the printed digits; W_d is +0.136 %
(TB 880's eps0 = 1e-9/(36 pi) against IEC's 8.854e-12). T2 is -5.1 % in
Case 2 (TB 880 takes the cores touching for s but the assembled diameter
for x; the code then selects the other curve) and +0.43 % in Case 8 (the
lead sheath's own resistance). The ratings at 90 degC with TB 880's loss
factors are 841.50 A (838.34 A) and 1134.95 A (1134.82 A).

ThermalResult.resistances returns the T1, T2, T3, T4 of IEC 60287-1-1
Formula (1) that compute_thermal used, split at the innermost armour.

Fix: the sheath reactance of the 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 per-metre properties of laid-up cores and as 5.3.11 and TB 880
Case 8 apply it; R_s already did. Case 8 read lambda1' 2.2 % low without
it.

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

chatgpt-codex-connector Bot commented Nov 30, 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-30T06:04:46.463845Z 3926fe1 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 30, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 CableXSec | 🛠️ Build #36255126 | 📁 Comparing 3926fe1 against latest (2af48a4)

  🔍 Preview build  

19 files changed · ± 19 modified

± Modified

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 664106ca91

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

Comment thread src/cablexsec/mechanics/thermal.py Resolved
With two armour layers the solver releases the armour loss in equal
shares at the armour radii, so an annulus between them (the bedding of
iea_task49_66kv) carries half of it. ThermalResult.resistances put that
whole annulus in T3, where Formula (1) applies the full armour loss, so
the resistances did not reproduce T_conductor_C for a nonzero lambda2.
Each annulus outside k of m armour layers now goes (1 - k/m) to T2 and
k/m to T3, which reproduces the ladder for any lambda2; single-armour
cables (the TB 880 cases) are unchanged. New test reconstructs the 66 kV
two-armour template with lambda2 = 0.3.

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. 🚀

Reviewed commit: 3926fe198b

ℹ️ 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 ff200a7 into dev Nov 30, 2026
14 checks passed
@SMI-Lab-Inha
SMI-Lab-Inha deleted the feat/tb880-thermal-rows branch November 30, 2026 09:47
SMI-Lab-Inha added a commit that referenced this pull request Nov 30, 2026
BlockProgramme and FatigueTestBlock hold the blocks of a full-scale
fatigue test (CIGRE TB 862 6.3.4): cycles, constant tension, curvature
range and damage per cycle from the service fatigue calculation. The
programme gives block and accumulated damage and damage shares, checks the
Table 6-4 requirements it can check by itself (test damage and block
tension against the service values), builds the test sequence with the
switching of 6.3.4.3 and converts the blocks to RigBlocks.

The sequence cuts each block into ceil(1/max_fraction) parts and orders
them so that no two parts of one block follow each other (the next part of
the block with the most parts left, other than the block just run; with
equal part counts this is the 1A..8A, 1B..8B rounds of Table D.3). A
programme whose largest block cannot be separated by the others (one block
alone, or three parts against a single other part) raises CableInputError,
since no sequence meets 6.3.4.3.

TB 862 Tables D.1 to D.3 are regression cases. Table D.3 prints 6.05e-4 for
blocks 3A and 3B; 61 116 cycles at 9.90e-10 give 6.05e-5, which its total
uses. Its Appendix D.3 gives a service mean tension of 82 kN but runs the
Table D.2 blocks at 80 kN, so the strict tension check fails on its own
example (recorded in a test).

Docs: ThermalResult.resistances, the CHANGELOG and the local analysis guide
still described the T2/T3 split at the innermost armour; since #69 each
annulus is split by its armour-loss share k/m.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
This was referenced Nov 30, 2026
SMI-Lab-Inha added a commit that referenced this pull request Nov 30, 2026
…#69)

Rows TB880-C2 and TB880-C8 compare compute_thermal with CIGRE TB 880
(2022) Case study 2 (3x630 mm2 18/30 kV, lead sheaths, galvanised steel
wire armour) and Case study 8 (3x1000 mm2 220 kV, lead sheaths, stainless
armour), on cables built from the brochure's datasheets
(tests/data/tb880/). Bands registered before the first run: T1, T3, y_s,
y_p, W_d within 0.5 %, lambda1' within 1 %; T2 and the ratings stated.
T1, T3, y_s, y_p and lambda1' agree to the printed digits; W_d is +0.136 %
(TB 880's eps0 = 1e-9/(36 pi) against IEC's 8.854e-12). T2 is -5.1 % in
Case 2 (TB 880 takes the cores touching for s but the assembled diameter
for x; the code then selects the other curve) and +0.43 % in Case 8 (the
lead sheath's own resistance). The ratings at 90 degC with TB 880's loss
factors are 841.50 A (838.34 A) and 1134.95 A (1134.82 A).

ThermalResult.resistances returns the T1, T2, T3, T4 of IEC 60287-1-1
Formula (1) that compute_thermal used. Each annulus is split between T2
and T3 by its armour-loss share s = k/m (T2 gets (1 - s) R, T3 gets s R),
so a cable with two armour layers reproduces the solver's thermal circuit.

Fix: the sheath reactance of the 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 per-metre properties of laid-up cores and as 5.3.11 and TB 880
Case 8 apply it; R_s already did. Case 8 read lambda1' 2.2 % low without
it.

Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
SMI-Lab-Inha added a commit that referenced this pull request Nov 30, 2026
BlockProgramme and FatigueTestBlock hold the blocks of a full-scale
fatigue test (CIGRE TB 862 6.3.4): cycles, constant tension, curvature
range and damage per cycle from the service fatigue calculation. The
programme gives block and accumulated damage and damage shares, checks the
Table 6-4 requirements it can check by itself (test damage and block
tension against the service values), builds the test sequence with the
switching of 6.3.4.3 and converts the blocks to RigBlocks.

The sequence cuts each block into ceil(1/max_fraction) parts and orders
them so that no two parts of one block follow each other (the next part of
the block with the most parts left, other than the block just run; with
equal part counts this is the 1A..8A, 1B..8B rounds of Table D.3). A
programme whose largest block cannot be separated by the others (one block
alone, or three parts against a single other part) raises CableInputError,
since no sequence meets 6.3.4.3.

TB 862 Tables D.1 to D.3 are regression cases. Table D.3 prints 6.05e-4 for
blocks 3A and 3B; 61 116 cycles at 9.90e-10 give 6.05e-5, which its total
uses. Its Appendix D.3 gives a service mean tension of 82 kN but runs the
Table D.2 blocks at 80 kN, so the strict tension check fails on its own
example (recorded in a test).

Docs: ThermalResult.resistances, the CHANGELOG and the local analysis guide
still described the T2/T3 split at the innermost armour; since #69 each
annulus is split by its armour-loss share k/m.

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