/Pipes

LT-Spice sub-circuit for pipe networks

Primary LanguageAGS ScriptMIT LicenseMIT

Pipes

LT-Spice sub-circuit for pipe networks


Model

The model uses the Hazen-Williams equation to model the flow through a length of pipe, given the head-loss. Head-loss is represented by a drop in voltage, and flow is represented by the current through the model.

The model properties are:

Property Unit Default Parameter
Head loss metres of water
Flow litres per second
Length metres 100 m length
Diameter millimetres 110 mm dia
Roughness 140 CH

Examples

Static analysis, given input pressure and output flow rates:

Example -- Static


System pressures, as a function of input flow rate:

Example -- Flow Sweep


External Links