ENsolveH: ENsolveH

View source: R/hydraulics.r

ENsolveHR 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") 

epanet2toolkit documentation built on Nov. 6, 2023, 9:06 a.m.