powered by
ENopen opens the EPANET Toolkit to analyze a particular water distribution system.
ENopen
ENopen(inpFileName, rptFileName, outFileName)
returns NULL invisibly on success or raises an error or warning.
A string, the name of the EPANET Input file.
A string, the name of the EPANET Report file.
A string, the name of an optional binary Output file.
ENclose
# path to Net1.inp example file included with this package inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp") ENopen( inp, "Net1.rpt") ENclose()
Run the code above in your browser using DataLab