Skip to content
Edit this page

ictdesigntools.pathways.microtrench

Microtrench layout: Dura-Line MicroDucts and FuturePath bundles in a narrow saw-cut trench.

A microtrench is a narrow cut (typically 0.5–2.25 in, about 13–57 mm, wide and 8–16 in, about 200–400 mm, deep, per Dura-Line's MicroTrench installation guidance) with the ducts laid at the bottom on optional sand bedding, backfilled (flowable fill or grout) and sealed at the surface with a cap. Products are stacked from the bottom of the trench up.

Dimensions are in mm, weights in kg/m, pull strengths in N and quantities in m³ and litres. Product data is from Dura-Line's FuturePath (DL.FP-9.21), FuturePath Flex 2-way and FuturePath Hybrid 10-way data sheets; the bundle figures are published in inches, lb/ft and lb, and are converted when this module loads.

Spec dataclass

Spec(
    od_mm: float,
    weight_kg_per_m: float,
    bend_supported_mm: float,
    bend_unsupported_mm: float,
    swps_n: float,
    height_mm: float | None = None,
)

Published figures for one bundle: nominal OD (or width), weight, bend radii, SWPS.

Product dataclass

Product(
    kind: str,
    ways: int,
    microduct: str,
    count: int = 1,
    on_edge: bool = False,
)

One product, count of them stacked. Make one with Product.make to check that it is offered.

spec property

spec: Spec | None

Published bundle figures; None for a single MicroDuct.

microducts property

microducts: int

MicroDucts across all count stacked copies (the hybrid's conduits don't count).

size_mm property

size_mm: tuple[float, float]

Width and height as placed in the trench.

area_mm2 property

area_mm2: float

Cross-section it takes up, for the fill volume.

weight_kg_per_m property

weight_kg_per_m: float | None

One of it; None for a bare MicroDuct (not in these data sheets).

MicroCableType dataclass

MicroCableType(
    label: str,
    fibers: int,
    od_mm: float,
    weight_kg_per_m: float,
    max_tension_n: float,
    source: str,
)

A typical micro cable, from data/micro_cables.toml.

MicroCable dataclass

MicroCable(
    product: int,
    way: int,
    od_mm: float,
    label: str = "",
    fibers: int | None = None,
    cable_type: str | None = None,
)

A cable jetted into MicroDuct way (1, 2, …, across the stacked copies too) of the product-th product (1, 2, … in input order).

name property

name: str

For reports: the label, else the fiber count and OD.

of classmethod

of(product: int, way: int, cable_type: str) -> MicroCable

A typical micro cable from MICRO_CABLES, in MicroDuct way of product.

Source code in src/ictdesigntools/pathways/microtrench.py
@classmethod
def of(cls, product: int, way: int, cable_type: str) -> MicroCable:
    """A typical micro cable from MICRO_CABLES, in MicroDuct ``way`` of ``product``."""
    if cable_type not in MICRO_CABLES:
        raise FillError(f"“{cable_type}” is not a micro cable; use {', '.join(MICRO_CABLES)}.")
    t = MICRO_CABLES[cable_type]
    return cls(product, way, t.od_mm, t.label, t.fibers, cable_type)

JettingCheck dataclass

JettingCheck(
    cable: MicroCable, microduct: str, ratio: float
)

area_ratio property

area_ratio: float

Cable area / MicroDuct inside area: the fill by area, (OD / ID)².

status property

status: str

"low", "ok" or "high" against the jetting fill ratio range.

MicroDuctFill dataclass

MicroDuctFill(
    product: int,
    way: int,
    microduct: str,
    check: JettingCheck | None,
)

One MicroDuct of the trench and the cable in it, if any.

status property

status: str

"spare", or the jetting check's "low", "ok" or "high".

MicroCableLine dataclass

MicroCableLine(cable: MicroCable, count: int)

Identical cables in the trench, counted: an itemised line for a bill of materials.

TrenchResult dataclass

TrenchResult(
    inp: TrenchInput,
    placed: list[Placed],
    stack_height_mm: float,
    widest_mm: float,
    too_wide: list[TooWide] = list(),
)

top_of_ducts_mm property

top_of_ducts_mm: float

Depth from the surface to the top of the highest duct.

fill_depth_mm property

fill_depth_mm: float

Backfill from the top of the ducts up to the underside of the cap.

jetting property

jetting: list[JettingCheck]

Each cable's fill ratio in its MicroDuct (Dura-Line: 50–75% by diameter).

microduct_fills property

microduct_fills: list[MicroDuctFill]

Every MicroDuct in the trench, product by product, with its cable or as a spare.

cable_lines property

cable_lines: list[MicroCableLine]

The cables, counted by kind (type, or OD, fibers and label), in input order.

spares property

spares: int

MicroDucts with no cable.

fill_m3

fill_m3(length_m: float) -> float

Backfill around and over the ducts, up to the cap.

Source code in src/ictdesigntools/pathways/microtrench.py
def fill_m3(self, length_m: float) -> float:
    """Backfill around and over the ducts, up to the cap."""
    inp = self.inp
    area = inp.width_mm * (inp.depth_mm - inp.bed_mm - inp.cap_mm) - self.duct_area_mm2
    return max(area, 0.0) / 1e6 * length_m

cap_l

cap_l(length_m: float) -> float

Litres of surface sealant or cap material.

Source code in src/ictdesigntools/pathways/microtrench.py
def cap_l(self, length_m: float) -> float:
    """Litres of surface sealant or cap material."""
    return self.inp.width_mm * self.inp.cap_mm / 1e6 * length_m * 1000

product_weights_kg

product_weights_kg(
    length_m: float,
) -> list[tuple[Product, float | None]]

Each product with its weight in length_m of trench, if published.

Source code in src/ictdesigntools/pathways/microtrench.py
def product_weights_kg(self, length_m: float) -> list[tuple[Product, float | None]]:
    """Each product with its weight in ``length_m`` of trench, if published."""
    return [(p, p.weight_kg_per_m * p.count * length_m if p.weight_kg_per_m else None)
            for p in self.inp.products]  # fmt: skip

options_for

options_for(kind: str) -> dict[int, list[str]]

Ways → microduct sizes available for a bundle kind.

Source code in src/ictdesigntools/pathways/microtrench.py
def options_for(kind: str) -> dict[int, list[str]]:
    """Ways → microduct sizes available for a bundle kind."""
    table = {"fp": ROUND, "flat": FLAT, "flex": FLEX}.get(kind, {})
    out: dict[int, list[str]] = {}
    for ways, md in table:
        out.setdefault(ways, []).append(md)
    return out

catalogue

catalogue() -> dict

What each product kind comes in: kind -> {ways: [microducts]}.

Source code in src/ictdesigntools/pathways/microtrench.py
def catalogue() -> dict:
    """What each product kind comes in: kind -> {ways: [microducts]}."""
    out = {kind: {str(w): mds for w, mds in options_for(kind).items()}
           for kind in ("fp", "flat", "flex")}  # fmt: skip
    out["md"] = {"1": list(MICRODUCTS)}
    out["hybrid"] = {"10": ["18-14"]}
    return out