Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

You can compute some statistics of the children locations of a parent location. This transformation is available since 2013.01.

For example: you may have a parent location that has some children locations that have all their own discharge. To compute the total sum of all the discharges you can simply use the StatisticsChildrenLocations-sum.
Therefore you define as output location (or locationSet) the parent location(s) and as input locations the children locations.

The possible statistics are:

  • count
  • kurtosis
  • max
  • mean
  • median
  • min
  • percentileExceedence (with % value)
  • percentileNonExceedence (with % value)
  • quartile (with quartile value)
  • rootMeanSquareError
  • rsquared
  • skewness
  • standardDeviation
  • sum
  • variance
Code Block
xml
xml
<transformation id="aggregate laterals">
  <statisticsChildrenLocations>
    <sum>
      <inputVariable>
        <timeSeriesSet>
          <moduleInstanceId>Prep</moduleInstanceId>
          <valueType>scalar</valueType>
          <parameterId>Q</parameterId>
          <locationSetId>laterals</locationSetId>
          <timeSeriesType>temporary</timeSeriesType>
          <timeStep unit="minute" multiplier="5"/>
          <relativeViewPeriod unit="hour" start="-96" end="0" startOverrulable="true"/>
          <readWriteMode>read only</readWriteMode>
        </timeSeriesSet>
      </inputVariable>
      <outputVariable>
        <timeSeriesSet>
          <moduleInstanceId>Prep</moduleInstanceId>
          <valueType>scalar</valueType>
          <parameterId>Q</parameterId>
          <locationSetId>parents_of_laterals</locationSetId>
          <timeSeriesType>temporary</timeSeriesType>
          <timeStep unit="minute" multiplier="5"/>
          <relativeViewPeriod unit="hour" start="-96" end="0" startOverrulable="true"/>
          <readWriteMode>add originals</readWriteMode>
        </timeSeriesSet>
      </outputVariable>
    </sum>
  </statisticsChildrenLocations>
</transformation>