ENsolveH | R Documentation |
Solves the network hydraulics for all time periods
ENsolveH()
Returns NULL invisibly; called for side effect
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.