Skip to content
Edit this page

ictdesigntools.pathways.pull

Cable pulling tension through a conduit run.

A run is a list of sections from end A to end B: straight horizontal lengths, bends, and vertical rises or drops. Lengths are in metres, tensions in newtons and cable weights in kg/m.

The tension is built up section by section with the usual cable-pulling equations (as in IEEE 1185 and cable manufacturers' guides):

  • straight horizontal: T_out = T_in + f · w · W · L
  • vertical up: T_out = T_in + W · L; vertical down: T_out = T_in − W · L (not below 0)
  • bend: T_out = T_in · e^(f · w · θ) (the capstan equation, θ in radians)

where W is the weight of everything pulled (N/m: kg/m times standard gravity), f the coefficient of friction and w the weight correction factor (1 except for three equal cables, which are taken in the cradled position, the more conservative case). The pull is worked out both ways, because the same run gives a lower tension when the bends are near the end the cables are fed in from.

A bend given its radius R is also checked for sidewall bearing pressure, the force per unit of bend radius the cables press against the inside of the bend with, from the tension leaving it (IEEE 1185; Polywater and cable makers' guides):

  • one cable: SWBP = T_out / R; two cables: w/2 · T_out / R
  • three equal cables, cradled: (3w − 2)/3 · T_out / R
  • any other group: T_out / R, as if one cable bore it all (conservative)

and against the least bend radius the cables may be pulled around. The result names the limit that governs: the pulling tension, the sidewall pressure or the bend radius.

Cable tray pulls (Polywater Pull-Planner guidance) use the same engine:

  • a straight on support rollers is a straight with its own coefficient of friction, 0.15 to start with (Section.rollers), since rollers turn rather than slide;
  • a bend through free-turning sheaves or rollers does not multiply the tension: it adds a fixed amount, the force to turn them (Section.sheave; Polywater quotes 75–200 lb for heavy power cable, far less for light communications cable), and its radius is the sheave's for the sidewall pressure check;
  • cables lie side by side in a tray, so the weight correction factor is 1 (inner_mm None).

Section dataclass

Section(
    kind: str,
    length_m: float = 0.0,
    angle_deg: float = 0.0,
    radius_m: float | None = None,
    friction: float | None = None,
    add_n: float = 0.0,
)

A straight, up or down section of length_m, or a bend of angle_deg, with its centreline radius radius_m when known (for the sidewall pressure check).

rollers classmethod

rollers(
    length_m: float, friction: float = ROLLER_FRICTION
) -> Section

A straight on support rollers (cable tray).

Source code in src/ictdesigntools/pathways/pull.py
@classmethod
def rollers(cls, length_m: float, friction: float = ROLLER_FRICTION) -> Section:
    """A straight on support rollers (cable tray)."""
    return cls(STRAIGHT, length_m=length_m, friction=friction)

sheave classmethod

sheave(
    angle_deg: float,
    radius_m: float | None = None,
    add_n: float = 0.0,
) -> Section

A bend through free-turning sheaves or rollers (cable tray): adds add_n.

Source code in src/ictdesigntools/pathways/pull.py
@classmethod
def sheave(cls, angle_deg: float, radius_m: float | None = None,
           add_n: float = 0.0) -> Section:  # fmt: skip
    """A bend through free-turning sheaves or rollers (cable tray): adds ``add_n``."""
    return cls(SHEAVE, angle_deg=angle_deg, radius_m=radius_m, add_n=add_n)

Run dataclass

Run(
    sections: tuple[Section, ...],
    friction: float = DEFAULT_FRICTION,
)

bends_deg property

bends_deg: float

Conduit bends between pull points (sheave bends are tray, not conduit).

BendCheck dataclass

BendCheck(
    section: Section,
    tension_n: float,
    swbp_n_per_m: float,
    swbp_limit_n_per_m: float | None,
    min_radius_mm: float | None,
)

A bend with a radius, in one pulling direction.

radius_pct property

radius_pct: float | None

Least radius as a percentage of the bend's radius: over 100 is too tight.

PullResult dataclass

PullResult(
    label: str,
    count: int,
    weight_kg_per_m: float | None,
    correction: float,
    jam_ratio: float | None,
    forward: list[Step],
    backward: list[Step],
    allowable_n: float | None,
    derated: bool,
    swbp_factor: float = 1.0,
    swbp_limit_n_per_m: float | None = None,
    min_radius_mm: float | None = None,
)

One pull: the cables that go through the run together (loose, or one subduct).

tension_n property

tension_n: float

Tension of the better direction.

utilisation property

utilisation: dict[str, float]

Each checked limit, as a percentage of what it allows, in the better direction.

governing property

governing: str | None

The limit closest to (or furthest past) its maximum, or None when none is checked.

passes_all property

passes_all: bool | None

Tension, sidewall pressure and bend radius all within their limits.

bend_checks

bend_checks(forward: bool | None = None) -> list[BendCheck]

The bends with a radius, in the better direction (or the one asked for).

Source code in src/ictdesigntools/pathways/pull.py
def bend_checks(self, forward: bool | None = None) -> list[BendCheck]:
    """The bends with a radius, in the better direction (or the one asked for)."""
    steps = self.steps if forward is None else (self.forward if forward else self.backward)
    return [
        BendCheck(
            st.section,
            st.tension_n,
            sidewall_pressure(st.tension_n, st.section.radius_m, self.swbp_factor),
            self.swbp_limit_n_per_m,
            self.min_radius_mm,
        )  # fmt: skip
        for st in steps
        if st.section.kind in TURNS and st.section.radius_m is not None
    ]

PullSummary dataclass

PullSummary(run: Run, pulls: list[PullResult])

passes property

passes: bool

Every pull within its tension, sidewall pressure and bend radius limits.

checked property

checked: bool

At least one pull has a limit to compare with.

swbp_factor

swbp_factor(lines: Sequence[CableLine], w: float) -> float

Multiplier on T_out / R for the cables' arrangement in the bend.

Source code in src/ictdesigntools/pathways/pull.py
def swbp_factor(lines: Sequence[CableLine], w: float) -> float:
    """Multiplier on ``T_out / R`` for the cables' arrangement in the bend."""
    count = sum(line.count for line in lines)
    if count == 2:
        return w / 2
    if count == 3 and len({line.od_mm for line in lines}) == 1:
        return (3 * w - 2) / 3
    return 1.0

sidewall_pressure

sidewall_pressure(
    tension_n: float, radius_m: float, factor: float = 1.0
) -> float

Sidewall bearing pressure, N per metre of bend radius.

Source code in src/ictdesigntools/pathways/pull.py
def sidewall_pressure(tension_n: float, radius_m: float, factor: float = 1.0) -> float:
    """Sidewall bearing pressure, N per metre of bend radius."""
    return factor * tension_n / radius_m

correction_factor

correction_factor(
    lines: Sequence[CableLine], inner_mm: float
) -> tuple[float, float | None]

Weight correction factor and jam ratio. Only three equal cables get a factor above 1 (cradled configuration: 1 + 4/3 · (d / (D − d))²).

Source code in src/ictdesigntools/pathways/pull.py
def correction_factor(lines: Sequence[CableLine], inner_mm: float) -> tuple[float, float | None]:
    """Weight correction factor and jam ratio. Only three equal cables get a factor above 1
    (cradled configuration: 1 + 4/3 · (d / (D − d))²)."""
    if sum(line.count for line in lines) != 3 or len({line.od_mm for line in lines}) != 1:
        return 1.0, None
    d = lines[0].od_mm
    if inner_mm <= d:
        return 1.0, inner_mm / d
    return 1 + 4 / 3 * (d / (inner_mm - d)) ** 2, inner_mm / d

pull

pull(
    label: str,
    lines: Sequence[CableLine],
    inner_mm: float | None,
    run: Run,
) -> PullResult

The pull of lines through run in a bore of inner_mm inside diameter, or in an open tray when inner_mm is None (no weight correction or jam ratio).

Source code in src/ictdesigntools/pathways/pull.py
def pull(label: str, lines: Sequence[CableLine], inner_mm: float | None,
         run: Run) -> PullResult:  # fmt: skip
    """The pull of ``lines`` through ``run`` in a bore of ``inner_mm`` inside diameter, or in
    an open tray when ``inner_mm`` is None (no weight correction or jam ratio)."""
    count = sum(line.count for line in lines)
    weighted = all(line.weight_kg_per_m is not None for line in lines)
    weight = sum(line.weight_total_kg_per_m for line in lines) if weighted else None  # type: ignore[misc]
    w, jam = (1.0, None) if inner_mm is None else correction_factor(lines, inner_mm)
    limited = all(line.max_tension_n is not None for line in lines)
    allowable = None
    derated = count > 3
    if limited and lines:
        allowable = sum(line.max_tension_n * line.count for line in lines)  # type: ignore[operator]
        if derated:
            allowable *= GROUP_DERATING
    forward = backward = []
    if weight is not None:
        forward = tensions(run.sections, weight, run.friction, w)
        backward = tensions([s.reversed() for s in reversed(run.sections)], weight,
                            run.friction, w)  # fmt: skip
    limits = [line.max_swbp_n_per_m for line in lines if line.max_swbp_n_per_m is not None]
    radii = [line.min_bend_radius_mm for line in lines if line.min_bend_radius_mm is not None]
    return PullResult(label, count, weight, w, jam, forward, backward, allowable, derated,
                      swbp_factor(lines, w), min(limits) if limits else None,
                      max(radii) if radii else None)  # fmt: skip