The SubtractConsumption is used to latch the calculated difference between 2 inputs. This component is useful compared to a standard subtract block when the source inputs might have invalid status bits (down, stale, disabled) or invalid values (NaN, +Infinity, -Infinity). Note, it may be necessary to clear the transient slot flag from the source component's slot which is linked to an inX slot on the SubtractConsumption block. Otherwise a station restart could result in initial slot values being zero.
The SubtractConsumption component is located in the vykonPro palette under the energy sub folder.
Facets - BFacets property which is applied against the out slot.
Propagate Flags - Defines which input status flags will be propagated from inX slots to the result slot.
Result - Status Numeric property which stores the latched difference of the input slots.
InX - Status Numeric property (1-2) which are used when calculating the latched difference value stored in the Result slot.
Reset Result - Sets the Result slot value to zero and stores the current value for all inputs.