runSWMM: Run a SWMM simulation with given parameters

Description Usage Arguments Details Value Author(s)

View source: R/run_SWMM.r

Description

Run SWMM simulations. If parameters are given the input file is modified accordingly.

Usage

1
2
runSWMM(parameters = NULL, inputfile, reportfilename = "report.rpt",
  outputfilename = "output.out", SWMMexe = "swmm5.exe", quite = FALSE)

Arguments

parameters

named vector of parameters or NULL

inputfile

path/name to input file. If parameters is not NULL the file is used as template, see Details below.

reportfilename

path/name of the report file

outputfilename

path/name of output file

SWMMexe

path to SWMM executable

quite

Boolean. If FALSE consol output is shown.

Details

If the argument parameters is NULL, the inut file is used as is. If parameters is a named vector the input file is treated as template, i.e. all {parametername} are replaced with the value of parameters.

Value

nothing

Author(s)

Andreas Scheidegger


scheidan/SWMMR documentation built on May 30, 2019, 8:39 a.m.