Skip to contents

Run EPANET INP configuration

Usage

runEpanetConfiguration(
  inpdat,
  name = "tmpEpanet",
  returnOutput = write.output,
  write.output = TRUE,
  ...,
  dbg = FALSE
)

Arguments

inpdat

input data as retrieved by readEpanetInputFile

name

name of input file to be generated in tempdir()

returnOutput

if TRUE, the output is read from the output file (if generated, see write.output) and returned. Default: value of write.output

write.output

if TRUE, EPANET will write a binary output file, else not

...

further arguments passed to runEpanet and finally to readEpanetOutputFile, such as: read.prolog, read.energyUse, read.dynamicResults, read.epilog, see there.

dbg

if TRUE, debug messages are shown. Default: FALSE