AdjustStage

Input
  • forecastStage
  • averageBalanceFirstSegment
  • averageBalanceSecondSegment
  • averageBalanceThirdSegment
  • averageBalanceFourthSegment
  • startFirstStageRange
  • startSecondStageRange
  • startThirdStageRange
  • startFourthStageRange
  • endFourthStageRange
Coefficient set

no coefficient is needed for this transformation

Output
  • adjustedForecastStage
Description

The transformation AdjustStage uses the output of the transformation StageReview to adjust the simulated stage values. The transformation StageReview has divided the simulated stage values into 4 equally divided segments and has calculated for each segment, for each day an average daily balance.    

The AdjustStage procedure first determines the centres of each segment, secondly it determines which centres surrounds the simulated stage value which has to be adjusted. For each centre the associated balance will be retrieved and the balance for the simulated stage value will be calculated by using lineair interpolation. The simulated stage value will be corrected by adding the calculated balance. When the simulated stage value is lower than the centre of the first segment or higher than the centre of the fourth segment. The balance will not be calculated by using lineair interpolation but will be set equal to balance of the first segment, or the balance of the fourth segment.

  • No labels