Write Input File With New Curve Section
Source:R/inputFileAccess.R
writeInputFileWithNewCurveSection.Rd
Write Input File With New Curve Section
Usage
writeInputFileWithNewCurveSection(
inpfile,
newCurves,
inpfile.new = sub("(\\.[^\\.]+)$", "_new\\1", inpfile)
)
Arguments
- inpfile
full path to EPANET input file
- newCurves
modified CURVES section. Data frame as returned by
readEpanetInputFile
in list element curves- inpfile.new
full path to modified EPANET input file. (default: \<inpfile-without-extension_new\>.inp)