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

### Added

- Frozen extrusion shrinkage of a concentric layer: `extrusion_shrinkage` (`hoop_strain`,
`basis`, `source`; `cx.ExtrusionShrinkage`) declares the part of an extruded sheath's or
bedding's cooling shrinkage that stays as a shrink fit on the layers inside it. The radial
solutions carry it as an in-plane initial strain of the layer: the solved radial state (the
ring around a trefoil bundle included, so the laid-core law reads the clamped trefoil) and the
concentric `qp` route; `include_manufacturing=False` leaves it out. The bounded pressure chain,
which has no displacement compatibility, refuses a non-zero value. A shrinkage outside an
armour layer counts as that layer's clamping declaration. Checked against the Lamé shrink fit
of a sleeve with an in-plane eigenstrain on a stiff core (both radial solvers, 1e-4).
- `calibration_scope` (`armour_only` or `all_contacts`) on a calibrated `initial_state` and on a
`published_calibration` armour clamping. The laid-core stick-slip law warns
(`cx.ClampingCalibrationWarning`) when it is combined with a value fitted with the armour
friction alone, which already holds the friction of the other contacts. The Ménard and
Cartraud (2023) pressure is tagged `all_contacts` (its source FE has friction on every
contact) and the identified Witz (1996) pressures `armour_only`.
- Laid filler profiles in the core stick-slip law: `CoreFrictionSpec(filler_profiles=True)` (and
`mu_filler_profile`) turns the interstitial filler annulus into three profiles laid with the
cores that stick and slip with the same direction-tied cap. Their radius `√(J_f/A_f)` and lay
Expand Down Expand Up @@ -199,6 +214,9 @@ All notable changes to CableXSec are recorded in this file. The format follows
stale without changing a gate. CI checks the committed report before the coverage run, so a
stale report fails within about 15 minutes instead of after the 45-minute coverage run.

- `MissingClampingStateWarning` now states that at low tension the friction moment and the
bending hysteresis tend to zero without a declared clamping state, so a low-tension
hysteresis is unreliable, and names the extrusion shrinkage among the declarations.
- Bounded core contact loads of the laid-core law: the inward resultant of a core (capstan load
plus its share of the ring line force) is now reacted by its two neighbours, whose contact
forces sum to the resultant over `sin(π/n)`, besides the ring share on the outer face. The
Expand Down
33 changes: 30 additions & 3 deletions doc/file_formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ examples with a cited source for every value. Section 4.1 of the
| `cable` | yes | metadata: `name` (required), `description`, `manufacturer`, `withheld_note`, `source_document`, `voltage_kV`, `design_life_years`, `DFF`, `MBR_installation_m`, `MBR_dynamic_m` |
| `layers` | yes | list of layers from the centre outwards |
| `environment` | no | thermal boundary: `ambient_C`, `T4_external_Km_W` (external thermal resistance, K m/W), `frequency_Hz` (default 50), `source` |
| `initial_state` | no | uniform pressure on the assembled cable before loading: `external_pressure_Pa` (default 0), `identification`, `source`, `bounds_Pa` |
| `initial_state` | no | uniform pressure on the assembled cable before loading: `external_pressure_Pa` (default 0), `identification`, `source`, `bounds_Pa`, `calibration_scope` |
| `water_ingress` | no | `design` (`wet` or `dry`), `armour_annulus` (`flooded` or `sealed`), `source` |
| `core_lay` | no | assembly lay of offset cores: `pitch_m`, `lay_direction`, `source`; omit for cores aligned with the axis |
| `aggregate_properties` | no | published values for comparison, never inputs: `EA_fixed_MN`, `EI_min_kNm2`, `EI_max_kNm2`, `GJ_kNm2`, `OD_mm`, `mass_kg_m`, `EI_min_tension_kN`, `GJ_tension_kN`, `MBL_kN`, `MBL_basis` |
Expand All @@ -64,7 +64,11 @@ inside the layers. A mistyped key is reported, never ignored.
A non-zero `initial_state.external_pressure_Pa` needs an `identification`
(`measured`, `manufacturing_specification`, `published_calibration`,
`identified` or `assumed_bound`) and a `source`. `assumed_bound` also needs
`bounds_Pa`. A `wet` design may not contain a radial metallic water barrier,
`bounds_Pa`. A `published_calibration` or `identified` pressure may state
`calibration_scope`: `armour_only` (fitted with the armour friction alone; the
value then already holds the friction of the other contacts and the laid-core
friction law warns with `ClampingCalibrationWarning`) or `all_contacts`
(fitted with friction on every contact, cores included). A `wet` design may not contain a radial metallic water barrier,
that is a `cylindrical_shell` or a lead or aluminium sheath. A `dry` design
must contain one.

Expand All @@ -89,7 +93,7 @@ them filled.
| --- | --- | --- |
| `helical` (armour wires) | `n_wires`, `d_wire_m`, `r_helix_m`, `lay_angle_deg` | `lay_direction` (`right_hand` default, `left_hand`), `manufacturing_clamping`, `bulk_sn`, `fretting_sn`, `transverse_slip_fraction`; flat or profiled wires: `wire_shape` (`round` default, `rectangular`, `profiled`), `wire_width_m`, `wire_thickness_m`, `wire_corner_radius_m`, `wire_area_m2`, `wire_I_normal_m4`, `wire_I_lateral_m4`, `wire_J_m4` |
| `helical_stranded` (strand within conductor within cable) | `n_conductors`, `r_cable_m`, `lay_angle_cable_deg`, `n_strands`, `r_strand_m`, `d_strand_m`, `lay_angle_strand_deg` | `bulk_sn`, `fretting_sn` |
| `cylindrical` (polymer annulus, bedding, filler, sheath) | `r_inner_m`, `r_outer_m` | `tape` (helical tape winding), `strain_life` |
| `cylindrical` (polymer annulus, bedding, filler, sheath) | `r_inner_m`, `r_outer_m` | `tape` (helical tape winding), `strain_life`, `extrusion_shrinkage` |
| `cylindrical_offset` (core component: conductor, insulation, screen) | `r_offset_m`, `r_inner_m`, `r_outer_m` | `n_cores` (default 3), `conductor_area_mm2`, `strand_layers`, `n_strands`, `strand_diameter_mm`, `strand_lay_angle_deg`, `construction`, `electrical`, `bulk_sn`, `fretting_sn`, `strain_life`, `outer_face_pressure`, `tape` |
| `cylindrical_shell` (lead or corrugated aluminium sheath) | `r_mid_m`, `t_m` | `f_corrugation` (default 1), `scf` (default 1), `construction` (`bonded_laminate`), `bulk_sn`, `fretting_sn`, `strain_life` |

Expand Down Expand Up @@ -121,13 +125,36 @@ declared on the layer:
| `armour_winding_stress_Pa` | residual wire stress from stranding [Pa], converted to a pressure jump |
| `basis` | `measured`, `manufacturing_specification`, `published_calibration`, `assumed`, `representative` or `not_published` |
| `source` | required |
| `calibration_scope` | `armour_only` or `all_contacts`, for a `published_calibration` value (as for `initial_state`) |

Exactly one of the two values is given. `not_published` requires the value
zero, and analyses that depend on the friction then warn with
`MissingClampingStateWarning`. The legacy keys `pretension_Pa` and
`winding_stress_Pa` still load. Section 4.4 of the local analysis guide
covers the clamping state in full.

An extruded sheath or bedding declares its frozen shrinkage, the part of its
cooling shrinkage that stays as a shrink fit on the layers inside it:

```yaml
extrusion_shrinkage:
hoop_strain: 0.004
basis: assumed
source: "Assumed frozen hoop shrinkage of the extruded outer sheath"
```

| Key | Meaning |
| --- | --- |
| `hoop_strain` | frozen in-plane shrinkage of the layer (hoop and radial; no axial part), 0 to 0.1 |
| `basis` | `measured`, `manufacturing_specification`, `assumed`, `representative` or `not_published` (which requires zero) |
| `source` | required |

The radial solutions carry it as an initial strain of the layer
(`contact_model="solved"`, including the ring around a trefoil bundle, and
`"qp"`); the bounded pressure chain refuses a non-zero value. An interstitial
filler cannot declare one. A shrinkage covers the clamping declaration of the
armour layers inside the layer.

### Materials with sources

A layer's `material` names a material of the library
Expand Down
44 changes: 41 additions & 3 deletions doc/local_analysis_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,16 +436,54 @@ clamping is zero because it is declared `not_published`, it issues
`cx.MissingClampingStateWarning`. The results are then those of
tension-induced contact alone: friction stresses and damages sit at their
low end and ratios that change the clamping (temperature, tension) at their
high end.
high end. At low tension the friction moment and the bending hysteresis then
tend to zero, which a manufactured cable does not show: a low-tension
hysteresis is unreliable without a declared clamping state.

**Extrusion shrinkage.** An extruded sheath or bedding cools and shrinks onto
the layers inside it; the part that is not relaxed stays as a shrink fit.
Declare it on the `cylindrical` layer:

```yaml
extrusion_shrinkage:
hoop_strain: 0.004 # frozen in-plane shrinkage
basis: assumed
source: "Assumed frozen hoop shrinkage of the extruded sheath"
```

The radial solutions carry it as an initial in-plane strain of the layer
(hoop and radial, no axial part): the solved radial state
(`contact_model="solved"`, including the ring around a trefoil bundle, so the
laid-core law reads the clamped trefoil) and the concentric `"qp"` route.
Contacts then open or close under later loads, and
`include_manufacturing=False` leaves it out as it does the winding stress.
The bounded chain has no displacement compatibility to carry an interference
and refuses a non-zero value. The frozen strain depends on the extrusion and
cooling history and on the polymer's relaxation, which CableXSec does not
model: it is an input like the winding stress. A shrinkage of a layer
outside an armour layer counts as that layer's clamping declaration.

**Calibration scope.** A pressure calibrated on a measured loop holds
whatever friction the calibrating model had. `initial_state` (for
`published_calibration` and `identified` values) and `manufacturing_clamping`
(for `published_calibration`) take `calibration_scope`: `armour_only` or
`all_contacts`. A value fitted with the armour friction alone was raised
until the armour matched the measured dissipation, so it already holds the
friction of the other contacts; the core stick–slip law (Section 6.1) then
warns (`cx.ClampingCalibrationWarning`), because adding the cores counts that
friction twice: re-identify the value with the friction model in use. A value
fitted with friction on every contact is consistent with the core law in
principle, but it belongs to the calibrating model's contact accounting, so a
transfer to CableXSec is still a transfer, not a prediction.

Packaged cables:

| Cable | Clamping | Basis |
| --- | --- | --- |
| 33 kV single and three core | `P0` 2.0 MPa, both armours | representative |
| 220 kV three-core export | `P0` 3.0 MPa, both armours | representative |
| Ménard and Cartraud (2023) | `initial_state` 0.3 MPa | published calibration |
| Witz (1996) 2.5-inch pipe | `initial_state` 1.037 MPa | identified (0-bar loop width, μ = 0.10) |
| Ménard and Cartraud (2023) | `initial_state` 0.3 MPa | published calibration, all contacts |
| Witz (1996) 2.5-inch pipe | `initial_state` 1.037 MPa | identified (0-bar loop width, μ = 0.10), armour only |
| 66 kV IEA Task 49 template | zero | not published (warns) |
| CIGRE TB 880 export | none declared | missing (warns) |

Expand Down
2 changes: 1 addition & 1 deletion doc/radial_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ The section state minimises the small-strain elastic energy per axial metre with
| Internal pressure | On the bore of a concentric cable. Opt-in `pressure_barrier="<layer>"` names the innermost fluid-tight layer (a flexible pipe's pressure sheath; the interlocked carcass is not fluid-tight): the pressure acts on that layer's bore, the layers inside carry it on both faces (radially; their axial pressure term is not applied) and their face pressures exclude the fluid, and `end_cap` uses the barrier bore. Default unchanged. On the Witz (1996) pipe the default (pressure on the carcass bore) gives 6.04 MPa P1+P2 on the inner tensile armour at 300 bar and the barrier 7.55 MPa, equal to the section without the carcass within 0.03% (`tests/test_pressure_barrier.py`). |
| Flooded (wet design) | Every surface at water pressure p. The exact decomposition is a uniform stress −p plus the correction with free strain `−p(1−2ν)/E` and no surface load. Reactions are mechanical (net of water). The mechanical axial force is `T + p A_solid`, the effective-tension relation. |
| Temperature | Per-layer free strain `α (T − T_ref)`; E(T) for registered materials. |
| Manufacturing | The layer's declared `manufacturing_clamping` ([local_analysis_guide.md](local_analysis_guide.md) Section 4.4): a pressure jump (`pretension_Pa`) is converted by the inverse of Féret–Bournazel Eq. 5, plus a winding stress (`winding_stress_Pa`), giving a residual wire stress. Initial wire strains are *identified* so that the reference state (zero tension and twist, no pressure, T_ref) carries exactly these stresses. They are then carried through every load case, so contact opens or closes; nothing is superposed. |
| Manufacturing | The layer's declared `manufacturing_clamping` ([local_analysis_guide.md](local_analysis_guide.md) Section 4.4): a pressure jump (`pretension_Pa`) is converted by the inverse of Féret–Bournazel Eq. 5, plus a winding stress (`winding_stress_Pa`), giving a residual wire stress. Initial wire strains are *identified* so that the reference state (zero tension and twist, no pressure, T_ref) carries exactly these stresses. They are then carried through every load case, so contact opens or closes; nothing is superposed. A concentric layer's `extrusion_shrinkage` is an in-plane free strain `−hoop_strain` of that annulus (or of its elements, for the ring around a trefoil bundle), with `include_manufacturing` as the switch. |

### 3.3 Outputs

Expand Down
4 changes: 4 additions & 0 deletions src/cablexsec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@
)
from cablexsec.cables import chae2023_yaml_path, thies2016_yaml_path
from cablexsec.cables.schema import (
ExtrusionShrinkage,
FacePressure,
ManufacturingClamping,
TapeWinding,
Expand Down Expand Up @@ -307,6 +308,7 @@
from cablexsec.mechanics.tendon_section import WireSection
from cablexsec.mechanics.thermal_network import ThermalNetwork, thermal_network
from cablexsec.provenance import (
ClampingCalibrationWarning,
DirectionTiedFrictionWarning,
MissingClampingStateWarning,
UnmodelledPolymerSofteningWarning,
Expand Down Expand Up @@ -375,6 +377,7 @@
"CableData",
# manufacturing clamping state (gap 4.1b)
"ManufacturingClamping",
"ExtrusionShrinkage",
"ClampingState",
"LayerClamping",
"clamping_state",
Expand Down Expand Up @@ -571,6 +574,7 @@
"Provenance",
"ValidatedRange",
"ExtrapolationWarning",
"ClampingCalibrationWarning",
"DirectionTiedFrictionWarning",
"UnevaluatedFatigueCurveWarning",
"UnvalidatedModelWarning",
Expand Down
7 changes: 7 additions & 0 deletions src/cablexsec/analysis/capacity.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,13 @@ def _crush_uf(cable: CableData, T_N: float, allowable_Pa: float | None) -> float
"""Polymer-crush screen, or NaN when no project allowable is available."""
if allowable_Pa is None:
return math.nan
from cablexsec.clamping import require_radial_shrinkage_route # noqa: PLC0415

require_radial_shrinkage_route(
cable,
"bounded pressure chain of the polymer-crush screen",
"no crush allowable",
)
res = _contact_forces(cable, abs(T_N))
p = res.interface_pressure_Pa
p_max = float(np.max(p)) if p.size else 0.0
Expand Down
9 changes: 9 additions & 0 deletions src/cablexsec/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2959,6 +2959,15 @@ def compute_fretting(
cable, contact_tension_N=reference, mu=mu, contact_model=contact_model
)
p_ext = cable.initial_state.external_pressure_Pa
# The faces are split with the bounded chain, which cannot carry an
# extrusion shrinkage (an interference).
from cablexsec.clamping import require_radial_shrinkage_route # noqa: PLC0415

require_radial_shrinkage_route(
cable,
"bounded chain that splits the fretting face pressures",
"a cable without extrusion shrinkage for compute_fretting",
)
chain = compute_contact_forces(cable, reference, p_ext_Pa=p_ext)
interface = chain.interface_pressure_Pa
winding = winding_interface_pressure(cable)
Expand Down
7 changes: 6 additions & 1 deletion src/cablexsec/cable_adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
HelicalLayer,
Layer,
)
from cablexsec.clamping import warn_if_unclamped
from cablexsec.clamping import require_radial_shrinkage_route, warn_if_unclamped
from cablexsec.exceptions import CableSchemaError
from cablexsec.materials import library
from cablexsec.materials.sn_curves import (
Expand Down Expand Up @@ -133,6 +133,7 @@ def _normal_force_map(
mech = cable
p_ext = cable.initial_state.external_pressure_Pa
if contact_model == "bounded":
require_radial_shrinkage_route(cable, "bounded pressure chain")
return compute_contact_forces(mech, tension_N, p_ext_Pa=p_ext).Fn_per_wire_N
if contact_model == "qp":
return solve_contact_qp(cable, tension_N, p_ext_Pa=p_ext).Fn_per_wire_N
Expand Down Expand Up @@ -279,6 +280,8 @@ def armour_contact_pressure(
else None
)
)
if radial is None:
require_radial_shrinkage_route(cable, "bounded pressure chain")
winding = {
lyr.name: lyr.winding_stress_Pa
for lyr in cable.helical_layers
Expand Down Expand Up @@ -742,6 +745,8 @@ def armour_crossing_line_loads(
)
if contact_model not in {"bounded", "qp"}:
raise CableSchemaError("contact_model must be 'bounded' or 'qp'")
if radial is None:
require_radial_shrinkage_route(cable, "bounded pressure chain")
bounded = (
section_state.bounded
if section_state is not None
Expand Down
1 change: 1 addition & 0 deletions src/cablexsec/cables/menard2023.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ core_lay:
initial_state:
external_pressure_Pa: 300000.0
identification: published_calibration
calibration_scope: all_contacts # the source FE has friction on every contact (Section 5)
source: "[MenardCartraud2023] Sections 5.1-5.3, P = 0.3 MPa"

layers:
Expand Down
1 change: 1 addition & 0 deletions src/cablexsec/cables/menard2023_filled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ core_lay:
initial_state:
external_pressure_Pa: 300000.0
identification: published_calibration
calibration_scope: all_contacts # the source FE has friction on every contact (Section 5)
source: "[MenardCartraud2023] Sections 5.1-5.3, P = 0.3 MPa"

layers:
Expand Down
Loading
Loading