Investigations into Some Simple Expressions of the Gamma Function in Wind Power Theoretical Estimate by the Weibull Distribution

Abstract

The Weibull distribution is a probability density function (PDF) which is widely used in the study of meteorological data. The statistical analysis of the wind speed v by using the Weibull distribution leads to the estimate of the mean wind speed < v >, the variance of v around < v > and the mean power density in the wind. The gamma function Γ is involved in those calculations, particularly Γ (1+1/k), Γ (1+2/k) and Γ (1+3/k). The paper reports the use of the Weibull PDF f(v) to estimate the gamma function. The study was performed by looking for the wind speeds related to the maximum values of f(v), v2 f(v) and v3 f(v). As a result, some approximate relationships were obtained for Γ (1+1/k), Γ (1+2/k) and Γ (1+3/k), that use some fitting polynomial functions. Very good agreements were found between the exact and the estimated values of Γ (1+n/k) that can be used for the estimation of the mean wind speed < v >, the variance σ2 of the wind speed v; around the mean speed and the average wind power density.

Share and Cite:

Touré, S. (2019) Investigations into Some Simple Expressions of the Gamma Function in Wind Power Theoretical Estimate by the Weibull Distribution. Journal of Applied Mathematics and Physics, 7, 2990-3002. doi: 10.4236/jamp.2019.712209.

1. Introduction

A growing interest in renewable sources of energy is observed, owing to the increase in electricity demand and the world environmental concern. Due to its cleanness, wind energy becomes more and more attractive. A Wind Energy Conversion System (WECS) produces electricity from wind power. The production price depends on several factors. One of those factors is the amount of wind available at a site. Therefore, a reliable estimate of wind energy potential at a selected site is important. For wind energy applications and more generally for weather forecast, wind speed is analysed. Samples are set out from real recordings of wind speed. Then the fitting parameters are looked for to find the distribution that fits the best the data recorded. Several probability density functions (PDF) are used in the study of meteorological data, such as the 2-parameter Weibull distribution, the 3-parameter Weibull distribution or the mixture Weibull distribution which are widely used in wind energy potential analysis. This Weibull model is often used for the assessments of the mean wind speed and the mean power density. It is worth noting that the gamma function is involved in those assessments. The Flexible Weibull Extension is also used to study the distribution of random variables [1]. The beta PDF is also used in the study of meteorological data. All those PDF calculations use the gamma function. This gamma function is also very important because it is involved in several Laplace transform calculations. The Laplace transform is a tool for solving differential equations. Let a function f (t) be considered. Its Laplace transform is defined as [2] :

L [ f ( t ) ] ( s ) = 0 f ( t ) e s t d t . (1)

For instance, if f ( t ) = t x , one gets, for a real number x > −1

L [ t x ] ( s ) = Γ ( x + 1 ) s x + 1 . (2)

In Equation (2), Г is the gamma function. So far, some tables exist, that give approximate values of the gamma function. The objective of the present work is to find some simple expressions of the gamma function, linked to a fitting parameter of the Weibull PDF, which may be used in wind power estimate and in the study of other meteorological data.

2. The Gamma Function and Some Related Special Functions

The gamma function was first introduced by Leonhard Euler in 1729 and 1730 [3] [4] [5] [6] Euler defined this function as follows:

For x > 0,

Γ ( x ) = 0 1 ( log ( t ) ) x 1 d t . (3)

When the following change of variable u = log ( t ) is performed, the gamma function becomes:

Γ ( x ) = 0 t x 1 exp ( t ) d t . (4)

For x > 0, the above relationship can be written as:

Γ ( x + 1 ) = 0 t x exp ( t ) d t . (5)

From Equation (5), integration by parts yields the following recursion formula, commonly known as the functional equation:

Γ ( x + 1 ) = x Γ ( x ) . (6)

When x is an integer number, the functional equation becomes:

Γ ( n + 1 ) = n ! . (7)

Hence, the gamma function can be considered as a generalization of the factorial function to real non null positive numbers.

The gamma function is often approximated by infinite products or infinite series. For instance, the Weierstrass definition defines the gamma function as an infinite product [7] :

1 Γ ( x ) = x e γ x p = 1 ( 1 + x p ) e x / p . (8)

x is any real number which should not be a negative integer ( 0 , 1 , 2 , ). γ is the Euler’s constant.

For large integer values n, the Stirling formula is used. It is expressed as:

Γ ( n + 1 ) = n ! ~ 2 π n n n e n . (9)

For x → ∞, the Stirling asymptotic formula is expressed as [8] :

Γ ( x + 1 ) = 2 π x x e x ( 1 + 1 12 x + 1 288 x 2 139 51840 x 3 571 2488320 x 4 + ) . (10)

The eulerian beta function B(x, y), x > 0, y > 0 is related to the gamma function. It is expressed as:

B ( x , y ) = 0 1 t x 1 ( 1 t ) y 1 d t . (11)

The gamma function and the beta function are related by the following equation:

B ( x , y ) = Γ ( x ) Γ ( y ) Γ ( x + y ) . (12)

The beta function is often used in the statistical analysis of sunshine duration data and in other meteorological data, such as the wind speed [9] [10] [11] [12].

In those studies, the probability distribution function of a random variable x which ranges from 0 to 1, may be expressed as a beta kind and expressed as:

f ( x ) = x p 1 ( 1 x ) q 1 / B ( p , q ) . (13)

p and q are the fitting parameters of the beta PDF.

The revue made above shows that, so far, no simple expressions of the gamma function are known. As a matter of fact, the values of the gamma function are found in tables, where the arguments lie on the interval [1] [2] with an increment of 0.001 [7].

3. The 2-Parameter Weibull Distribution and the Gamma Function

For a given wind speed v, the 2-parameter Weibull distribution is expressed by the following probability density function (PDF) [13] :

f ( v ) = ( k c ) ( v / c ) k 1 exp [ ( v / c ) k ] , k > 0 , c > 0 . (14)

k is the dimensionless shape parameter whereas c (m∙s−1) is the scale parameter. This Weibull distribution has been used by several authors. For instance, Manish Kumar and Cherian Samuel [14] considered in their study the Weibull, Gamma and Lognormal probability distributions to look for the best-fitted distribution. The result showed that, for the wind speed data of their selected site, the Weibull distribution is the best-fitted distribution.

These fitting parameters k and c are determined by using several procedures such as the regression method [15] [16] [17], the maximum likelihood procedure [18] [19] and the Eigen-coordinates method [20]. The nth moment of the Weibull random variable v is expressed as:

E ( v n ) = 0 v n f ( v ) d v = c n Γ ( 1 + n k ) . (15)

Then the first moment (which is the mean speed) v and the second moment v 2 are expressed as:

v = c Γ ( 1 + 1 k ) (16)

v 2 = c 2 Γ ( 1 + 2 k ) . (17)

Hence v and v 2 are functions of k and c, as well as the variance σ2 of the wind speed v around the mean speed, which is given by σ 2 = v 2 v 2 . On another hand, the theoretical wind power density is expressed as P = 1 / 2 ρ v 3 , where ρ is the density of air. Then the average wind power density is given by:

P = 1 2 ρ c 3 Γ ( 1 + 3 k ) . (18)

Equation (15) shows that the Weibull distribution f (v) may be used to estimate Γ ( 1 + n / k ) which is involved in the wind energy potential assessment.

4. Some Simple Expressions of the Gamma Function

4.1. Some Previous Works Related to the Subject

Some previous works establish a direct link between v and k. An example is the formula given by Justus in 1978 for 140 sites in the USA [21] It is expressed as:

k = d 1 v . (19)

k is the Weibull shape parameter; the constant d1 is site specific. Equation (19) is a relation between the mean speed v and the shape parameter k.

Another interesting relationship is the one given by Gash and Twele. It is expressed as [22] :

v = c ( 0.287 k 1 + 0.688 ) 1 / k . (20)

This relationship is interesting because, like Equation (16), it expresses the mean speed v as a function of the Weibull fitting parameters k and c.

Hence, the reliability of Equation (20) was tested by using the data that we reported in our previous study of wind power potential in Côte d’Ivoire (TOURE and LAOUALY, 2000). An estimated value v c of the mean wind speed was calculated by using Equation (20) with the Weibull parameters k and c found for Korhogo, a city located in the north of Côte d’Ivoire. Table 1 displays not only v c , but also the experimental mean wind speed v e x and the relative error between v c and v e x .

A fairly good agreement is observed between experimental and calculated values of v .

So the Equation (20) given by Gash and Twele gives a good estimate of the mean speed v . It should be noted that Equations (16) and (20) are both expressions of v . A comparison between the two equations shows that Γ ( 1 + 1 / k ) can be expressed as:

Γ ( 1 + 1 / k ) = ( 0.287 k 1 + 0.688 ) 1 / k . (21)

Equation (21) can be transformed as follows:

Γ ( 1 + 1 k ) = [ 0.688 ( 1 + 0.287 / 0.688 k ) ] 1 / k . (22)

Then one gets

Γ ( 1 + 1 k ) = 0.688 1 k ( 1 + b k ) 1 / k . (23)

In Equation (23), b = 0.287/0.688.

Moreover, a fitting number a is introduced, by expressing 0.6881/k as:

0.688 1 / k = 0.688 k a . (24)

As a matter of fact, the fitting number depends on k. Hence a (k) was defined as:

a ( k ) = 0.688 a .

Finally, the transformation of Equation (21) leads to the following relationship:

Γ ( 1 + 1 k ) = a ( k ) k ( 1 + b k ) 1 / k . (25)

Then investigations were made to find how Equation (25) can be used as a basis to find some simple expressions of Γ ( 1 + n / k ) .

4.2. Some Simple Expressions of Γ ( 1 + 1 / k ) , Γ ( 1 + 2 / k ) and Γ ( 1 + 2 / k ) in Wind Power Theoretical Estimate

4.2.1. Γ ( 1 + 1 / k ) Estimate

The Weibull distribution f (v), given by Equation (14), was used to find an estimate of Γ ( 1 + 1 / k ) . The value of the wind speed v for which f(v) is maximum, vmp, is a solution of the equation

d f ( v ) / d v = 0 .

It is easily found that

v m p = c ( 1 1 / k ) 1 / k . (26)

vmp and the mean wind speed v given by Equation (16) are correlated. For instance, in the case of the Rayleigh distribution, for which k = 2, one gets

v m p = 2 2 π v . (27)

Therefore, Equations (16) and (27) suggest a link between Γ ( 1 + 1 / k ) and ( 1 1 / k ) 1 / k . This link was established by using Equation (25), so that one gets:

Γ ( 1 + 1 k ) = a 1 ( k ) k ( 1 1 k ) 1 / k . (28)

A comparison between Equations (25) and (28) shows that, b = b (1) = −1. As Γ ( 1 + 1 / k ) is the value of Γ ( 1 + n / k ) for n = 1, a1 (k) is the fitting number a (k) for n = 1. b (1) = b = −1 is the value of b (n) for n = 1. The fitting number a1 (k) was investigated.

For each value of k, the exact value of Γ ( 1 + 1 / k ) was calculated by using tables. Then by using Equation (28), a1 (k) was found. Subsequently, a1 (k) was plotted against k.

This plotting is given in Figure 1. It was found that a1 (k) is a polynomial function of k. The following relationship was found for k ≤ 8, with R2 = 0.999:

a 1 ( k ) = 0.0085 k 3 + 0.1578 k 2 0.0024 k + 1.9112 . (29)

Accordingly, by combining Equations (16) and (28), an estimated value of the mean wind speed is given by:

Figure 1. Plotting of a1 (k) against k.

v = c a 1 ( k ) k ( 1 1 k ) 1 / k (30)

The reliability of Equation (30) was tested by using the data of Korhogo mentioned in Section 4.1. The mean wind speeds v c calculated by using Equation (30) and the corresponding experimental values v e x are displayed in Table 2.

A fairly good agreement is observed between experimental values of and the calculated values gotten by using Equation (30), as the relative errors lie in the range 0.1% - 4%. It should be noted that the relative errors found for the comparison between the experimental values of v . and the values calculated g by using the relationship of Gash and Twele (Equation (20)), lie in the range 1.5% - 3.5%, as shown in Table 1.

Hence, the estimate of the mean speed v is better by using Equation (30), if compared with the results gotten from the Gash and Twele equation. By using Equation (30), as shown in Table 2, the greatest values of the relative errors are found in July (2.6 %) and December (4.0 %). As a matter of fact, for those two months, the Weibull parameter k is so that k ≥ 7. For the remaining ten months, where k < 7, the relative errors lie in the range 0.1% - 1.6%.

Let Gt and Ge be respectively the value of Γ ( 1 + 1 / k ) calculated from tables (the exact value) andits estimated value gotten by using Equation (28). A comparison between Gt and Ge was made. The results of the calculations are displayed in Table 3, where the calculations are made for k ≤ 6. Table 3 shows a very good agreement between Gt and Ge, since the relative errors lie in the range 0.16% - 1.5%.

Hence, Equation (28) is a very good estimate of Γ ( 1 + 1 / k ) .

Table 1. Comparison between v c (m/s) and v e x (m/s).

Table 2. Comparison between v e x (m/s) and the calculated mean speed v c (m/s) obtained from Equation (30).

Table 3. Comparison between the exact value and the estimated value of Γ ( 1 + 1 / k ) gotten by using Equation (28).

4.2.2. Γ ( 1 + 2 / k ) Estimate

Let Equation (15) be considered. The second moment suggests that Γ ( 1 + 2 / k ) may be investigated by using v2 f (v). For that purpose, the wind speed for which v2 f (v) is maximum was looked for. This wind speed is obtained for

d d v [ v 2 f ( v ) ] = 0 . (31)

The solution of Equation (31) is given by

v = c ( 1 + 1 k ) 1 / k . (32)

Equations (15) and (32) suggest a link between Γ ( 1 + 2 / k ) and ( 1 + 1 k ) 1 / k .

By introducing a fitting number a2 (k), Γ ( 1 + 2 / k ) was expressed by the following relationship:

Γ ( 1 + 2 k ) = a 2 ( k ) k ( 1 + 1 k ) 1 / k . (33)

In Equation (33), a2 (k) is the fitting number for n = 2; b (2) = +1 is the value of b (n) for n = 1. For each value of k, Γ ( 1 + 2 / k ) was calculated by using tables. Then a2 (k) was calculated from Equation (33). Figure 2 is a plotting of a2 (k) against k.

The following polynomial function was found (R2 = 1), for k ≤ 6:

a 2 ( k ) = 0.0053 k 3 + 0.0837 k 2 + 0.502 k + 0.3429 . (34)

In order to test the reliability of Equation (33), Gt the exact value of Γ ( 1 + 2 / k ) calculated from tables and Ge, its estimated value gotten by using Equation (33) were compared. The results of the calculations are displayed in Table 4, where the calculations are made for k ≤ 6.

Figure 2. Plotting of a2 (k) against k.

Table 4. Comparison between the exact value and the estimated value of Γ ( 1 + 2 / k ) gotten by using Equation (33).

A very good agreement is found between Gt and Ge, since the relative errors, which lie in the range 0.01% - 0.76% are all below 1%. It shows that Equation (33) is a very good estimate of Γ ( 1 + 2 / k ) .

4.2.3. Γ ( 1 + 3 / k ) Estimate

The third moment, obtained from Equation (15), was used to investigate Γ ( 1 + 3 / k ) . Hence, the investigation was made by using the product v3 f (v). The wind speed for which v3 f (v) is maximum was looked for. It is given by the following equation:

d d v [ v 3 f ( v ) ] = 0 . (35)

The following solution of Equation (35) was obtained:

v r = c ( 1 + 2 k ) 1 / k . (36)

In the study of the power curve of a wind energy conversion system, vr is deemed to be the rated wind speed [21]. As in the previous cases, Equations (15)

and (36) suggest a link between Γ ( 1 + 3 / k ) and ( 1 + 2 k ) 1 / k . Once again, the fitting number a (k) introduced in Equation (25), was used to establish this link, resulting in the following relationship:

Γ ( 1 + 3 k ) = a 3 ( k ) k ( 1 + 2 k ) 1 / k . (37)

a3 (k) is the fitting number for n = 3; b (3) = +2 is the value of b for n = 3. The fitting number a3 (k) was investigated. For each value of k, Γ ( 1 + 3 / k ) was obtained from tables. Then a3 (k) was calculated by using Equation (37). Figure 3 shows a plotting of a3 (k) against k.

The following polynomial function was found with R2 = 0.999, for k ≤ 6.5:

a 3 ( k ) = 0.012 k 3 + 0.1958 k 2 0.1496 k + 1.5179 . (38)

The reliability of Equation (37) was tested. The exact values of Γ ( 1 + 3 / k ) , Gt, calculated from tables and the estimated values Ge gotten by using Equation (37) were compared for various values of k. The results are displayed in Table 5, where the calculations are made for 2 ≤ k ≤ 6. A very good agreement is found between Gt and Ge, since the relative errors lie in the range 0.075% - 1.47%.

Figure 3. Plotting of a3 (k) against k.

Table 5. Comparison between the exact value and the estimated value of Γ ( 1 + 3 / k ) obtained by using Equation (37).

Hence, the average wind power density, expressed by Equation (18), can be written as:

P = 1 2 ρ c 3 a 3 ( k ) k ( 1 + 2 k ) 1 / k . (39)

On the whole, by taking into account Equations (28), (33) and (37), one may write the following equation:

Γ ( 1 + n k ) = a n ( k ) k ( 1 + b ( n ) k ) 1 / k . (40)

In Equation (40), n is an integer number and b is a function of n. The corresponding values of b are b (1) = -1; b (2) = +1; b (3) = +2. The fitting number an (k) is a polynomial function of k. It is expressed by Equations (29), (34) and (38) for n = 1, n = 2 and n = 3 respectively.

A comparative evolution of a1 (k), a2 (k) and a3 (k) with k is given in Figure 4.

An equation giving b (n) as a function of n was investigated. The following equation was found:

b ( n ) = 1 2 n 2 + 7 2 n 4 . (41)

5. Conclusions

A practical and simple expression of the gamma function was found, which

Figure 4. Comparative evolution of a1 (k), a2 (k) and a3 (k) with k.

allows the calculation of Γ ( 1 + 1 / k ) , Γ ( 1 + 2 / k ) and Γ ( 1 + 3 / k ) . In all the three cases, a polynomial fitting function an (k) was found, with a very high coefficient of determination R2. Very good agreements were found between the exact and the estimated values of Γ ( 1 + n / k ) .

The simple expression reported in the paper may be used in wind power theoretical estimate, for the estimation of the mean wind speed v , the variance σ2 of the wind speed v around the mean speed and the average wind power density. The goodness of the estimate of the gamma function, by using Equation (40), depends on the value of the shape parameter k. Very good estimates are gotten for k ≤ 7. For values of k up to 12, the estimate remains good, with relative errors not greater than 5%.

Nomenclature

B: Beta function.

c: the Weibull scale parameter (m∙s−1).

k: the Weibull shape parameter.

p: Beta function fitting shape parameter.

P: power density (W/m2).

PDF: Probability Distribution Function.

q: Second beta function fitting shape parameter.

v: wind speed (m/s).

Greek Symbols

Г: the gamma function.

σ2: variance of the wind speed (m2/s2).

ρ: density of air (kg/m3).

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] El-Desouky, B.S., Mustafa, A. and Al-Garash, S. (2017) The Exponential Flexible Weibull Extension Distribution. Open Journal of Modelling and Simulation, 5, 83-97.
http://www.scirp.org/journal/ojmsi
https://doi.org/10.4236/ojmsi.2017.51007
[2] Weisstein, E.W. (2002) Laplace Transform from Mathworld. A Wolfram Web Resource.
http://mathworld.Wolfram.com/LaplaceTransform.html
[3] Godefroy, M. (1901) La fonction gamma, Théorie, Histoire, Bibliographie. Gauthier-Villars, Paris.
[4] Ayant, Y. and Borg, M. (1971) Fonctions spéciales à l’usage des étudiants en physique. Dunod, Paris.
[5] Gourdon, M. and Sabah, P. (1999) Numbers, Constants and Computation. World Wide.
http://numbers.computation.free.fr/constants/constants.html
[6] Sebah, P. and Gourdon, X. (2002) Introduction to the Gamma Function. World Wide.
http://numbers.computation.free.fr/constants/constants.html
[7] Boll, M. (1964) Universal Digital Tables for Laboratories and Design Offices. Dunod, Paris.
[8] Abramowitz, M. and Stegun, I. (1964) Handbook of Mathematical Functions. Dover, New York.
[9] Bashuhu, M., Nsabimana, J.C. and Manirakiza, F. (2006) Beta Probability Density Functions and Reference Distributions of Relative Sunshine Duration Data from Burundian Stations. ISESCO Science and Technology Vision, 2, 30-34.
[10] Honerkamp, J. (1999) Stochastic Dynamical Systems: Concepts, Numerical Methods Data Analysis. VCH Publishers, New York, Weinheim, Cambridge.
[11] Ettoumi, F.Y., Mefti, A., Adane, A. and Bouroubi, M.Y. (2002) Statistical Analysis of Solar Measurements in Algeria Using Beta Distributions. Renewable Energy, 26, 47-67.
https://doi.org/10.1016/S0960-1481(01)00100-8
[12] Touré, S., Traoré, D. and Traoré, M. (2014) Beta Probability Distribution Function and Relative Wind Speed Distribution. ISESCO Journal of Science and Technology, 10, 26-31.
[13] Weibull, W.A. (1957) Statistical Distribution of Wide Application. Journal of Applied Mechanics, 18, 293-297
[14] Kumar, M. and Samuel, C. (2018) Wind Energy Potential Estimation with Prediction of Wind Speed Distribution. International Journal of Intelligent Systems Technologies Applications, 17, 19-41.
https://doi.org/10.1504/IJISTA.2018.091585
[15] Khogall, A., Albar, O.F. and Yoush, B. (1991) Wind and Solar Energy Potential in Makkah (Saudi Arabia). Comparison with Red Sea Costal Sites. Renewable Energy, 1, 453-440.
https://doi.org/10.1016/0960-1481(91)90054-S
[16] Feregh, G.M. (1993) Wind Energy Potential in Bahrain. Energy Conversion and Management, 34, 499-506.
https://doi.org/10.1016/0196-8904(93)90081-K
[17] Sulaiman, M.Y., Akaah, A.M., Wahab, M.A., Zakaria, A., Sulaiman, Z.A. and Suradi, J. (2002) Wind Characteristic of Oman. Energy, 27, 35-46.
https://doi.org/10.1016/S0360-5442(01)00055-X
[18] Wong, R.K.W. (1977) Weibull Distribution, Iterative Likelihood Techniques and Hydrometeorological Data. Journal of Applied Meteorology, 16, 1360-1364.
https://doi.org/10.1175/1520-0450(1977)016<1360:WDILTA>2.0.CO;2
[19] Touré, S. and Laoualy, R. (2000) A Theoretical Study of Wind Power Potential in Côte D’Ivoire Using the Weibull Distribution. World Renewable Energy Congress VI (WREC), Brighton, UK, 1-7 July 2000, 2304-2307.
https://doi.org/10.1016/B978-008043865-8/50498-0
[20] Touré, S. (2005) Investigations on the Eigen-Coordinates Methods for the 2-Parameter Weibull Distribution of Wind Speed. Renewable Energy, 30, 511-521.
https://doi.org/10.1016/j.renene.2004.07.007
[21] Sharma, C. and Chadee, J. (2000) Wind as a Reliable Source for Electricity Generation. The Trinidad & Tobago Perspective. World Renewable Energy Congress VI (WREC), Brighton, UK, 1-7 July 2000, 1221-1224.
https://doi.org/10.1016/B978-008043865-8/50253-1
[22] Gasch, J. and Twele, J. (2002) Wind Power Plants. Fundamentals, Design, Construction and Operation. Solar praxis Berlin James & James, London.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.