powered by
ENgetpatternid retrieves the ID label of a particular time pattern.
ENgetpatternid
ENgetpatternid(patternindex)
A character string, the pattern ID label of the specified time pattern.
An integer specifying the time pattern index.
# path to Net1.inp example file included with this package inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp") ENopen( inp, "Net1.rpt") ENgetpatternid(1) ENclose()
Run the code above in your browser using DataLab