ENaddnode: Adds a new node

View source: R/nodes.r

ENaddnodeR Documentation

Adds a new node

Description

Adds a new node

Usage

ENaddnode(nodeid, nodetype)

Arguments

nodeid

name of the node to be added

nodetype

the type of node being added. One of: EN_JUNCTION, EN_RESERVOIR, EN_TANK

Details

When a new node is created all of its properties are set to 0.

Value

index the index of the newly added node


epanet2toolkit documentation built on Nov. 6, 2023, 9:06 a.m.