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
Wiki Markup
{scrollbar}

Weights

Excerpt

disaggregate by setting a weight for each output point

Input
  • InputVariable
configuration
  • weights for each point
Output
  • OutputVariable
Description

This transformation performs a disaggregation from times series to another series in which each output points is multiplied bu a specified weight. There MUST be a weight for each output point or the disaggregation will fail. E.g. when converting 15 minute values to 5 minute values three weight elements must be specified.

Each output time series value within a given data time interval of the input time series is equal to the input time series value multiplied by the weight specified for the output time.

The table below shows a simple example of the procedure.

Time

Input

Output

Weight

12:00

x

0.5

0.5

00:00

1

1

1

12:00

x

2

0.5

00:00

2

2

1.0

In this case two eigth elements (0.5 and 1.0) have been specified. Note that the order in which the elements appear determines to which point they are applied.

Configuration example
No Format
<disaggregation>
			<weights>
				<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>
				<weight>0.9</weight>
				<weight>1.1</weight>
				<weight>0.9</weight>
				<outputVariable>
					<timeSeriesSet>
						<moduleInstanceId>Aggregate_Historic</moduleInstanceId>
						<valueType>scalar</valueType>
						<parameterId>dis_weights</parameterId>
						<locationSetId>hydgauges</locationSetId>
						<timeSeriesType>external historical</timeSeriesType>
						<timeStep unit="minute" multiplier="5"/>
						<relativeViewPeriod unit="day" startOverrulable="true" start="-7" end="0"/>
						<readWriteMode>add originals</readWriteMode>
						<synchLevel>1</synchLevel>
					</timeSeriesSet>
				</outputVariable>
			</weights>
		</disaggregation>