The following formulas are used:
Formula 1
Formula 2
Formula 2 is applied if diff > 180.
Formula 3
Formula 3 is applied if diff < −180.
Formula 4
Formula 5
Formula 6
Formula 7
Item | Explanation |
---|---|
WDi | Wind direction in degrees |
WDA | Wind direction average |
diff | Difference between WDi and WDA scaled between [−180, 180] |
diffs | A list containing all calculated diff values |
MINDIFF | Minimum difference between WDi and WDA scaled between [−180, 180] |
MAXDIFF | Maximum difference between WDi and WDA scaled between [−180, 180] |
WDMIN | Minimum wind direction from input list with no scaling applied |
WDMAX | Maximum wind direction from input list with no scaling applied |
Input | Variable |
---|---|
Wind directions |
List of wind directions:
|
Wind direction average | Wind direction for the given measurement window |