Tunnel Option - Data Derivation Algorithm

It will perform the following functionality:

  • It should define two parameters for the source curves, one for the profile relationship type representing the hedge cover (or "reference curve") and one for the profile relationship type representing the measured usage.
  • It should define two parameters for the bill factors for the high and low tunnel percentages.
  • It should define a parameter for the profile relationship type for the destination curve of the data that falls outside the tunnel.
  • This algorithm retrieves the hedge cover data. For each interval, it calculates the tunnel by applying the high and low tunnel percentages to the hedge cover value for that interval. It then compares the measured data for that interval.
  • If the measured data falls within the tunnel, it populates the "Within Tunnel" curve with the measured value. (The "within tunnel" curve is the one with a profile type that contains this algorithm.)
  • If the measured data falls below the tunnel, it populates the "Within Tunnel" curve with the low tunnel value and populates the "Outside the Tunnel" curve (based on the parameter passed in to this algorithm) with the difference between the low tunnel value and the measured usage.
  • If the measured data falls above the tunnel, it populates the "Within Tunnel" curve with the high tunnel value and populates the "Outside the Tunnel" curve with the difference between the measured usage and the high tunnel value.