Learn R Programming

epanet2toolkit (version 1.0.8)

ENgetqualtype: Retrieve the type of water quality analysis called for.

Description

ENgetqualtype retrieves the type of water quality analysis called for.

Usage

ENgetqualtype()

ENgetqualtype()

Arguments

Value

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

See Also

ENsetqualtype

Examples

Run this code
# 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()
# clean-up the created files
file.remove("Net1.rpt") 

Run the code above in your browser using DataLab