Wave population¶
This function computes the wave population for fatigue analysis - Based on Rayleigh distribution if spectral width parameter (SW) is not
specified.
Based on Longuet-Higgins Hs-Tp joint probability distribution if SW is specified
Parameters¶
- Hsstr
Name of the column containing significant wave height.
- Tm02: str
Name of the column containing the mean wave period using spectral moments of order 0 and
- Drr_optional: str
Optional column containing the direction
- Tp_optional: str
Optional column containing the wave period
- SW_optional: str
Optional column containing the spectral width parameter
- args: dict
- Dictionnary with the folowing keys:
- Method: str
Name of the method to use, can be: Height only Height/Direction Height/Tp Height/period
- direction binning: str
Can be centered or not-centered depending if the directionnal are centered over 0
- direction interval: int
Dirctionnal interval for the bins in degrees
- Heigh bin size: float
Interval in meter for Hs
- Period bin size’: float
Interval in second for the period
- Exposure (years) (= length of time series if not specified): int
Number of years use, length of time series if not specified
- folder out: str
Path to save the output
- directional switch: str
Can be On or Off to use direction
Examples:¶
>>> df=tf['test1']['dataframe'].Statistics.wave_population(data=['hs','tp'],args={'Threshold':[2,15],Time blocking':'Yearly'})
>>>
Outputs:¶
Omni |
N |
S |
E |
W |
|
|---|---|---|---|---|---|
> 0.0 <= 0.1 |
|||||
> 0.1 <= 0.2 |
|||||
> 0.2 <= 0.3 |
|||||
Total |