ENgetnodeindex {epanet2toolkit} | R Documentation |
Retrieve the index of a node
ENgetnodeindex(nodeid)
nodeid |
A character string specifying the node ID. |
An integer index of the specified node.
Node indexes are consecutive integers starting from 1.
ENgetnodeid
http://wateranalytics.org/EPANET/group___network_info.html
# path to Net1.inp example file included with this package inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp") ENopen( inp, "Net1.rpt") ENgetnodeindex("10") ENgetnodeindex("23") ENclose()