= Wind turbine model = [[NoteBox(note,**This page is under construction!, 400px)]] == Overview == Since r1916 a wind turbine model (WTM) is included in PALM that parameterises the effect of individual wind turbines on the flow. The PALM WTM is based on an advanced actuator disk model approach. It contains a turbine controller including speed control, pitch control and yaw control. By default, the PALM-WTM includes the publicly available data for the NREL 5 MW reference turbine ([#jonkman Jonkman et al., 2009]), but it can be adapted for "real" turbine data as described below. == Technical description of the PALM-WTM == The PALM-WTM is based on the common actuator disk model (ADM) approach in which the rotor of a wind turbine is represented by a permeable disk that extracts energy from the flow by applying a thrust force at the disk. While in the frequently used simple version of the ADM (e.g. as proposed by [#calaf Calaf et al. (2010)] the forces are uniformly distributed and only the thrust force is considered (thus ignoring the torque), the WTM provides an advanced ADM (ADM-R) that considers varying forces over the rotor disk and rotation of the rotor blades although these are not resolved. The basic concept is similar to the ADM-R proposed by [#wu Wu and Porté-Agel (2011)] with several modifications. The rotor plane is divided into rings and segments such that the segments have an equal size which is a function of the grid spacing (see Figure 1 (left)). [[Image(ADM-R_neu.png,150px)]] [[Image(Fig3-BEM-Illustration.png,300px)]] ''Figure 1 (right): Schematic representation of the advanced actuator disk method with the rotor disk segments and the axial (blue arrows) and tangential (red arrows) forces acting on the flow. The grey arrows are representing the tower thrust force.'' ''Figure 1 (left): Descriptive illustration of the forces acting on a blade element.'' For each segment the local lift and drag forces ''f'',,l,, and ''f'',,d,, per unit area are calculated: {{{ #!Latex \begin{equation*} f_l = \frac{1}{2}\rho U^{2}_{rel}c_l\frac{N_{b}c}{2\pi r_{seg}} \end{equation*} \begin{equation*} f_d = \frac{1}{2}\rho U^{2}_{rel}c_d\frac{N_{b}c}{2\pi r_{seg}} \end{equation*} }}} ''U'',,rel,, is the local relative velocity in the centre of the segment. It is calculated from the local wind speed components (interpolation from the nearest grid points) and the velocity of the blades. ''c'',,l,, and ''c'',,d,, are the lift and drag coefficients of the blades, respectively, which vary along the blade. The factor {{{ #!Latex $N_{b}c / 2\pi r_{seg}$ }}} represents the solidity ratio of the rotor blades (with the number of rotor blades ''N'',,b,,, the chord ''c'' and the distance of the segment from the centre of the rotor disk ''r'',,seg,,). The blade properties have to be specified by the user. By default, the WTM includes publicly available data for the NREL 5 MW reference turbine ([#jonkman Jonkman et al., 2009]). In a second step, the lift and drag forces are projected onto the axial and tangential planes, multiplied by a factor of -1 (Newton's third law): {{{ #!Latex \begin{equation*} f_{\theta} = -f_l \sin{\phi} + f_d \cos{\phi} \end{equation*} \begin{equation*} f_{N} = -f_l \cos{\phi} - f_d \sin{\phi} \end{equation*} }}} with the angle φ between the tangential wind speed component and the wind speed relative to the rotor blade element (see Figure 1 (right)) {{{ #!Latex \begin{equation*} \phi = \arctan{\frac{U_N}{\Omega r - U_{\theta}}} \end{equation*} }}} where ''U'',,N,, is the velocity in axial direction and ''U'',,θ,, the velocity in tangential direction (along the circular movement of the rotor blade element, as shown in Figure 1 (right)).''Ω'' denotes the rotational speed of the rotor. Finally, the forces are smeared and interpolated to the cartesian PALM grid. To optimise the performance of the time-consuming 3d smearing process. the smearing is done with a Polynomial function instead of the standard Gaussian smearing and confined to the region around the rotor: {{{ #!Latex \begin{equation*} f_{\epsilon}(x,y,z) = \sum_{seg=1}^{N_{seg}}\left( f_{N} + f_{\theta} \right) \eta \left( d_{b,r}(x,y,z) \right) \end{equation*} }}} It is being summed over the number of rotor segments ''N'',,seg,,. ''η'' is the regularisation kernel which is a function of distance ''d'',,b,r,,''(x,y,z)'' between the center of the current rotor segment and each PALM grid point: {{{ #!Latex \begin{equation*} \eta \left( d_{b,r}(x,y,z) \right) = \frac{105}{32 \pi \epsilon_{min}^{3}} \left( \left( \frac{1}{\epsilon_{min}^{4}} d(x,y,z) - \frac{2}{\epsilon_{min}^{2}} \right) d(x,y,z) + 1 \right) \end{equation*} }}} ''ϵ'',,min,, denotes the zero of the polynomial function and thus confines the region where the smearing is applied (position of current rotor segment +/- ''ϵ'',,min,, in all directions): {{{ #!Latex \begin{equation*} \epsilon_{min} = \left( \frac{105}{32}\right)^{\frac{1}{3}} \pi^{\frac{1}{6}} \epsilon \end{equation*} }}} The smearing width ''ϵ'' is set to twice the grid spacing the horizontal grid spacing which has turned out to be a reasonable value (see e.g. [#troldborg Troldborg et al. (2013)]). The effect of the tower and nacelle are considered by a simple drag force approach: {{{ #!Latex \begin{equation*} f_{d,t} = \frac{1}{2}\rho U^{2}_{ref}c_{d,t} \end{equation*} \begin{equation*} f_{d,n} = \frac{1}{2}\rho U^{2}_{ref}c_{d,n} \end{equation*} }}} where ''f'',,d,t,, and ''f'',,d,n,, are the drag forces of the tower and the nacelle, respectively, with their drag coefficients ''c'',,d,t,, and ''c'',,d,n,,. Per default, ''c'',,d,t,, = 1.2 and ''c'',,d,n,, = 0.85. These values can be changed in the parameter namelist. The WTM contains a wind turbine controller including speed control, pitch control and yaw control which can be switched on and off separately. The baseline generator torque speed and pitch controller is implemented as described in [#jonkman Jonkman et al. (2009)] and is only valid for the NREL 5 MW reference turbine. For different turbine types, the speed controller has to be adjusted. The yaw controller is implemented following [#storey Storey et al. (2013)] and allows active and automatic yaw control. == How to use the PALM-WTM with the provided NREL 5MW turbine data == Your PALM copy includes an example case (starting from r1914) under [https://palm.muk.uni-hannover.de/trac/browser/palm/trunk/TESTS/cases/wind_turbine_model/ trunk/TESTS/cases/wind_turbine_model]. We recommend using the most recent PALM version as the wind turbine model is updated from time to time bugs are fixed. The steering parameters for the wind turbine model are listed and described [wiki:/doc/app/wind_turbine_parameters here]. In case of any question, please do not hesitate to contact Dr. Gerald Steinfeld (!ForWind, Carl von Ossietzky Universität Oldenburg): gerald.steinfeld uol.de == How to use the PALM-WTM with other turbine data == Coming soon... == Example setup == The example run for using the wind turbine model in PALM is called "wind_turbine_model" and can be found at [https://palm.muk.uni-hannover.de/trac/browser/palm/trunk/TESTS/cases/wind_turbine_model/ trunk/TESTS/cases/wind_turbine_model]. This example shows the application of an enhanced actuator disc wind turbine model (Actuator Disc Model with Rotation, ADM-R) in PALM. The model is based on blade elements and conversion of airfoil lift and drag coefficients from the NREL 5MW reference turbine to local forces on the flow (see above). The example simulates 4 different turbines in a turbulent shear flow. After 30s of simulated time, the turbines start to correct their orientation by use of a yaw controller. For the input, you need the common steering file (wind_turbine_model_p3d), which defines, among other things, cyclic lateral boundary conditions and constant potential temperature (300K) and constant geostrophic wind (ug = 6 m/s) profiles for initialization. To run the wind turbine model successfully, a second file is needed. It's called _wtm (wind_turbine_model_wtm. It consists of important properties of the NREL 5MW model turbine and will be automatically read by PALM To start the model, no further modifications are necessary if you use one of the default .palm.config-files in trunk/SCRIPTS/. The palmrun call reads: palmrun -r wind_turbine_model -a "d3#" -c imuk_default -T 4 -X 4 The monitoring files you get after the run (wind_turbine_model_rc and wind_turbine_model_wtm_T01-T04) should be similar to the attached files. They were created with revision 4054. No postprocessing of the data is required. == References == * [=#calaf]'''Calaf M, Meneveau C, Meyers J''' 2010. Large eddy simulation study of fully developed wind-turbine array boundary layers. Phys. Fluids, 22, 015110, doi:10.1063/1.3291077. * [=#jonkman]'''Jonkman JM, Butterfield S, Musial W, Scott G''' 2009. Definition of a 5-MW reference wind turbine for offshore system development. Technical Report NREL/TP-500-38060, National Renewable Energy Laboratory, Golden, Colorado. * [=#storey]'''Storey R, Norris S, Cater J''' 2013. Large Eddy Simulation of Wind Events Propagating through an Array of Wind Turbines. Proceedings of the World Congress on Engineering 2013 Vol III, WCE 2013, 3–5 July 2013, London, UK, 2013. * [=#troldborg]'''Troldborg N, Sørensen JN, Mikkelsen R, Sørensen NN''' 2013. A simple atmospheric boundary layer model applied to large eddy simulations of wind turbine wakes. Wind Energy, 17(4), 657-669, doi:10.1002/we.1608. * [=#wu]'''Wu Y-T, Porté-Agel F''' 2011. Large-Eddy Simulation of Wind-Turbine Wakes: Evaluation of Turbine Parametrisations. Boundary Layer Meteorol., 138, 345-366, doi:10.1007/s10546-010-9569-x.