ENopenH: Open hydraulics analysis system.

Description Usage Details See Also Examples

View source: R/hydraulics.r

Description

ENopenH opens the EPANET hydraulics analysis system.

Usage

1

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.

See Also

ENinitH, ENrunH, ENnextH, ENcloseH

Examples

1
2
3
4
5
6
7
8
# 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()

epanet2toolkit documentation built on July 28, 2018, 1:06 a.m.