ENgetqualtype {epanet2toolkit} | R Documentation |
ENgetqualtype
retrieves the type of water quality analysis called for.
get quality type
ENgetqualtype() ENgetqualtype()
A named integer vector, the water quality analysis code (see below) and the index of node traced in a source tracing analysis.
list of qualcode and trace node
Water quality analysis codes are as follows:
EN_NONE | 0 | No quality analysis |
EN_CHEM | 1 | Chemical analysis |
EN_AGE | 2 | Water age analysis |
EN_TRACE | 3 | Source tracing |
The tracenode value will be 0 when the quality code is not EN_TRACE
.
ENsetqualtype
http://wateranalytics.org/EPANET/group___toolkit_options.html
http://wateranalytics.org/EPANET/group___quality_functions.html
# path to Net1.inp example file included with this package inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp") ENopen( inp, "Net1.rpt") ENgetqualtype() ENclose() inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp") ENopen( inp, "Net1.rpt") ENgetqualtype() ENclose()