Breadcrumbs

Aggregate

Summary

This block is used to merge histories together according to tags. It will produce as many histories as possible tags combinations.

  • The values are merged for the same rows using the given operator. It implies that they have the same timestamps, so you need to use before the Standardize

  • The tags are also merged in the created histories. Only the tags with the same key and same value are kept.


Implementation

  • Drag and drop the block from the palette

  • Link the "execute" action from the "executed" topic of the previous block

  • Fill the tags you want to use to create the combinations. For example: use "floor" and "resource" to get a combination of histories per floor and per resource. (Level 1 & Electricity, Level 1 & Gas, Level 2 & Electricity...)

 

Example

This block will merge histories according to usage tag

image2019-12-1_0-44-43.png

 

 Properties

  • Artifacts: Artifacts created by this block
    histories: list of histories used then by the other blocks

  • Target: SFormat to select the histories to merge

  • keys: list of tags to use to create history combinations

  • Operator: Math operator used to merge data together from the different histories