ENgetnodeid {epanet2toolkit} | R Documentation |
ENgetnodeid
retrieves the ID label a node from its index
ENgetnodeid(nodeindex)
nodeindex |
An integer node index |
A character string, the ID label of the specified node.
Node indexes are consecutive integers starting from 1.
ENgetnodeindex
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") ENgetnodeid(1) ENgetnodeid(5) ENgetnodeid(9) ENclose()