| ENopenH | R Documentation |
ENopenH opens the EPANET hydraulics analysis system.
ENopenH()
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.
Returns NULL invisibly; called for side effect
ENinitH, ENrunH, ENnextH, ENcloseH
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.