Skip to contents

Get Link Results

Usage

getLinkResults(
  outdat,
  links,
  vars = c("q", "v", "hl", "wq", "sta", "set", "rr", "ff")
)

Arguments

outdat

output data read from EPANET output file, as returned by readEpanetOutputFile

links

names of links to be included in the returned data frame. You may use getNamesOfPipes, getNamesOfPumps, getNamesOfValves in order to get the names of available links

vars

acronyms of variables to be included in the returned data frame. "Q" = flow, "v" = velocity, "hl" = headloss, "wq" = avg. water quality, "sta" = status, "set" = setting, "rr" = reaction rate, "ff" = friction factor