windkit.binned_wind_climate
Binned wind climate module
When measuring the wind speed and wind direction over a time period, one can create a histogram by counting the frequency of occurence for each wind speed and direction bin.
Because there can be large differences in the wind climate when the wind is coming from different wind directions, a binned wind distribution is usually specified per wind direction sector.
A valid Weibull wind climate therefore has a dimension sector
and the variables
wsbin
and wdfreq
. Also it must have a valid spatial structure. This module contains
functions that operate on and create binned wind climates.
This includes the ability to create bwc datasets both from files and from
existing data, the ability to calculate common parameters from the bwc object,
and the ability to write them to the legacy .tab format.
Functions
|
Convert wind vector count histogram to binned wind climate dataset. |
|
Creates object from a timeseries. |
|
Calculate the mean wind speed. |
|
Calculates mean third moment of the wind speed. |
|
Calculate the power density |
|
Write bwc to tab-style ascii file. |
|
Calculate the cumulative distribution function (CDF) of the wind speed from a bwc |
|
Calculate the frequency of wind speeds greater than the mean wind speed. |
|
Calculate the n^th moment of the wind speed from a bwc |
|
Combines a list of bwc's into one binned wind climate. |
|
DEPRECATED, use windkit.bwc_from_counts instead |
|
Create time attributes for binned wind climate. |
|
Creates binned wind climate xarray.Dataset from file. |
|
Returns sectorwise Weibull parameters using WAsP's fitting algorithm. |
|
Decorator to handle wind vector count format. |