plot.epanet.rpt {epanetReader} | R Documentation |
Plot Simulation Results
Description
Plots simulation results for a single time step in map form
Usage
## S3 method for class 'epanet.rpt'
plot(x, inp, Timestep = "0:00:00", juncQty = "Demand",
linkQty = "Velocity", legend1.locn = "topright",
legend2.locn = "topleft", ...)
Arguments
x |
epanet.rpt object |
inp |
epanet.inp object associated with x |
Timestep |
string indicating the time to plot |
juncQty |
string specifying which column of x$nodeResults (Demand, Head, Pressure, Chlorine, etc.) to show by circle size at network junctions |
linkQty |
string specifying which column of x$linkResults (Flow, Velocity, Headloss) to show by line width on network links |
legend1.locn |
string passed to legend() for placing legend of network elements |
legend2.locn |
string passed to legend() for placing legend of junction and link quantities |
... |
further arguments passed to plot |
Details
juncQty plots and values for Junctions only; Tanks and Reservoirs are not included. In contrast, linkQty is scaled over all of the link types: Pipes, Pumps & Valves. These choices aim at a map showing demand at junctions and velocity in links.