Skip to contents

Run Optimisation Strategy

Usage

runOptimisationStrategy(
  configuration,
  newCurvesData,
  optimisationStrategy,
  operationSchemes = wellFieldOperationSchemes(getNamesOfPumps(configuration)),
  showLivePlot = FALSE
)

Arguments

configuration

EPANET configuration, representing an EPANET input file, as returned by readEpanetInputFile

newCurvesData

list with elements Pump (data frame with columns "ID", "X_VALUE" and "Y_VALUE") of pump curves, GlobalPumpEfficiency (data frame with columns "ID", "X_VALUE" and "Y_VALUE") and sublist PumpNamePrefix (with elements PumpCurves = "TDH" and GlobalPumpEfficiency = "Eff" )

optimisationStrategy

list with elements name (name of optimisation strategy), shortName (short name of optimisation strategy) and pumpsToReplace (vector with pump-ids to be replaced, if none: "")

operationSchemes

possible wellfield operation schemes. Default: wellFieldOperationSchemes(getNamesOfPumps(configuration))

showLivePlot

(default: FALSE)

Value

list with elements energyTotal and energyPerPump