ENopenQ {epanet2toolkit}R Documentation

Sets up for Water Quality analysis

Description

Sets up for Water Quality analysis

Usage

ENopenQ()

Value

Returns NULL invisibly on success or throws an error or warning

Examples

inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")  
ENopen( inp, "Net1.rpt")
ENsolveH()
ENsetqualtype("EN_CHEM", "Chlorine", "mg/L", "")
ENopenQ()
ENinitQ(0)
ENrunQ()
ENcloseQ()
ENclose()
# clean-up the created files
file.remove("Net1.rpt") 

[Package epanet2toolkit version 1.0.4 Index]