ENsolveH {epanet2toolkit} | R Documentation |
ENsolveH
Description
Solves the network hydraulics for all time periods
Usage
ENsolveH()
Value
Returns NULL invisibly; called for side effect
Examples
# path to Net1.inp example file included with this package
inp <- file.path( find.package("epanet2toolkit"), "extdata","Net1.inp")
ENopen( inp, "Net1.rpt","Net1.bin")
ENsolveH()
ENsolveQ()
ENgetnodevalue(2, "EN_PRESSURE")
ENclose()
# clean-up the created files
file.remove("Net1.rpt")
file.remove("Net1.bin")
[Package epanet2toolkit version 1.0.5 Index]