Skip to content

LT-Spice sub-circuit for pipe networks

License

Notifications You must be signed in to change notification settings

jpt13653903/Pipes

Repository files navigation

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

About

LT-Spice sub-circuit for pipe networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published