powered by
Write an epanet.inp object to a file
write.inp(x, file)
nothing
epanet.inp object to write
the name of the file where object is written
Writes an epanet.inp object to a file suitable for simulation with EPANET.
write.inp(Net1, "Net1-fromR.inp") n1 <- read.inp("Net1-fromR.inp") all.equal(Net1, n1) file.remove("Net1-fromR.inp") #clean-up the written file
Run the code above in your browser using DataLab