Charts - Wind charts: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
mNo edit summary
Line 15: Line 15:
WindRoseNrOfWindforceClasses=6 (default = 6)
WindRoseNrOfWindforceClasses=6 (default = 6)
WindRoseMaxWindSpeed=60 (default = 60)
WindRoseMaxWindSpeed=60 (default = 60)
WindRoseInversed=false | true (default = false)



=== Calculation of the Wind Rose ===
=== Calculation of the Wind Rose ===
Line 22: Line 24:


Every record in the database is taken as a sample and counted for the speed and direction classes and as such presented in the chart. Especially for the high frequency sampling (one or five minutes) this will give an accurate picture of the wind speed and direction figures. For the lower frequency sampling this picture may be less accurate for the month level.
Every record in the database is taken as a sample and counted for the speed and direction classes and as such presented in the chart. Especially for the high frequency sampling (one or five minutes) this will give an accurate picture of the wind speed and direction figures. For the lower frequency sampling this picture may be less accurate for the month level.

NOTE: because of this calculation this graph takes a high toll on the performance of CumulusUtils: first because reading the monthly logs is expensive - especially when sampling on minute or five minute frequency - and secondly because the list is long (millions of records when using minute sampling) and making the sub selections per month again takes its toll. Optimisation of this chart is continuous work in progress.


== Wind Run ==
== Wind Run ==
[[File:WindRun.jpg|thumb|right|Wind Run]]
[[File:WindRun.jpg|thumb|right|Wind Run]]
Total windrun per day is shown as a stacked column per month. For every day in a month the windrun is taken and counted into the class it belongs to. The windrun class width parameter value (''WindrunClassWidth'') is given by the user who estimates a width such that the number of classes is reasonable depending on unit and actual local wind conditions.


The chart can be shown for ''All Time'' or for a specific year, selectable by the user.
[[Category:CumulusUtils]]
[[Category:CumulusUtils]]

Revision as of 13:13, 8 April 2021

Introduction

The Wind charts submodule consists of two charts:

  1. Wind Rose - Plotting the wind direction and speed in a polar chart;
  2. Monthly Rain - Plotting the wind speed in a stacked column chart;

Below you will find an example image of each chart and an explanation of the origin of the numbers.

Wind Rose

Wind Rose

The rather complex chart presents the wind speed and direction in a so called polar chart. For each direction in the compass rose a stacked column is displayed as a cone towards the centre (or from the centre outward). The display is subdivided for every year and every month within the year.

The chart is configured with the following parameters (explained in the chapter Charts):

  WindRoseNrOfWindforceClasses=6                           (default = 6)
  WindRoseMaxWindSpeed=60                                  (default = 60)
  WindRoseInversed=false | true                            (default = false)


Calculation of the Wind Rose

The wind rose is based on the figures in the monthly log files. Those files are read and every measurement has a Latest Wind Speed (See terminology, field nr 14).

The direction is taken from the Current Windbearing, field nr 25. However, field nr 25 does exist only from version 1.9.2 and up. If the datafile is from an earlier version the next best value is taken for the wind direction namely the average windbearing, field nr 8.

Every record in the database is taken as a sample and counted for the speed and direction classes and as such presented in the chart. Especially for the high frequency sampling (one or five minutes) this will give an accurate picture of the wind speed and direction figures. For the lower frequency sampling this picture may be less accurate for the month level.

NOTE: because of this calculation this graph takes a high toll on the performance of CumulusUtils: first because reading the monthly logs is expensive - especially when sampling on minute or five minute frequency - and secondly because the list is long (millions of records when using minute sampling) and making the sub selections per month again takes its toll. Optimisation of this chart is continuous work in progress.

Wind Run

Wind Run

Total windrun per day is shown as a stacked column per month. For every day in a month the windrun is taken and counted into the class it belongs to. The windrun class width parameter value (WindrunClassWidth) is given by the user who estimates a width such that the number of classes is reasonable depending on unit and actual local wind conditions.

The chart can be shown for All Time or for a specific year, selectable by the user.