Microtrench designer

Use it from Python

Every result on this site comes from ictdesigntools, an open-source (MIT) Python library.

pip install ictdesigntools

The library is metric: lengths in millimetres, quantities in cubic metres and litres for a length in metres.

from ictdesigntools.pathways import microtrench as mt

r = mt.calculate(
    mt.TrenchInput(
        50.8,
        304.8,
        (mt.Product.make("fp", 7, "12.7-10"), mt.Product.make("md", 1, "12.7-10", count=2)),
        bed_mm=25.4,
    )
)
r.passes  # True
r.pathways  # 9
round(r.stack_height_mm, 1)  # 67.1
round(r.top_of_ducts_mm, 1)  # 212.3
round(r.spoil_m3(304.8), 2)  # 4.72
r.issues  # []

Products are "md" (a bare MicroDuct), "fp" (round FuturePath), "flat", "flex" and "hybrid"; mt.options_for(kind) lists the ways and MicroDuct sizes each comes in. Pass on_edge=True to stand a flat or Flex bundle on edge.

Take the minimum cover from a published standard, and check cables jetted into the MicroDucts:

r = mt.calculate(
    mt.TrenchInput(
        50.8,
        406.4,
        (mt.Product.make("fp", 7, "12.7-10"),),
        cover_requirement="roadway-12in",  # a key of mt.COVER_REQUIREMENTS
        cables=(
            mt.MicroCable.of(1, 1, "afl-microcore-144"),  # a key of mt.MICRO_CABLES
            mt.MicroCable(1, 2, 6.5, fibers=144),  # a custom cable: 6.5 mm OD
        ),
    )
)
r.passes  # True
[(f.way, f.status) for f in r.microduct_fills][:3]  # [(1, 'ok'), (2, 'ok'), (3, 'spare')]
round(r.jetting[0].area_ratio, 2)  # 0.4
r.spares  # 5

mt.JETTING_RATIO is Dura-Line's 50–75% fill range for jetting, by diameter. r.cable_lines counts the cables by kind, each with count, fibers_total and weight_kg(length_m).

Result fields

Field Example Notes
placed [Placed, …] Each product's position and size in the section
stack_height_mm, widest_mm 67.1, 41.7
pathways 9 MicroDucts in all the products
top_of_ducts_mm 212.3 Cover over the top duct
too_wide, cover_short, into_cap [], False, False The checks
jetting [JettingCheck, …] Each cable's ratio (OD ÷ ID), area_ratio, id_mm and status ("low", "ok" or "high")
microduct_fills [MicroDuctFill, …] Every MicroDuct, with its check, or status "spare"
cable_lines, fibers_total, spares [MicroCableLine, …], 288, 5 The cables itemised by kind
width_typical, depth_typical True, True Within Dura-Line's typical range
issues, passes [], True Problems in words, and the overall result
spoil_m3(length_m), bed_m3(…), fill_m3(…), cap_l(…) 4.72 Quantities for a length
product_weights_kg(length_m) Weight of each product

Web API

A web API with the same inputs and results is planned as an invite-only beta. Until then, a result's link is the way to share one.