<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OALibJ</journal-id><journal-title-group><journal-title>Open Access Library Journal</journal-title></journal-title-group><issn pub-type="epub">2333-9705</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/oalib.1104984</article-id><article-id pub-id-type="publisher-id">OALibJ-88922</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Biomedical&amp;Life Sciences</subject><subject> Business&amp;Economics</subject><subject> Chemistry&amp;Materials Science</subject><subject> Computer Science&amp;Communications</subject><subject> Earth&amp;Environmental Sciences</subject><subject> Engineering</subject><subject> Medicine&amp;Healthcare</subject><subject> Physics&amp;Mathematics</subject><subject> Social Sciences&amp;Humanities</subject></subj-group></article-categories><title-group><article-title>
 
 
  Modeling Wind Energy Using Copula
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Zuhair</surname><given-names>Bahraoui</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Fatima</surname><given-names>Bahraoui</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>M.</surname><given-names>Amin Bahraoui</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, ESTSB, University Chouaib Doukkali, El Jadida, Morocco</addr-line></aff><aff id="aff2"><addr-line>Laboratory of Heat Transfer and Energetic, Faculty of Sciences and Techniques, Tangier, Morocco</addr-line></aff><aff id="aff3"><addr-line>Department of Mathematics, Faculty of Science and Technology, Tangier, Morocco</addr-line></aff><pub-date pub-type="epub"><day>01</day><month>11</month><year>2018</year></pub-date><volume>05</volume><issue>11</issue><fpage>1</fpage><lpage>14</lpage><history><date date-type="received"><day>13,</day>	<month>October</month>	<year>2018</year></date><date date-type="rev-recd"><day>27,</day>	<month>November</month>	<year>2018</year>	</date><date date-type="accepted"><day>30,</day>	<month>November</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In most studies related to wind energy, the quantity of the air density is considered constant, but actually, we know that it is variable and depending on others natural factors. We present a new proced
  ure to estimate the wind density power energy by simulating the components of the air density. The procedure uses the copula theory and demonstrates that the estimated power energy is higher if the air density is not constant.
 
</p></abstract><kwd-group><kwd>Weibull</kwd><kwd> Nonparametric Estimation</kwd><kwd> Copula</kwd><kwd> Wind Speed</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Understanding the relationship between the components of wind power is fundamental to exploits wind energy, as well as the identification of suitable natural sites to perform the energy-efficient design and giving the economic rentability [<xref ref-type="bibr" rid="scirp.88922-ref1">1</xref>]. This involves that estimating wind energy in eolian installations can be considered as a challenge to predict the productive capacity energy. The most accurate formula to calculate the power in wind farms is to make use the wind density power energy</p><p>P = 1 2 ρ ( T , P ) S V 3 (1)</p><p>where ρ ( T , P ) is the air density. This term is dependent generally on the temperature T, and the pressure P, both of which vary with height, see for example [<xref ref-type="bibr" rid="scirp.88922-ref2">2</xref>]. S represent the useful surface of the wind sensor and v is the wind speed. In most studies, the air density is taken constant (for physical simplifications or for not having sufficient data), and it’s replacing with the standard air density, taking the average sea temperature 15˚C, and 1 atmospheric pressure that is 1.225 kg/m<sup>3</sup>. In this case, the relationship between the power and wind speed is reduced to a linear function.</p><p>In this paper, we use the copula theory to handle the structure dependence beyond the linear correlation between the naturals variables: The wind speed, temperature, and pressure. The air density is considered not constant and the power should be affected by the dependence which is the idea of this research.</p><p>The term of copula was introduced by [<xref ref-type="bibr" rid="scirp.88922-ref3">3</xref>] in the multivariate analysis concept, but it was not until 1986 when [<xref ref-type="bibr" rid="scirp.88922-ref4">4</xref>] and [<xref ref-type="bibr" rid="scirp.88922-ref5">5</xref>] focused more light on this type of function, giving an application in the finance field and exploiting the proprieties of the Archimedean copula. Applications have been extended in all fields [<xref ref-type="bibr" rid="scirp.88922-ref6">6</xref>] and of course for naturals sample type variable. One of the most salient properties of copulas theory is that it is possible to separate independently the function of the dependence from the marginals distribution function ones [<xref ref-type="bibr" rid="scirp.88922-ref7">7</xref>]. We use the same principle to treat the components of the air density, i.e. estimating an adequate copula for the wind speed and temperature and from another side an adequate copula for the wind speed and pressure. The marginals distribution function can be estimated independently.</p><p>[<xref ref-type="bibr" rid="scirp.88922-ref8">8</xref>] with a pioneering works find a suitable parametric copula for wind speed variables and its direction. Recently there is an important study relating to the dependence function in renewable wind energy. For example, [<xref ref-type="bibr" rid="scirp.88922-ref9">9</xref>] examines another type of copulas families to handle the dependency between wind speed and their directions [<xref ref-type="bibr" rid="scirp.88922-ref10">10</xref>] utilize a pair copula (conditional dependence) to analyze the correlation between the winds farms, while [<xref ref-type="bibr" rid="scirp.88922-ref11">11</xref>] use the extremes value theory and copulas function to determines the correlation between wind turbines that compose the wind farm. Others [<xref ref-type="bibr" rid="scirp.88922-ref12">12</xref>] examine the dependence between wind power production and electricity prices.</p><p>The remainder of this article is organized as: Section 2 describes the parametric and non-parametric distribution function to estimate the marginals probability distribution. The selected copulas used in the study are presented in Section 3. In Section 4 we explain a procedure to simulate wind speed density energy power. An application to real data is analyzed in the Section 5. Finally, we conclude.</p></sec><sec id="s2"><title>2. Marginals under Study</title><p>Given X 1 , X 2 , ⋯ , X n a n independent and identically distributed sample with a unknown distri-bution function (cdf) F and probability density function (pdf) f. A natural way to estimates the distribution function F, is to consider the empirical distribution function</p><p>F e m p = 1 n ∑ i = 1 n I ( X i ≤ x ) (2)</p><p>where I ( X i ≤ x ) is the indicator function of a set I ( X i ≤ x ) . The correction of this approximation</p><p>F ˜ ( x ) = n n + 1 F e m p ( x ) (3)</p><p>is considered in the empirical estimation because using directly (2) to estimate the copula function can cause the boundary problems. That is the copula distribution function implanted to identify the dependence structure may not integrate one, for a discussion one can consult [<xref ref-type="bibr" rid="scirp.88922-ref13">13</xref>]. This transformation is closed to the uniform distribution and its similar to the so-called the pseudo-observation introduced by [<xref ref-type="bibr" rid="scirp.88922-ref4">4</xref>]. The second nonparametric approximation is using the classical kernel estimator (CKE) [<xref ref-type="bibr" rid="scirp.88922-ref14">14</xref>]</p><p>F ^ ( x ) = 1 n ∑ i = 1 n K ( x − X i h ) (4)</p><p>where K ( x ) = ∫ − ∞ x k ( t ) d t is some known kernel distribution function [<xref ref-type="bibr" rid="scirp.88922-ref14">14</xref>] , like Epanechnikov or the Gaussian distribution function, the most used function used for this approximation, see for an efficiency comparison [<xref ref-type="bibr" rid="scirp.88922-ref15">15</xref>]. The parameter h, that satisfied generally the condition h → 0 when n → ∞ , controlled the smoothness of the estimated function.</p><p>In this paper, we use the specific value, h = 3.572 σ n 1 / 3 , where σ = min ( s d , R / 1.34 ) and sd is the standard deviation of the sample and R is the sample interquartile range [<xref ref-type="bibr" rid="scirp.88922-ref14">14</xref>].</p><p>Finally, to fit wind speed distribution function we add a Weibull distribution function. Used generally in reliability field and failure times in physical systems, this distribution function is recommended by the International Standard IEC 61400-12 and is widely used in the context of eolian analysis of a wind speed, [<xref ref-type="bibr" rid="scirp.88922-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.88922-ref2">2</xref>].</p><p>The CDF of Weibull distribution is: F k , λ = 1 − e − ( x λ ) k .</p><p>The pdf density function</p><p>f k , λ = { ( k λ ) ( x λ ) k − 1 e − ( k λ ) k       s i   x ≥ 0 0                                                   s i   x &lt; 0</p><p>The mean and variance are, respectively:</p><p>E ( X ) = λ Γ ( 1 + 1 k ) and V a r ( X ) = λ 2 [ Γ ( 1 + 2 k ) + Γ 2 ( 1 + 1 k ) ]</p><p>such that, Γ ( x ) = ∫ 0 + ∞ t x − 1 e − t d t is the Euler’s Gamma function. To estimate the parameters k , λ , exists various methods like the mean squared method or the moment method [<xref ref-type="bibr" rid="scirp.88922-ref16">16</xref>].</p><p>In this paper we use the maximum likelihood method to estimate the parameters [<xref ref-type="bibr" rid="scirp.88922-ref17">17</xref>]. This method is easy simple tools and consists to maximize the product density:</p><p>L V ( θ ) = ∏ i = 1 n f ( X i , θ ) (5)</p><p>where consist the set parameters to be estimated</p></sec><sec id="s3"><title>3. Dependence e Model</title><p>To reveals the structure dependence between the pairs variable, (Wind speed, Temperature) and (Wind speed, Pressure), three parametric copula have been considered. A copula is a distribution function defined in the cubic interval [ 0 , 1 ] 2 with uniform marginal distribution functions U [ 0 , 1 ] . If F<sub>X</sub>, and F<sub>Y</sub> are marginals distribution of variables bivariate ( X , Y ) , then from the Sklar theorem [<xref ref-type="bibr" rid="scirp.88922-ref3">3</xref>] for each bivariate distribution function H there exist a hidden cdf function called copula C such that H ( x , y ) = C ( F X ( x ) , F Y ( y ) ) . For more proprieties on copula one can consult [<xref ref-type="bibr" rid="scirp.88922-ref18">18</xref>] and [<xref ref-type="bibr" rid="scirp.88922-ref19">19</xref>].</p><p>The first copula considered is the Gaussian copula which pertains to the implicit copulas. Copula associated with elliptical distribution and represent a symmetrical dependency. In addition, they become important whether we are analyzing the right or left tail of the distribution function.</p><sec id="s3_1"><title>3.1. Gaussian Copula</title><p>If we denote by ρ be the linear correlation coefficient between two random variables X and Y, the Gaussian copula with parameter ρ is expressed:</p><p>C ρ ( u , v ) = Φ ρ ( Φ − 1 ( u ) , Φ − 1 ( v ) ) = ∫ − ∞ Φ − 1 ( u ) ∫ − ∞ Φ − 1 ( v ) 1 2 π 1 − ρ 2 exp ( 2 ρ s t − s 2 − t 2 2 ( 1 − ρ 2 ) ) d s d t</p><p>where Φ ρ is the two-dimensional standard Normal distribution function with correlation coefficient equal to ρ , and Φ is the standard Normal one-di- mensional distribution.</p></sec><sec id="s3_2"><title>3.2. Sarmanov Copula</title><p>The second copula family considered is the Sarmanov copula. The range of the subfamilies is infinite due to its way of constructing a copula. One can find a special sub-copula associated to each marginal distribution function. Let ( X , Y ) be a bivariate random vector with marginal probability distribution functions (pdfs) f X and f Y . Also, let ψ 1 and ψ 2 two bounded non-constant function such that:</p><p>∫ ∞ + ∞ f X ( t ) ψ 1 ( t ) d t = 0 , ∫ ∞ + ∞ f Y ( t ) ψ 2 ( t ) d t = 0</p><p>The joint bivariate pdf introduced by [<xref ref-type="bibr" rid="scirp.88922-ref20">20</xref>] is defined as:</p><p>h ( x , y ) = f X ( x ) f Y ( y ) ( 1 + η ψ 1 ( x ) ψ 2 (y))</p><p>and the associated copula distribution function is:</p><p>C ( u , v ) = u v + η ∫ 0 u ∫ 0 v ψ 1 ( F X − 1 ( t ) ) ψ 2 ( F Y − 1 ( s ) ) d t d s (6)</p><p>The density is:</p><p>c ( u , v ) = 1 + η ψ 1 ( F X − 1 ( u ) ) ψ 2 ( F Y − 1 ( v ) ) (7)</p><p>where F X and F Y are the cumulative distribution functions (cdf’s) of X and Y, respectively. Parameter η is a real number that satisfies the condition for all x and y. 1 + η ψ 1 ( x ) ψ 2 ( y ) ≥ 0 for all x and y.</p><p>Note that when = 0, X and Y are independent. This parameter is related to the correlation between X and Y (if it exists), [<xref ref-type="bibr" rid="scirp.88922-ref21">21</xref>] as:</p><p>C o r r ( X , Y ) = η v 1 v 2 σ 1 σ 2 (8)</p><p>where ψ 1 ( x ) = x − μ X and ψ 2 ( x ) = x − μ X and μ X = E ( X ) and</p><p>μ Y = E ( Y ) (9)</p><p>To give a range of the parameter η, we use the result giving by [<xref ref-type="bibr" rid="scirp.88922-ref13">13</xref>] when the support of f X and f Y is not only belong in [ 0 , 1 ] i.e. if the support of f X is contained in [ a , b ] and that of f Y is contained in [ c , d ] where a, b, c and d are finite real numbers, then:</p><p>max ( − ( b − a ) ( d − c ) ( μ X − a ) ( μ Y − b ) , − ( b − a ) ( d − c ) ( b − μ X ) ( d − μ Y ) ) ≤ ( b − a ) ( d − c ) η ≤ min ( ( b − a ) ( d − c ) ( μ X − a ) ( d − μ Y ) , ( b − a ) ( d − c ) ( b − μ X ) ( μ Y − c ) ) (10)</p></sec><sec id="s3_3"><title>3.3. Frank Copula</title><p>The ultimate copula is the Frank copula. This copula belongs to the so-called Archimedean copula, a family of dependence function used for here nice analytical proprieties [<xref ref-type="bibr" rid="scirp.88922-ref5">5</xref>]. The main characteristic of Frank copula is that it does not present dependence in the extremes, but in the center. The parameter of dependence can take a large range, θ ∈ ( − ∞ , 0 ] ∪ [ 0 , + ∞ ) , and then one can handle the negative dependence.</p><p>The Frank copula is defined as:</p><p>C θ ( u , v ) = − 1 θ ln ( 1 − ( 1 − e − θ u ) ( 1 − e − θ v ) 1 − e − θ ) .</p></sec></sec><sec id="s4"><title>4. Simulate the Wind Density Power Energy from a Copula</title><p>In this section, we describe a procedure to simulate the statistical behavior of the wind power density using a Monte Carlo method [<xref ref-type="bibr" rid="scirp.88922-ref22">22</xref>]. From (1) and dividing by the surface area we have:</p><p>P w = 1 / 2 ρ ( T , P ) V 3 (11)</p><p>This term can represent the kinetic energy per unit area related to the wind. Now employing the ideal gas law, one expressed the air density [<xref ref-type="bibr" rid="scirp.88922-ref1">1</xref>] a</p><p>ρ ( T , p ) = 1.225 [ 288.15 T ] [ P 1013.3 ] (12)</p><p>The wind power density (11) can be calculated in two way. The first way is considering the air density ρ ( T , p ) constant. In this case the mean power produced until an observation z is:</p><p>A P w ( z ) = ρ ( T , p ) 2 ∫ 0 z f ( v ) v 3 d v (13)</p><p>where f is the (pdf) of the wind speed. When the value z → ∞ we have the average of the power energy. The second case if the air density ρ ( T , P ) , is not constant. For n registration of the data ρ ( T , p ) = ( ρ ( T 1 , P 1 ) , ρ ( T 2 , P 2 ) , … , ρ ( T n , P n ) ) , the mean wind power energy can be calculated until the observation z<sub>k</sub>.</p><p>M P w ( z k ) = 1 2 ∑ i = 1 n ρ ( T k , P k ) z k 3 (14)</p><p>Now to simulate the wind power energy density we start by simulating the wind speed variable coupled with the temperature and the pressure.</p><p>The same procedure describes in [<xref ref-type="bibr" rid="scirp.88922-ref19">19</xref>] to generate a pair of copula is used. To generate a two-dimensional random variable we do serve the conditional distribution of the random vector ( U , V ) :</p><p>P ( V ≤ U | U = u ) = C u (v)</p><p>where C u ( v ) = lim Δ u → 0 + C ( u + Δ u , v ) − C ( u , v ) Δ u = ∂ C ( u , v ) ∂ u .</p><p>The following algorithm simulate the wind density power energy:</p><p>1) Start by fixing a copula C, of wind speed and temperature.</p><p>2) Generate two independent random variables u<sub>1</sub> and z from a Uniform distribution U ( 0 , 1 )</p><p>3) Set u 2 = C u 1 [ − 1 ] ( z ) , where C u 1 [ − 1 ] denotes aquasi-inverse of C u 1 . The quasi-inverse is:</p><p>C u 1 [ − 1 ] ( z ) = { inf { x | C u 1 ≤ z }       if   z = 0 C u 1 − 1                                       if   z ∈ ( 0 , 1 ) inf { x | C u 1 ≤ t }         if   z = 1</p><p>4) The desired first pair is ( u 1 , u 2 ) where u<sub>2</sub> is a uniform variable related to the temperature variable.</p><p>5) Fixing the random variable u<sub>1</sub>, and considering now the copula of wind speed and pressure, we repeated the procedure to give a pair ( u 1 , u 3 ) , where u<sub>3</sub> is a uniform variable related to pressure variable.</p><p>6) Taking the inverse F − 1 ( u i ) , i = 1 , 2 , 3 , of the marginal distribution function used in (3), (for the inverse method one can consult [<xref ref-type="bibr" rid="scirp.88922-ref22">22</xref>] ), the pairs variable (Wind speed, temperature, pressure) coupled and conserving the same structure of the dependence in sample data.</p><p>7) Replacing this terms in (11).</p></sec><sec id="s5"><title>5. Data and Result</title><p>The data represent the registration of wind speed, temperature, and pressure collected in the region Hrarza, situated in the north Morocco kingdom. Near on the straits of Gibraltar and surrounded by two seas, the Mediterranean and the Atlantic, this region suffers a gusty wind. The annual mean wind speed exceeds 6 m/s. For comparison with another region of the kingdom, we can consult [<xref ref-type="bibr" rid="scirp.88922-ref23">23</xref>] in the north of Morrocan. The Hrarza station covers the registration at the beginning of 2000. We use only the last years of the registration covering 365-day maximal wind speed and their correspondent temperature and pressure.</p><p>The first lecture of the graphical behavior of this variable <xref ref-type="fig" rid="fig1">Figure 1</xref> is that the temperature variables are more predictable than the wind speed and the pressure. Probably due to the seasonal comportment. In <xref ref-type="table" rid="table1">Table 1</xref> we give the descriptive statistics of the data. A simple reading for wind speed variable indicates that the distribution can be right skewness. The Jarque-Bera test of normality indicates that either variable is distributed Normally.</p><p>As we noted in Section 2 the marginal adjustment is resumed in <xref ref-type="fig" rid="fig2">Figure 2</xref> and <xref ref-type="fig" rid="fig3">Figure 3</xref>. For the temperature and the pressure variables we have used the nonparametric estimation and for the wind speed, we have added the Weibull adjustment. We note that the nonparametric estimation of the distribution gives a well fit for the three variables. To visualize the relationship between the pair (Wind speed, Temperature), (Wind speed, Pressure) we make use the regression</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Descriptive statistics</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >Average</th><th align="center" valign="middle" >Std.Dev.</th><th align="center" valign="middle" >Kurtosis</th><th align="center" valign="middle" >Skewness</th><th align="center" valign="middle" >Min</th><th align="center" valign="middle" >Max</th><th align="center" valign="middle" >JB Test</th></tr></thead><tr><td align="center" valign="middle" >Wind Speed</td><td align="center" valign="middle" >6.263</td><td align="center" valign="middle" >2.233</td><td align="center" valign="middle" >1.463</td><td align="center" valign="middle" >1.117</td><td align="center" valign="middle" >2.730</td><td align="center" valign="middle" >14.870</td><td align="center" valign="middle" >2.200 &#215; 10<sup>−</sup><sup>16</sup></td></tr><tr><td align="center" valign="middle" >Temperature</td><td align="center" valign="middle" >25.236</td><td align="center" valign="middle" >7.258</td><td align="center" valign="middle" >−1.255</td><td align="center" valign="middle" >0.100</td><td align="center" valign="middle" >12.870</td><td align="center" valign="middle" >40.410</td><td align="center" valign="middle" >5.522 &#215; 10<sup>−</sup><sup>16</sup></td></tr><tr><td align="center" valign="middle" >Pressure</td><td align="center" valign="middle" >99.291</td><td align="center" valign="middle" >0.504</td><td align="center" valign="middle" >3.160</td><td align="center" valign="middle" >−0.227</td><td align="center" valign="middle" >96.468</td><td align="center" valign="middle" >100.578</td><td align="center" valign="middle" >2.200 &#215; 10<sup>−</sup><sup>16</sup></td></tr></tbody></table></table-wrap><p>and a scatter plot, <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref> which indicate a negative correlation if one considers a linear regression. On the other hand, the Kplot, [<xref ref-type="bibr" rid="scirp.88922-ref24">24</xref>] a useful</p><p>tool to identify the dependency structure between two variables confirm this relation, i.e. the point plotted is under the diagonal line wish indicate a negative dependency.</p><p>To visualize the intensity of the dependence in the tail and in the center the nonparametric estimation of copula density, <xref ref-type="fig" rid="fig6">Figure 6</xref> &amp; <xref ref-type="fig" rid="fig7">Figure 7</xref> is also considered. For an independent and identical variables ( U i , V i ) , i = 1 , 2 , ⋯ , n the nonparametric estimation of copula density can be expressed:</p><p>c ^ ( u , v ) = 1 n ∑ i = 1 n k ( U i − u h * ) k ( V i − v h * ) , (15)</p><p>where k is the kernel pdf function and h * is one of the smoothed parameters for copula estimation [<xref ref-type="bibr" rid="scirp.88922-ref25">25</xref>].</p><p>The package kdecopula [<xref ref-type="bibr" rid="scirp.88922-ref26">26</xref>] is used for R available language and environment for statistical computing and graphics. We observe that the associated copula for both, (Wind speed, Temperature) and (Wind speed, Pressure) doesn’t have extremes dependance in the tail, but a large dependence in the center and tend to have symmetry form. The elliptical or an Archimedean copula can be a good fit for this type of dependence. In the <xref ref-type="table" rid="table2">Table 2</xref> we summarize the estimate parameters for a proposed copula accompanied with the CIC criteria value to select the adequate statistics model. The method used in estimating the parameters of the copula is the inference from marginal, (IFM) introduced by [<xref ref-type="bibr" rid="scirp.88922-ref18">18</xref>]. This method consists firstly to estimate the distribution function of the marginal (CDF), and calculating the pair ( F ^ X ( X i ) , F ^ X ( Y i ) ) = ( u ^ i , v ^ i ) , i = 1 , 2 , ⋯ , n using (5). The second stage is to minimize the log-likelihood function for a copula, that is L V C ( θ ) = ∑ i = 1 n C θ ( u ^ i , v ^ i ) .</p><p>The (IFM) method has an advantage that they avoid the excess time optimization. Using a global estimation of the log-likelihood function considering both the marginals and a copula doesn’t guarantee the existence of the minimum, [<xref ref-type="bibr" rid="scirp.88922-ref27">27</xref>].</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Results of the fit of the copulas with nonparametric and semiparametric marginals</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Copula</th><th align="center" valign="middle" >Marginals (Wind vs Temp)</th><th align="center" valign="middle" >Estimate Dependence Parameter</th><th align="center" valign="middle" >CIC</th></tr></thead><tr><td align="center" valign="middle" >Gauss</td><td align="center" valign="middle" >Emp/Emp CKE/CKE Weibull/Emp Weibull/CKE</td><td align="center" valign="middle" >−0.400 −0.438 −0.4258 −0.4479</td><td align="center" valign="middle" >32.251 33.884 34.427 35.621</td></tr><tr><td align="center" valign="middle" >Frank</td><td align="center" valign="middle" >Emp/Emp CKE/CKE Weibull/Emp Weibull/CKE</td><td align="center" valign="middle" >−2.531 −2.597 −2.689 −2.711</td><td align="center" valign="middle" >30.645 30.691 30.410 30.188</td></tr><tr><td align="center" valign="middle" >Sarmanov</td><td align="center" valign="middle" >Emp/Emp CKE/CKE Weibull/Emp Weibull/CKE</td><td align="center" valign="middle" >−0.007 −0.007 −0.007 −0.007</td><td align="center" valign="middle" >15.380 17.588 15.268 16.411</td></tr><tr><td align="center" valign="middle" >Copula</td><td align="center" valign="middle" >Marginals (Wind vs Press)</td><td align="center" valign="middle" >Estimate Dependence Parameter</td><td align="center" valign="middle" >CIC</td></tr><tr><td align="center" valign="middle" >Gauss</td><td align="center" valign="middle" >Emp/Emp CKE/CKE Weibull/Emp Weibull/CKE</td><td align="center" valign="middle" >−0.178 −0.193 −0.207 −0.212</td><td align="center" valign="middle" >7.565 8.228 8.180 8.433</td></tr><tr><td align="center" valign="middle" >Frank</td><td align="center" valign="middle" >Emp/Emp CKE/CKE Weibull/Emp Weibull/CKE</td><td align="center" valign="middle" >−0.780 −0.818 −0.920 −0.939</td><td align="center" valign="middle" >4.043 4.155 4.600 4.652</td></tr><tr><td align="center" valign="middle" >Sarmanov</td><td align="center" valign="middle" >Emp/Emp CKE/CKE Weibull/Emp Weibull/CKE</td><td align="center" valign="middle" >−0.090 −0.090 −0.090 −0.090</td><td align="center" valign="middle" >7.957 7.823 7.647 6.713</td></tr></tbody></table></table-wrap><p>The CIC criteria give the best selection of copula among another copula. Like the Akaike information criterion [<xref ref-type="bibr" rid="scirp.88922-ref28">28</xref>] , the CIC tools was introduced by [<xref ref-type="bibr" rid="scirp.88922-ref29">29</xref>] and it is designed when the dependence relation is considered. Analyzing the result of the <xref ref-type="table" rid="table2">Table 2</xref> we can say that the Sarmanov copula gives the best fit for the dependency between wind speed and temperature and more specify using a Weibull distribution for wind speed and the empirical (CDF) for a temperature as marginals distribution function. In another hand, Frank copula give the best fit for the wind speed and Pressure and one can only use the empirical estimation for the marginals to give the best model.</p><p>A simulation of daily energy is illustrated in <xref ref-type="fig" rid="fig8">Figure 8</xref>(a) using the procedure describes above in Section 4. We can generate then the best model that reflect the dependence structure of the variables coupling with their estimated marginal probability function. With the red lines, we have the wind density power (11) simulated when the air density is constant and with black lines if the air density is no constant. We note that there exists a notable difference between the two cases, and generally, the power energy is higher if the air density not constant. Finally, we plot, <xref ref-type="fig" rid="fig8">Figure 8</xref>(b), the mean of the wind density power energy simulated both in the case (13) and (14). The variation of mean in the case of the density is not constant is hight, stabilized at the total mean 252.181. Using the Weibull pdf function the mean of the density power energy is equal 214.8 less.</p></sec><sec id="s6"><title>6. Conclusion</title><p>In this work, we have analyzed the statistical behavior of the wind energy in</p><p>north Morocco, from the point the view of the copula. Our objective is to give a most accurate simulation method for a density power energy in the eolian park. Fitting the marginal probability component of the wind density variable, we have noted that the nonparametric approach can give the best fit. To capture the negative dependence between the variables we have used two type of copula. The Archimedean and the elliptical copula. We have incorporated Sarmanov copula wish has never been used in this type of data and giving a suitable model. The procedure introduced to simulate the wind density power energy can generalize to the other field related to renewable energies since the density of the air is always present.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare that there is no conflict of interest regarding the publication of this paper and there has been no significant financial support for this work that could have influenced its outcome.</p></sec><sec id="s8"><title>Cite this paper</title><p>Bahraoui, Z., Bahraoui, F. and Bahraoui, M.A. (2018) Modeling Wind Energy Using Copula. Open Access Library Journal, 5: e4984. https://doi.org/10.4236/oalib.1104984</p></sec></body><back><ref-list><title>References</title><ref id="scirp.88922-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Burton, T., Jenkins, N., Sharpe, D. and Bossanyi, E. (2001) Wind Energy Handbook. John Wiley and Sons, Inc., Chichester. https://doi.org/10.1002/0470846062</mixed-citation></ref><ref id="scirp.88922-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Manwell, J., McGowan, J. and Rogers, A.L. (2010) Wind Energy Explained: Theory, Design. John Wiley and Sons.</mixed-citation></ref><ref id="scirp.88922-ref3"><label>3</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Sklar</surname><given-names> A. </given-names></name>,<etal>et al</etal>. (<year>1959</year>)<article-title>Fonctions de répartition a′n dimensions et leurs marges</article-title><source> Publications de Institut de Statistique de l’université de Paris</source><volume> 8</volume>,<fpage> 229</fpage>-<lpage>231</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.88922-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Genest, C. and MacKay, J. (1986) The Joy of Copulas: Bivariate Distributions with Uniform Marginals. The American Statistician, 40, 280-283.</mixed-citation></ref><ref id="scirp.88922-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Genest, C. (1987) Frank’s Family of Bivariate Distributions. Biometrika, 74, 549-555. https://doi.org/10.1093/biomet/74.3.549</mixed-citation></ref><ref id="scirp.88922-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">McNeil, A.J., Frey, R. and Embrechts, P. (2005) Quantitative Risk Management: Concepts, Techniques, and Tools. Princeton University Press, Princeton.</mixed-citation></ref><ref id="scirp.88922-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Genest, C. and Favre, A.C. (2007) Everything You Always Wanted to Know about Copula Modeling but Were Afraid to Ask. Journal of Hydrologic Engineering, 12, 347-368. https://doi.org/10.1061/(ASCE)1084-0699(2007)12:4(347)</mixed-citation></ref><ref id="scirp.88922-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Coles, S. and Walshaw, D. (1994) Directional Modeling of Extreme Wind Speeds. Applied Statistics, 43, 139-157. https://doi.org/10.2307/2986118</mixed-citation></ref><ref id="scirp.88922-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Soukissiana, T.H. and Karathanasia, F.E. (2017) On the Selection of Bivariate Parametric Models for Wind Data. Applied Energy, 188, 229-236. https://doi.org/10.1016/j.apenergy.2016.11.097</mixed-citation></ref><ref id="scirp.88922-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Cao, J. and Yan, Z. (2017) Probabilistic Optimal Power Flow Considering Dependences of, Wind Speed among Wind Farms by the Pair-Copula Method. International of Electrical Power and Energy Systems, 84, 296-307. https://doi.org/10.1016/j.ijepes.2016.06.008</mixed-citation></ref><ref id="scirp.88922-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">D’Amicoa, G., Petronib, F. and Pratticoc, F. (2015) Wind Speed Prediction for Wind Farm Applications by Extreme Value Theory and Copulas. Journal of Wind Engineering and Industrial Aerodynamics, 145, 229-236. https://doi.org/10.1016/j.jweia.2015.06.018</mixed-citation></ref><ref id="scirp.88922-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Pircalabu, A., Hvolbya, T., Jung, J. and Hog, H. (2017) Joint Price and Volumetric Risk in Wind Power Trading: A Copula Approach. Energy Economics, 62, 139-154. https://doi.org/10.1016/j.eneco.2016.11.023</mixed-citation></ref><ref id="scirp.88922-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Bolancé, C., Bahraoui, Z. and Artis, M. (2014) Quantifying the Risk Using Copulate with Nonparametric Marginals. Insurance: Mathematics and Economics, 58, 46-56. https://doi.org/10.1016/j.insmatheco.2014.06.008</mixed-citation></ref><ref id="scirp.88922-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Silverman, B.W. (1986) Density Estimation for Statistics and Data Analysis. Chapman and Hall, CRC Finance Series, London. https://doi.org/10.1007/978-1-4899-3324-9</mixed-citation></ref><ref id="scirp.88922-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Wand, M.P. and Jones, M.C. (1995) Kernel Smoothing. Chapman and Hall, London. https://doi.org/10.1007/978-1-4899-4493-1</mixed-citation></ref><ref id="scirp.88922-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Pobockova, I. and Sedliackova, Z. (2014) Comparison of Four Methods for Estimating the Weibull Distribution Parameters. Applied Mathematical Sciences, 8, 4137-4149. https://doi.org/10.12988/ams.2014.45389</mixed-citation></ref><ref id="scirp.88922-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Cohen, A.C. (1965) Maximum Likelihood Estimation in the Weibull Distribution Based on Complete and on Censored Samples. Technometrics, 7, 579-588. https://doi.org/10.1080/00401706.1965.10490300</mixed-citation></ref><ref id="scirp.88922-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Joe, H. (1997) Multivariate Models and Dependence Concept. Chapman and Hall, London. https://doi.org/10.1201/b13150</mixed-citation></ref><ref id="scirp.88922-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Nelsen, R.B. (2006) An Introduction to Copulas. 2nd Edition, Springer, Portland.</mixed-citation></ref><ref id="scirp.88922-ref20"><label>20</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Sarmanov</surname><given-names> O.V. </given-names></name>,<etal>et al</etal>. (<year>1966</year>)<article-title>Generalized Normal Correlation and Two-Dimensional Fréchet. Soviet Mathematics</article-title><source> Doklady</source><volume> 25</volume>,<fpage> 1207</fpage>-<lpage>1222</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.88922-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Lee, M.L. (1996) Properties and Applications of the Sarmanov Family of Bivariate Distributions. Communications in Statistics-Theory and Methods, 25, 1207-1222. https://doi.org/10.1080/03610929608831759</mixed-citation></ref><ref id="scirp.88922-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Devroye, L. (1986) Non-Uniform Random Variate Generation. Springer, New York. https://doi.org/10.1007/978-1-4613-8643-8</mixed-citation></ref><ref id="scirp.88922-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Nfaoui, H., Buret, J.J. and Sayigh, A.A.M. (1998) Wind Characteristics and Wind Energy Potential in Morocco. Solar Energy, 63, 51-60.</mixed-citation></ref><ref id="scirp.88922-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Genest, C. and Boies, J.C. (2003) Detecting Dependence with Kendall Plots. Journal of the American Statistical Association, 57, 275-284. https://doi.org/10.1198/0003130032431</mixed-citation></ref><ref id="scirp.88922-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Nagler, T. (2014) Kernel Methods for Vine Copula Estimation. Universi at Munchen, München.</mixed-citation></ref><ref id="scirp.88922-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Nagler, T. (2017) Kdecopula: An R Package for the Kernel Estimation of Bivariate Copula Densities. https://CRAN.R-project.org/package=kdecopula</mixed-citation></ref><ref id="scirp.88922-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Cherubini, U., Luciano, E. and Vecchiato, W. (2004) Copula Methods in Finance. Wiley, Chichester. https://doi.org/10.1002/9781118673331</mixed-citation></ref><ref id="scirp.88922-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Akaike, H. (1973) Information Theory and an Extension of the Maximum Likelihood Principle. 2nd International Symposium on Information Theory, Tsahkadsor, 2-8 September 1971, 267-281.</mixed-citation></ref><ref id="scirp.88922-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Gr?nnrberg, S. and Hjort, N.L. (2014) The Copula Information Criteria. Scandinavian Journal of Statistics, 41, 436-459. https://doi.org/10.1111/sjos.12042 </mixed-citation></ref></ref-list></back></article>