Repository navigation
feat: CIGRE TB 880 Case studies 2 and 8 rows; IEC thermal resistances - #69
Conversation
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>
|
@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: 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".
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>
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 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". |
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>
…#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>
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>
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.yamlandcase8_220kv.yamlare 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).Registered targets (before the first run) and results
The differences are explained in
doc/benchmarks.md:New:
ThermalResult.resistancescompute_thermalnow returns theFix:$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$\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).
Xlacked the lay-up factor that Annex A gives any per-metre property of laid-up cores, which 5.3.11 writes intoXand TB 880 Case 8 applies.R_salready carried it. Case 8 readTests
tests/test_thermal_tb880.py(12,independent_method): registered bands; ladder terms to the printed digits; thevalidation/scripts/check_tb880.pyand rows TB880-C2, TB880-C8 invalidation/validation_report.md.-n 7), as doruff check,ruff format --check,mypyandsphinx-build -W.independent_method105 (+12).Checklist
pre-commit run --all-filespasses (ruff check and format on the CI trees)python -m pytest -qpassespython -m mypypassesvalidation/validation_report.mdupdated (rows, taxonomy)[Unreleased]doc/updated (benchmarks.md,local_analysis_guide.md)