ENaddlink | R Documentation |
Add a link to the network
ENaddlink(id, type, from_node, to_node)
id |
name of new link |
type |
of new link, see details |
from_node |
id of source node for this link |
to_node |
id of target node for this link |
A new pipe is assigned a diameter of 10 inches (254 mm) and a length of 330 feet (~ 100 meters). Its roughness coefficient depends on the head loss formula in effect as follows: - Hazen-Williams formula: 130 - Darcy-Weisbach formula: 0.5 millifeet (0.15 mm) - Chezy-Manning formula: 0.01
All other pipe properties are set to 0.
A new pump has a status of EN_OPEN, a speed setting of 1, and has no pump curve or power rating assigned to it.
A new valve has a diameter of 10 inches (254 mm) and all other properties set to 0.
Type must be one of: EN_CVPIPE, EN_PIPE, EN_PUMP, EN_PRV, EN_PSV, EN_PBV, EN_FCV, EN_TCV, EN_GPV
index of new link
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.