ENopenH {epanet2toolkit} | R Documentation |
Open hydraulics analysis system.
Description
ENopenH
opens the EPANET hydraulics analysis system.
Usage
ENopenH()
Details
Call ENopenH
prior to running the first hydraulic analysis using the
ENinitH-ENrunH-ENnextH
sequence. Multiple analyses can be made before calling
ENcloseH
to close the hydraulic analysis system.
Do not call this function if ENsolveH
is being used to run a complete hydraulic analysis.
Value
Returns NULL invisibly; called for side effect
See Also
ENinitH
, ENrunH
, ENnextH
, ENcloseH
Examples
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")
ENopen( inp, "Net1.rpt")
ENopenH()
ENinitH(0)
ENrunH()
ENcloseH()
ENclose()
# clean-up the created files
file.remove("Net1.rpt")
[Package epanet2toolkit version 1.0.5 Index]