How can I impose that, during a dynamic run, the wind speed increases by X knots after T seconds ?
The wind model (constant or random) takes the true wind speed “BaseTWS_kts” as an input. In order to increase the wind speed during a dynamic run, “BaseTWS_kts” can be defined as a function of time in the BOC file or the BIC file corresponding to the dynamics mode. Hence, instead of defining the true wind speed using a state block:
“BaseTWS_kts” : BL.State({Init : 12, Min : 6, Max : 18}),
The true wind speed variable becomes:
“BaseTWS_kts” : “{Time} < 5 ? 12 : 14”, // The true wind speed is initially equal to 12 kts and is then equal to 14kts after 5s of simulation
Or to be a bit more flexible:
“ArrayTWS_t” : BL.State({Init:[ 0, 5, 5.5, 10, 12, 20]}),
“ArrayTWS_v” : BL.State({Init:[12, 12, 14, 14, 12, 13]}),
“BaseTWS_kts” : “interp1({ArrayTWS_t}, {ArrayTWS_v}, {Time})”,
This will do a piecewise linear interpolation to the given points. The array values can be modified from the state GUI window (or using a script).