ENaddnode {epanet2toolkit} | R Documentation |
Adds a new node
ENaddnode(nodeid, nodetype)
nodeid |
name of the node to be added |
nodetype |
the type of node being added. One of: EN_JUNCTION, EN_RESERVOIR, EN_TANK |
When a new node is created all of its properties are set to 0.
index the index of the newly added node