Skip to contents

Write Efficiency Curves

Usage

writeEfficiencyCurves(
  epanetConfig,
  Eff,
  curveNamePrefix = "Eff",
  deleteOldCurves = FALSE,
  dbg = TRUE
)

Arguments

epanetConfig

EPANET configuration, as retrieved by readEpanetInputFile

Eff

data.frame(ID, X_Value, Y_Value)

curveNamePrefix

prefix to be used in the curve name (default: "Eff")

deleteOldCurves

if TRUE all curves in epantetConfig$CURVES will be deleted before adding new ones (default: FALSE)

dbg

show debug messages? (default: TRUE)

Value

Modified EPANET configuration