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

Compare with Current View Page History

« Previous Version 12 Next »

MeanToMean

Input
  • InputVariable
Output
  • OutputVariable
Description

This transformation performs an aggregration from an mean input time series to a mean output time series. The average value of the mean value in the aggregation period (excluding the value at the start of the period) will be the calculated mean value for the output time series.

 

Original series

Result

Date/Time

Value

Value

01-01-2007 00:00

1,00

 

01-01-2007 06:00

2,00

 

01-01-2007 12:00

3,00

 

01-01-2007 18:00

4,00

 

02-01-2007 00:00

5,00

3,50

02-01-2007 06:00

6,00

 

02-01-2007 12:00

7,00

 

02-01-2007 18:00

8,00

 

03-01-2007 00:00

9,00

7,50

03-01-2007 06:00

10,00

 

This method will give the same results as the instantaneoustoMean transformation transformation while setting the includeFirstValueOfAggregationPeriodInCalculation option to false. However, it has no option to ignore missing values in the input series.

Validation rules

See Aggregation Accumulative

Configuration example
	<transformation id="aggregation MeanToMean">
		<aggregation>
			<meanToMean>
				<inputVariable>
					<timeSeriesSet>
						<moduleInstanceId>ImportTelemetry</moduleInstanceId>
						<valueType>scalar</valueType>
						<parameterId>H.obs</parameterId>
						<locationSetId>hydgauges</locationSetId>
						<timeSeriesType>external historical</timeSeriesType>
						<timeStep unit="minute" multiplier="15"/>
						<relativeViewPeriod unit="day" startOverrulable="true" start="-7" end="0"/>
						<readWriteMode>read only</readWriteMode>
						<delay unit="minute" multiplier="0"/>
					</timeSeriesSet>
				</inputVariable>
				<outputVariable>
					<timeSeriesSet>
						<moduleInstanceId>Aggregate_Historic</moduleInstanceId>
						<valueType>scalar</valueType>
						<parameterId>meanToMean</parameterId>
						<locationSetId>hydgauges</locationSetId>
						<timeSeriesType>external historical</timeSeriesType>
						<timeStep unit="hour" multiplier="1"/>
						<relativeViewPeriod unit="day" startOverrulable="true" start="-7" end="0"/>
						<readWriteMode>add originals</readWriteMode>
						<synchLevel>1</synchLevel>
					</timeSeriesSet>
				</outputVariable>
			</meanToMean>
		</aggregation>
	</transformation>
  • No labels