ENopen {epanet2toolkit} | R Documentation |
Open the EPANET Toolkit.
Description
ENopen
opens the EPANET Toolkit to analyze a particular water distribution system.
Usage
ENopen(inpFileName, rptFileName, outFileName)
Arguments
inpFileName |
A string, the name of the EPANET Input file. |
rptFileName |
A string, the name of the EPANET Report file. |
outFileName |
A string, the name of an optional binary Output file. |
Value
returns NULL invisibly on success or raises an error or warning.
Note
If there is no need to save an EPANET's binary Output file, then outFileName
can be an empty string ("").
If rptFileName
is an empty string, reporting will be made to the operating system
stdout
device (which is usually the console/terminal).
enOpen
must be called before any of the other toolkit functions are used. The only
exception is enEpanet
.
See Also
ENclose
Examples
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")
ENopen( inp, "Net1.rpt")
ENclose()
[Package epanet2toolkit version 1.0.5 Index]