A model represents a discrete set of calculations and data associations to generate production accounting. There are 2 main types of models in Mangrove: production models, and quantification models.
output_unit
to define the expected result unit:
co2e
Operator | Function |
---|---|
Keisan expressions | Expressions supported by the Keisan Ruby library are acceptable. A list can be found here. |
summation | Sums all child node values |
difference | Subtracts subsequent values from the first. Child nodes have to be set in the right order . |
product | Multiplies all child node values |
quotient | Divides subsequent values from the first. Child nodes have to be set in the right order . |
max | Finds the maximum value across all child node values |
min | Finds the minimum value across all child node values |
average | Finds the average of all child node values |
count | |
duration | Special operator used to convert the time range of the incoming datapoint into a duration |
map | Maps a value from an linked library |
false
, the node’s computation behaviour will change such that it will always return an array in which the computation is applied to each element of the input. If the node is using data points as input, the array will have the same length as the number of data points found for that data flow. If the node is using multiple child nodes as input, the operator is applied piece-wise across each child’s output array to derive one output array.