windsim | R Documentation |
winsim
simulates a hih temporal resoltuion time series of wind speeds
that it includes wind gust
windsim( u, timestepin = 3600, timestepout = 1, gustduration = 30, stability = 2 )
u |
a vector of wind speeds (m/s) |
timestepin |
duration of time interval between sucessive values of u (s) |
timestepout |
duration of time interval between sucessive values of simulated wind speed (s) |
gustduration |
mean duration of wind gusts |
stability |
a stability value indicating how variable wind speeds are (1 = very gusty, 3 = fairly stable) |
a vector os simulated wind speeds, incoporating gustiness.
u <- c(3.6, 6.2, 8.2, 9.3) ws <- windsim(u) par(mfrow = c(2, 1)) plot(u, type = "l", ylim = c(0,30)) plot(ws, type = "l", ylim = c(0,30))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.