Skip to contents

Calibrate Model

Usage

calibrateModel(
  configuration,
  pipeIDs = NULL,
  measured,
  pumpsToCalibrate = NULL,
  parameterName = "Diameter",
  parameterRange,
  showLivePlot = TRUE,
  ...
)

Arguments

configuration

EPANET parameterisation, e.g. as retrieved by readEpanetInputFile()

pipeIDs

regular expression or name of pipeID(s) to be used for calibration

measured

measurement data for all pumps as data.frame e.g. data.frame(pumpNames=c("pmpW1", "pmpW2"), measuredQ=c(140,190))

pumpsToCalibrate

regular expression or name of pumps to be used for calibration: e.g. "pmpW1"

parameterName

name of ONE EPANET pipe parameters to be calibrated: e.g. Diameter or Roughness

parameterRange

min/max range of possible calibration parameter values: 0-1; with parameterRange*cun = newParameterValue, e.g. parameter range = 0.5 -> 50% reduction of initial value of parameterName for all pipeIDs defined in calibrateModel()

showLivePlot

current calibration status is plotted if showLivePlot=TRUE. Default: TRUE

...

additional parameters to be passed to fitnessAdaptedModelConfiguration()