lookup_pipe_diameters
Find standard inner diameters for pipe materials (HDPE, PVC, ductile iron, steel) with filters for size and units, used for sizing and selecting diameters in EPANET hydraulic modeling.
Instructions
Look up standard pipe inner diameters for common water-distribution materials. Returns a table of standard sizes with nominal diameter, outer diameter, wall thickness, and the resulting inner diameter — the value EPANET uses for hydraulic modeling. Materials: HDPE (ISO 4427, PE100 SDR 11), PVC (AWWA C900 DR 18), ductile iron (ISO 2531 class K9), carbon steel in three variants: steel-medium (ISO 4200 medium series), steel-sch40 (ANSI B36.10 Schedule 40/STD), steel-sch80 (ANSI B36.10 Schedule 80/XS). Filter by material, minimum/maximum nominal size, and display units (mm, inches, or both). Use this when sizing pipes, choosing a standard diameter for set_pipe_diameter, or comparing materials for a given nominal size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Display units for inner diameter: 'mm' (default), 'inches', or 'both' (side-by-side). Nominal sizes always show their native designation. | |
| material | Yes | Pipe material to look up: hdpe (HDPE PE100, ISO 4427), pvc (AWWA C900), di (ductile iron, ISO 2531), steel-medium (ISO 4200 medium series), steel-sch40 (ANSI Sch 40/STD), steel-sch80 (ANSI Sch 80/XS), or all for a combined listing. | |
| maxNominal | No | Maximum nominal diameter to include. Omit for all sizes up to the largest. | |
| minNominal | No | Minimum nominal diameter (DN for metric materials, inches for steel) to include. Omit for all sizes. |