Skip to main content

Greenbyte Documentation

Resolution Conversion

When looking at data in a different resolution than the device resolution, the data will be converted to the requested resolution. This resolution conversion will always be done before any aggregation of data between different devices is performed.

When averaging signals, the aggregation for a target interval I is done as a weighted average:

resolution_conversion_1.png

Where:

V

is the set of values overlapping with the target interval I

wv

is the weight of the value v, which is the fraction of the value's interval overlapping with the target interval.

When summing signals, the aggregation will be done as a weighted sum:

resolution_conversion_2.png

Example of converting data from 15-minute resolution to 10-minute resolution

A turbine has the following 15-minute Wind speed data:

Source Interval

Value

10:00 - 10:15

5

10:15 - 10:30

20

The conversion to 10-minute data will be done using the weighted average.

Target Interval

Aggregation

Value

10:00 - 10:10

Resolution_Conversion_-_Aggregation_1.png

5

10:10 - 10:20

Resolution_Conversion_-_Aggregation_2.png

12.5

10:20 - 10:30

Resolution_Conversion_-_Aggregation_3.png

20

Example of Converting Data From 10-minute Resolution to 15-minute Resolution

A turbine has the following 10-minute Energy Export data:

Source Interval

Value

10:00 - 10:10

30

10:10 - 10:20

50

10:20 - 10:30

40

The conversion to 15-minute data will be done using the weighted sum.

Target Interval

Aggregation

Value

10:00 - 10:15

30 + 50 * 1/2

55

10:15 - 10:30

50 * 1/2 + 40

65

Example of Converting Data From 10-minute Resolution to 5-minute Resolution

A turbine has the following 10-minute Wind speed data:

Source Interval

Value

10:00 - 10:10

7

10:10 - 10:20

11

The conversion to 10-minute data will be done using the weighted average. However, since the device resolution is divisible by the target resolution, this will just result in each value being repeated.

Target Interval

Aggregation

Value

10:00 - 10:05

Resolution_Conversion_-_Aggregation_4.png

7

10:05 - 10:10

Resolution_Conversion_-_Aggregation_4.png

7

10:10 - 10:15

Resolution_Conversion_-_Aggregation_5.png

11

10:15 - 10:20

Resolution_Conversion_-_Aggregation_5.png

11