Skip to contents

Write Curves

Usage

writeCurves(
  epanetConfig,
  pumpCurves = NULL,
  efficiencyCurves = NULL,
  drawdownCurves = NULL,
  deleteOldCurves = TRUE,
  dbg = TRUE
)

Arguments

epanetConfig

EPANET configuration, as retrieved by readEpanetInputFile

pumpCurves

list(data = data.frame(ID, X_Value, Y_Value), label = "")

efficiencyCurves

list(data = data.frame(ID, X_Value, Y_Value), label = "")

drawdownCurves

list(data = data.frame(ID, X_Value, Y_Value), label = "")

deleteOldCurves

should all curves in 'epanetConfig' be deleted before writing?

dbg

show debug messages? (default: TRUE)