Since 2023.01 the multiple output location thresholds transformation is available.

This is meant for writing specific values to the out put time series when input time series have crossed certain threshold.

In practice this transformation has been developed for the use case where at input locations thresholds are crossed, for different output locations warnings must be sent.

In the configuration the input locations will have multi valued attributes consisting of different output location id's and different threshold levels.

Example configuration:

	<transformation id="MultipleOutputLocationThresholdsDown">
		<multipleLocationAttributes>
			<multipleOutputLocationThresholds>
				<inputVariable>
					<variableId>input</variableId>
				</inputVariable>
				<thresholdValueAttributeId>thresholdValue</thresholdValueAttributeId>
				<crossingDirection>down</crossingDirection>
				<filterAttribute id="filter" value="include"/>
				<outputValue>1</outputValue>
				<outputLocationAttributeId>outputId</outputLocationAttributeId>
				<outputVariable>
					<variableId>output</variableId>
				</outputVariable>
			</multipleOutputLocationThresholds>
		</multipleLocationAttributes>
	</transformation> 

Config options: