From 3d389382928ad9dd44d531f2bcb4c86135f4785b Mon Sep 17 00:00:00 2001 From: Jae Hoon Seo Date: Tue, 17 Nov 2026 23:50:50 +0900 Subject: [PATCH] feat: an umbilical utilisation basis of the capacity envelope build_capacity_envelope(basis="iso_13628_5") applies one utilisation factor to every element of the section: the allowable stress k_u sigma_y of the armour wires, the conductor's 0.2 % proof stress, screens and sheaths, the allowable strain k_u epsilon_allow of polymers and the buckling screen, the form of the umbilical capacity curve in Skeie et al. (2012, Sec. 3.1). ISO_13628_5_UTILISATION_FACTORS holds the factors that the MecLim II guideline (Sec. 3.5) reports for API 17E / ISO 13628-5 practice; the standard's own text is not reproduced, and its element stress definitions and load categories are not implemented. The default power-cable basis is unchanged; the envelope records its basis. The capacity documentation now states the copper plastic-limit mechanism (the conductor's proof stress as a component limit, separate from fracture), and the 66 kV template page no longer says the envelope lacks it. Signed-off-by: Jae Hoon Seo --- CHANGELOG.md | 16 +++ doc/template_66kv.md | 9 +- doc/uls_guide.md | 29 ++++++ src/cablexsec/__init__.py | 2 + src/cablexsec/analysis/capacity.py | 9 ++ src/cablexsec/analysis/capacity_check.py | 103 ++++++++++++++++--- tests/test_capacity_basis.py | 121 +++++++++++++++++++++++ 7 files changed, 273 insertions(+), 16 deletions(-) create mode 100644 tests/test_capacity_basis.py diff --git a/CHANGELOG.md b/CHANGELOG.md index b25ea73..696c61a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -213,6 +213,17 @@ All notable changes to CableXSec are recorded in this file. The format follows times the free-field peak): their FE far field does not slip, and their analytical friction field breaks the Coulomb flow rule. The friction regime parameter of Zhu and Tan, not printed, follows from their Table 2. No solver change. +- An umbilical utilisation basis of the capacity envelope: + `build_capacity_envelope(..., basis="iso_13628_5")` applies one utilisation factor `k_u` to + every element of the section (allowable stress `k_u σ_y` of the armour wires, the conductor's + 0.2 % proof stress, screens and sheaths; allowable strain `k_u ε_allow` of polymers; the + buckling screen), the form of the umbilical capacity curve in Skeie et al. (2012, Sec. 3.1). + `ISO_13628_5_UTILISATION_FACTORS` holds the factors MecLim II (Sec. 3.5, p. 19) reports for + the practice of API 17E / ISO 13628-5: 0.80 normal operation, 1.00 load-controlled and 0.75 + displacement-controlled installation, 1.00 abnormal operation; 0.80 is the default. The + standard's own text is not reproduced: its element stress definitions and load categories are + not in a public source and are not implemented. The envelope records its `basis`; the default + `"power_cable"` (DNV-RP-F401 armour factor, MecLim II component factor) is unchanged. ### Deprecated @@ -292,6 +303,11 @@ All notable changes to CableXSec are recorded in this file. The format follows ### Fixed +- The capacity documentation states the copper plastic-limit mechanism: the conductor's 0.2 % + proof stress at its extreme wire fibre, on the strand basis of its bending stiffness, is a + component limit of the envelope (the `yielding` mode of the conductor layer), separate from + conductor fracture. The 66 kV template page no longer says the envelope lacks it (it governs + the template's capacity, Section 4.6). - `export_bending_law` keeps the stick stiffness at every tension. Its geometric curvature grid started at `1e-4 κ_max` whatever the tension, so a slip onset below that floor (66 kV template, `κ_max` 0.4 1/m: outer armour 7.3e-6 1/m and inner 2.3e-5 1/m at 10 kN) was inside the first diff --git a/doc/template_66kv.md b/doc/template_66kv.md index 0244a83..6a84b2d 100644 --- a/doc/template_66kv.md +++ b/doc/template_66kv.md @@ -556,9 +556,12 @@ and the mass carry the template's known differences (Section 5, items 1 and are not published; the designed stranding of Section 4.5 resolves them under stated assumptions for conductor fatigue, while the radial solvers still need the area-equivalent solid. -3. **Capacity mechanisms.** The envelope has no copper plastic-limit or - conductor bending mechanism; the source capacity (0.5 1/m, about 600 kN at - 100 % utilisation, Fig. 21) is governed by copper. In compression the +3. **Capacity mechanisms.** The copper plastic limit is a mechanism of the + envelope (Section 4.6): the conductor's 0.2 % proof stress at its extreme + wire fibre, on the strand basis of the assumed 5 GPa bending modulus. It + governs, as copper governs the source capacity (0.5 1/m, about 600 kN at + 100 % utilisation, Fig. 21), but its bending part rests on that assumed + modulus, not on resolved wires. In compression the armour screen ([uls_guide.md](uls_guide.md), Section 6) gives a cable capacity of 6.9 kN, set by lateral buckling of the 10° outer armour once the wires slip (4.6 kN at the DNV-RP-F401 normal-operation factor 0.67); diff --git a/doc/uls_guide.md b/doc/uls_guide.md index cfa2034..8193a23 100644 --- a/doc/uls_guide.md +++ b/doc/uls_guide.md @@ -168,6 +168,35 @@ against the design compression capacity with the armour slipping, the mechanism named, and the radial (bird-caging) utilisation with the armour stuck beside it. +**Copper plastic limit.** The conductor is checked against its 0.2 % proof +stress (the material's `sigma_y_Pa`) at its extreme wire fibre, on the strand +basis of its bending stiffness, with the component factor. It appears in the +envelope as the `yielding` mode of the conductor layer (`component_governing`), +separately from conductor fracture, which compares the net-section stress with +the tensile strength and stays characteristic. + +**Umbilical basis.** `cx.build_capacity_envelope(..., basis="iso_13628_5")` +draws the capacity curve in the form used for umbilicals: one utilisation +factor `k_u` for every element of the section, the allowable stress +`k_u σ_y` of every metallic element (armour wires, the conductor's proof +stress, screens and sheaths) and the allowable strain `k_u ε_allow` of every +polymer (Skeie, Sødahl and Steinkjer 2012, Sec. 3.1). `k_u` is +`utilisation_factor`; its default and `cx.ISO_13628_5_UTILISATION_FACTORS` are +the values MecLim II (Sec. 3.5, p. 19) gives for the practice of API 17E / +ISO 13628-5 for subsea umbilicals: + +| Condition | `k_u` | +| --- | --- | +| Normal operation (combined loading) | 0.80 | +| Installation, load-controlled | 1.00 | +| Installation, displacement-controlled | 0.75 | +| Abnormal operation | 1.00 | + +The same factor applies to the buckling screen. The standard itself is not +reproduced: its element stress definitions and load categories are not in a +public source and are not implemented. The default basis, `"power_cable"`, +keeps the armour factor of DNV-RP-F401 and the component factor of MecLim II. + ## 5. Use ```python diff --git a/src/cablexsec/__init__.py b/src/cablexsec/__init__.py index 624de83..998c8df 100644 --- a/src/cablexsec/__init__.py +++ b/src/cablexsec/__init__.py @@ -56,6 +56,7 @@ export_bending_law, ) from cablexsec.analysis.capacity_check import ( + ISO_13628_5_UTILISATION_FACTORS, CapacityCheckResult, CapacityEnvelope, GumbelFit, @@ -454,6 +455,7 @@ "compute_component_response", # component limits (0.2 % proof stress, allowable strain) and capacity "COMPONENT_UTILISATION_FACTORS", + "ISO_13628_5_UTILISATION_FACTORS", "ComponentUsageCurve", "bending_directions", "capacity_utilisation", diff --git a/src/cablexsec/analysis/capacity.py b/src/cablexsec/analysis/capacity.py index 54a342a..6864f85 100644 --- a/src/cablexsec/analysis/capacity.py +++ b/src/cablexsec/analysis/capacity.py @@ -19,6 +19,15 @@ Components largest utilisation of the other components component limits ============== ============================================ ================== +The conductor has two mechanisms. **Fracture** (``Conductor``) compares the +net-section stress with the tensile strength. The **plastic limit** is one of +the component limits: the largest longitudinal stress of the conductor, at +its extreme wire fibre and on the strand basis of its bending stiffness, over +its 0.2 % proof stress (the material's ``sigma_y_Pa``; 120 MPa for the ETP +copper of the 66 kV template, [Janocha2024] Sec. 2.1, p. 5). It is reported +as the ``yielding`` mode of the conductor layer in ``governing_component`` +and governs the 66 kV template's tension and bending capacity. + Component limits: the 0.2 % proof stress of the conductor on the strand basis of its bending stiffness and the allowable strain of polymers, metallic screens and sheaths, wherever the material gives them (the first yield of a diff --git a/src/cablexsec/analysis/capacity_check.py b/src/cablexsec/analysis/capacity_check.py index b88075c..aaf09dd 100644 --- a/src/cablexsec/analysis/capacity_check.py +++ b/src/cablexsec/analysis/capacity_check.py @@ -91,6 +91,9 @@ from cablexsec.provenance import Provenance __all__ = [ + "CAPACITY_BASES", + "ISO_13628_5_UTILISATION_FACTORS", + "CapacityBasis", "CapacityCheckResult", "CapacityEnvelope", "ExceedanceStatistics", @@ -105,6 +108,26 @@ FloatArray = NDArray[np.float64] TensionKind = Literal["effective", "true", "material"] +CapacityBasis = Literal["power_cable", "iso_13628_5"] +#: The utilisation definitions of :func:`build_capacity_envelope`. +CAPACITY_BASES: tuple[str, ...] = ("power_cable", "iso_13628_5") + +#: Utilisation factors of the umbilical basis (``basis="iso_13628_5"``) by +#: lifecycle phase, one factor for every element of the section. Values as the +#: OWA MecLim II guideline (July 2025) Sec. 3.5, p. 19, reports the practice of +#: API 17E / ISO 13628-5 for subsea umbilicals: 1.00 in abnormal operation, +#: 1.00 in load-controlled installation (0.75 to be considered under +#: displacement control) and 0.80 in normal operation (combined loading). +ISO_13628_5_UTILISATION_FACTORS: Mapping[str, float] = { + "normal": 0.80, + "installation": 1.00, + "installation_displacement_controlled": 0.75, + "abnormal": 1.00, +} +_ISO_FACTOR_SOURCE = ( + "[MecLim2025] Sec. 3.5, p. 19 (its account of API 17E / ISO 13628-5 " + "utilisation factors for subsea umbilicals)" +) OutOfRange = Literal["raise", "clamp"] EULER_GAMMA = 0.5772156649015329 _MECHANISMS = ( @@ -233,6 +256,7 @@ class CapacityEnvelope: source: str = "" provenance: Provenance | None = None component_utilisation_factor: float = 1.0 + basis: str = "power_cable" component_levels_1_m: FloatArray = field(default_factory=lambda: np.zeros((0, 0))) component_zero_utilisation: FloatArray = field(default_factory=lambda: np.zeros(0)) component_governing: tuple[tuple[str, str], ...] = () @@ -254,6 +278,10 @@ def __post_init__(self) -> None: 0.0 < self.utilisation_factor <= 1.0 ): raise CableInputError("utilisation_factor must lie in (0, 1]") + if self.basis not in (*CAPACITY_BASES, "imported"): + raise CableInputError( + "basis must be 'power_cable', 'iso_13628_5' or 'imported'" + ) if self.mbr_m is not None and not ( math.isfinite(self.mbr_m) and self.mbr_m > 0 ): @@ -302,6 +330,7 @@ def from_points( utilisation_factor=utilisation_factor, tension_kind=tension_kind, governing=("imported",) * tension.size, + basis="imported", mbr_m=mbr_m, mbr_source=mbr_source, source=source, @@ -595,6 +624,7 @@ def build_capacity_envelope( component_limits: bool = True, curvature_nodes: ArrayLike = (), curvatures: bool = True, + basis: CapacityBasis = "power_cable", ) -> CapacityEnvelope: """Capacity envelope with utilisation levels over a tension grid. @@ -641,6 +671,19 @@ def build_capacity_envelope( ``False`` computes the components at zero curvature only: an envelope to scan the utilisation at zero curvature over tension (the tension and compression capacities), not to check a bent section. + basis : {"power_cable", "iso_13628_5"} + The utilisation definition. ``"power_cable"`` (default): the armour + factor of DNV-RP-F401 Table 3-1 and the component factor of the same + lifecycle phase of MecLim II Table 5. ``"iso_13628_5"``: the + umbilical form of the capacity curve, one utilisation factor ``k_u`` + for every element of the section, the allowable stress ``k_u sigma_y`` + of a metallic element (armour wires, the conductor's 0.2 % proof + stress, screens and sheaths) and the allowable strain ``k_u + epsilon_allow`` of a polymer (Skeie et al. 2012, Sec. 3.1). ``k_u`` is + ``utilisation_factor`` (default the normal-operation value of + :data:`ISO_13628_5_UTILISATION_FACTORS`, 0.80) and applies to the + buckling screen too; ``component_utilisation_factor`` must then be + omitted or equal to it. """ from cablexsec.analysis import capacity as cap # noqa: PLC0415 from cablexsec.analysis.component_limits import ( # noqa: PLC0415 @@ -657,13 +700,26 @@ def build_capacity_envelope( _screen, ) - eta = ( - ARMOUR_UTILISATION_FACTORS["normal"] - if utilisation_factor is None - else float(utilisation_factor) + if basis not in CAPACITY_BASES: + raise CableInputError("basis must be 'power_cable' or 'iso_13628_5'") + iso = basis == "iso_13628_5" + default_factor = ( + ISO_13628_5_UTILISATION_FACTORS["normal"] + if iso + else ARMOUR_UTILISATION_FACTORS["normal"] ) + eta = default_factor if utilisation_factor is None else float(utilisation_factor) + if ( + iso + and component_utilisation_factor is not None + and float(component_utilisation_factor) != eta + ): + raise CableInputError( + "basis 'iso_13628_5' applies one utilisation factor to every element: " + "omit component_utilisation_factor or set it to utilisation_factor" + ) eta_c = ( - component_factor_for(eta) + (eta if iso else component_factor_for(eta)) if component_utilisation_factor is None else float(component_utilisation_factor) ) @@ -867,6 +923,7 @@ def cached(bracket: Any = bracket, cache: list[float] = cache) -> float: mbr_source=mbr_note, source=f"CableXSec envelope of {cable.cable.name}", component_utilisation_factor=eta_c, + basis=basis, component_levels_1_m=c_levels if assessed else np.zeros((0, 0)), component_zero_utilisation=c_zero if assessed else np.zeros(0), component_governing=tuple(c_governing) if assessed else (), @@ -876,7 +933,15 @@ def cached(bracket: Any = bracket, cache: list[float] = cache) -> float: wire_beyond_slope=beyond, provenance=Provenance( method=( - "capacity envelope with utilisation levels: largest armour " + ( + "umbilical (ISO 13628-5) form of the capacity curve: one " + f"utilisation factor k_u = {eta:g} for every element, " + "allowable stress k_u sigma_y, allowable polymer strain " + "k_u epsilon_allow; " + if iso + else "" + ) + + "capacity envelope with utilisation levels: largest armour " "wire stress over the yield stress, from the common slip-front " "stress, at design utilisation levels " f"{', '.join(f'{v:g}' for v in level_values)} (design " @@ -895,13 +960,17 @@ def cached(bracket: Any = bracket, cache: list[float] = cache) -> float: ), citations=( "[Skeie2012] Sec. 3.1, Fig. 11", - "[DNV-RP-F401] Sec. 3.8.1, Table 3-1, p. 13", + *( + (_ISO_FACTOR_SOURCE,) + if iso + else ("[DNV-RP-F401] Sec. 3.8.1, Table 3-1, p. 13",) + ), "[SaevikThorsen2017]", "[LiVaz2021a]", ) + ( ("[MecLim2025] Table 5, p. 19 (components other than the armour)",) - if assessed + if assessed and not iso else () ) + ((polymer_crush_source,) if polymer_crush_source else ()), @@ -910,11 +979,19 @@ def cached(bracket: Any = bracket, cache: list[float] = cache) -> float: "tests/test_capacity_check.py", ), limitations=( - "the design utilisation factor is applied to the armour wire " - "stress and " - "buckling capacities, the component factor to the limits of the " - "other components; conductor fracture and polymer crushing " - "are characteristic", + ( + "umbilical basis: the utilisation factor follows the " + "published account of ISO 13628-5 practice; the " + "standard's own clauses (element stress definitions, load " + "categories) are not reproduced; conductor fracture and " + "polymer crushing are characteristic" + if iso + else "the design utilisation factor is applied to the armour " + "wire stress and " + "buckling capacities, the component factor to the limits of " + "the other components; conductor fracture and polymer " + "crushing are characteristic" + ), "a component without a limit in its material is not checked; " "layers outside the load path (loose screens) are left out, " "their kinematic stress being an upper bound", diff --git a/tests/test_capacity_basis.py b/tests/test_capacity_basis.py new file mode 100644 index 0000000..70b7960 --- /dev/null +++ b/tests/test_capacity_basis.py @@ -0,0 +1,121 @@ +# SPDX-License-Identifier: Apache-2.0 +# Copyright (c) 2026 Jae Hoon Seo, SMI Lab, Inha University +"""Utilisation bases of the capacity envelope and the copper plastic limit.""" + +from __future__ import annotations + +import warnings + +import numpy as np +import pytest + +import cablexsec as cx +from cablexsec.analysis.capacity_check import ( + CAPACITY_BASES, + ISO_13628_5_UTILISATION_FACTORS, + CapacityEnvelope, +) +from cablexsec.exceptions import CableInputError + +GRID = [0.0, 2.0e5] + + +@pytest.fixture(scope="module") +def cable() -> cx.CableData: + return cx.load_cable(cx.iea_task49_66kv_yaml_path()) + + +def _envelope(cable: cx.CableData, **kwargs: object) -> CapacityEnvelope: + with warnings.catch_warnings(): + warnings.simplefilter("ignore") + return cx.build_capacity_envelope(cable, GRID, **kwargs) + + +def test_published_umbilical_factors() -> None: + assert CAPACITY_BASES == ("power_cable", "iso_13628_5") + assert dict(ISO_13628_5_UTILISATION_FACTORS) == { + "normal": 0.80, + "installation": 1.00, + "installation_displacement_controlled": 0.75, + "abnormal": 1.00, + } + assert cx.ISO_13628_5_UTILISATION_FACTORS is ISO_13628_5_UTILISATION_FACTORS + + +def test_umbilical_basis_is_one_factor_for_every_element(cable) -> None: + iso = _envelope(cable, basis="iso_13628_5") + assert iso.basis == "iso_13628_5" + assert iso.utilisation_factor == 0.80 + assert iso.component_utilisation_factor == 0.80 + # The same element utilisations with the factor set by hand on the + # power-cable basis: the bases differ only in the factors. + same = _envelope(cable, utilisation_factor=0.8, component_utilisation_factor=0.8) + assert same.basis == "power_cable" + for name in ( + "kappa_capacity_1_m", + "tension_utilisation", + "levels", + "kappa_levels_1_m", + "component_levels_1_m", + "component_zero_utilisation", + "lateral_utilisation", + ): + np.testing.assert_array_equal(getattr(iso, name), getattr(same, name)) + assert iso.component_governing == same.component_governing + assert iso.provenance is not None + assert any("ISO 13628-5" in c for c in iso.provenance.citations) + assert not any("DNV-RP-F401" in c for c in iso.provenance.citations) + assert iso.provenance.method.startswith("umbilical (ISO 13628-5) form") + # Every phase factor applies to armour and components alike. + installation = _envelope( + cable, + basis="iso_13628_5", + utilisation_factor=ISO_13628_5_UTILISATION_FACTORS[ + "installation_displacement_controlled" + ], + ) + assert installation.utilisation_factor == 0.75 + assert installation.component_utilisation_factor == 0.75 + + +def test_power_cable_basis_is_unchanged(cable) -> None: + default = _envelope(cable) + explicit = _envelope(cable, basis="power_cable") + assert default.basis == "power_cable" + assert default.utilisation_factor == 0.67 + assert default.component_utilisation_factor == 0.80 + np.testing.assert_array_equal( + default.kappa_capacity_1_m, explicit.kappa_capacity_1_m + ) + assert default.provenance is not None + assert any("DNV-RP-F401" in c for c in default.provenance.citations) + + +def test_basis_inputs_are_checked(cable) -> None: + with pytest.raises(CableInputError, match="basis must be"): + _envelope(cable, basis="api_17j") + with pytest.raises(CableInputError, match="one utilisation factor"): + _envelope(cable, basis="iso_13628_5", component_utilisation_factor=0.67) + imported = CapacityEnvelope.from_points(GRID, [0.3, 0.2], source="a report") + assert imported.basis == "imported" + with pytest.raises(CableInputError, match="basis must be"): + CapacityEnvelope( + tension_N=np.array(GRID), + kappa_capacity_1_m=np.array([0.3, 0.2]), + tension_utilisation=np.zeros(2), + utilisation_factor=1.0, + tension_kind="effective", + basis="other", + ) + + +def test_copper_plastic_limit_governs_the_66kv_template(cable) -> None: + # The conductor's 0.2 % proof stress (120 MPa), reported as its yielding + # mode, governs the template's capacity (doc/template_66kv.md, 4.6). + envelope = _envelope(cable) + assert all(g == "component_limit" for g in envelope.governing) + assert envelope.component_governing == (("cu_conductor", "yielding"),) * 2 + proof = cx.materials.library.get_property( + cable.get_layer("cu_conductor").material, "sigma_y_Pa" + ) + assert proof == pytest.approx(120.0e6)