Learn R Programming

epanet2toolkit (version 1.0.8)

ENgetcontrol: ENgetcontrol

Description

Retrieve the parameters of a simple control statement.

Usage

ENgetcontrol(controlindex)

Value

list of parameters of the control statement: ctype, lindex, setting, nindex, level

Arguments

controlindex

An integer specifying the control statement index.

See Also

ENsetcontrol

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")
ENgetcontrol(1)
ENclose() 

Run the code above in your browser using DataLab