You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

A StatisticsSummary transformation will compute the configured statistic function for the input values to get one result value (the summary). This uses only the input values within the relativeViewPeriod that is defined in the timeSeriesSet of the output variable. The result output value is stored at T0 (time zero) in the output timeSeries.

The available statistic functions are:

  • count
  • countFlags
  • kurtosis
  • max
  • mean (only nonequidistant as input)
  • median
  • min
  • percentileExceedence
  • percentileNonExceedence
  • quartile
  • rootMeanSquareError
  • rsquared
  • skewness
  • standardDeviation
  • sum
  • variance


The below config example counts the unreliable flags per month from a 15 minute timestep series.


<transformation id="count flags">
	<statisticsSerial>
		<countFlags>
			<period>
				<relativePeriod unit="day" start="-120" end="0"/>
				<cardinalTimeStep unit="month" timeZone="GMT+1"/>
				<extendStart>true</extendStart>
				<extendEnd>true</extendEnd>
			</period>
			<inputVariable>
				<variableId>INPUT</variableId>
			</inputVariable>
			<reliability>non_missing_unreliable</reliability>
			<validationRule>any</validationRule>
			<outputVariable>
				<timeSeriesSet>
					<moduleInstanceId>CountFlags</moduleInstanceId>
					<valueType>scalar</valueType>
					<parameterId>Number.Unreliables</parameterId>
					<locationSetId>LOCSET</locationSetId>
					<timeSeriesType>external historical</timeSeriesType>
					<timeStep unit="month" timeZone="GMT+1"/>
					<readWriteMode>add originals</readWriteMode>
				</timeSeriesSet>
			</outputVariable>
		</countFlags>
	</statisticsSerial>
</transformation>
  • No labels