Returns the aggregated value of current entity children in specified hierarchy according to specified aggregation type, only for entities for which specified conditional expression is valid for current time step.

1. Numeric expression (signal with unit)
2. Aggregation type
a. Min
b. Max
c. Sum
d. Average
e. First
f. Last
g. Count
3. Hierarchy name
4. Conditional expression

AggregateIf("oil production rate" in "m3/h",
"Sum", "Hierarchy Vertical",
"year of first production" in " " = 2015)

AggregateIf("gas production rate" in "m3/h",
"Min", "Hierarchy Vertical",
CurrentStep() >= #1/1/2010#)