ENopen | R Documentation |
ENopen
opens the EPANET Toolkit to analyze a particular water distribution system.
ENopen(inpFileName, rptFileName, outFileName)
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. |
returns NULL invisibly on success or raises an error or warning.
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
.
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.