Stochastic simulation model of hourly total solar radiation

  • Published on

  • View

  • Download

Embed Size (px)


<ul><li><p>Solar Energy Vol. 37, No. 2, pp. 119-126, 1986 0038-092X/86 $3.00 + .00 Printed in the U.S.A. 1986 Pergamon Journals Ltd. </p><p>STOCHASTIC SIMULATION MODEL OF HOURLY TOTAL SOLAR RADIATION </p><p>A. BALOUKTSIS and PH. TSALIDES Department of Electrical Engineering, School of Engineering, Democritus University of Thrace, </p><p>67100 Xanthi, Greece </p><p>(Received 17 April 1985; revision received 24 February 1986) </p><p>Abstract--A stochastic simulation model of hourly global solar radiation is presented in this paper. It is developed by introducing the concept of "time dependent frequency distribution" (TDFD) of hourly insolation values. In this model the two most critical aspects of time series simulation, i.e., the reproduced time series values which have the appropriate time dependent frequency distribution for the parameter being simulated and the correlation between successive values, are taken into ac- count. The elimination of the TDFD of the data and the transformation of the data distribution to a Gaussian distribution (required for the stationary time series analysis) were carried out using a mapping technique. The autocorrelation function of the transformed data showed that the produced time series is stationary. Then, an antimapping coefficient matrix is developed, which provides a simple yet an effective simulation device. The described model has been applied in Athens (Greece) where hourly insolation data covering a period of two years are used. The theoretical results obtained using this simulation model, regarding both the TDFD and the correlation, are in agreement with the measured data. </p><p>1. I N T R O D U C T I O N </p><p>In the design of Photovoltaics (PV) systems it is desirable to simulate their performance on an hour to hour basis. Therefore, there is a need for an ap- propriate stochastic simulation model of hourly global solar radiation in order to generate realistic operating conditions. </p><p>Previous studies carried out by Baker et al.[1] and by Bennett[2] on weekly and daily solar radia- tion models have shown that the distribution is neg- atively skewed and occasionally bimodal. It has also been shown by Engels et al.[3] that the prob- ability distribution of hourly irradiation also pos- sesses these characteristics. Therefore, because of the non-Gaussian nature of the distributions, the works of Brinkworth[4] and Sfeir[5] are not the most appropriate in the design of solar conversion systems. Moreover, the seasonal variation of ir- radiation (TDFD) and the correlation between suc- cessive hourly irradiation values are very important in the optimum design of PV systems. The Markov transition matrix developed by Mustacchi et al.[6] does not take into account this seasonal variation. Also, the mathematical model developed by Exell[7] does not take into account the correlation, and therefore, both the models may not be the most suitable in the optimum design of PV systems. </p><p>To incorporate the seasonal variation of solar irradiation as well as the correlation between suc- cessive hourly irradiation values in the optimum de- sign of PV systems, a stochastic simulation model of hourly global solar radiation is developed in this paper. In this model the two most critical aspects of time series simulation, (a) the reproduced time series values which have the appropriate TDFD for </p><p>the parameter being simulated and (b) the corre- lation between successive hourly values, are taken into account. </p><p>2. D E S C R I P T I O N OF T H E MODEL </p><p>2.1 Annual and daily periodicity removal It is well known that hourly data represent a pe- </p><p>riodicity during the day as well as a periodicity throughout the year for each hour of the day. The Fourier coefficientss of the annual periodicity cor- responding to hth hour are given[8] by minimising the quantity </p><p>365 </p><p>2 d = l </p><p>[Ia h - {ao h + a h cos(2~r(d - 1)/365) </p><p>+ b{' sin(2~r(d - 1)/365)}] 2 (1) </p><p>where a h, al h, bl h are the Fourier coefficients cor- responding to hth hour of the day, and they are given by </p><p>365 </p><p>a0 h = 2/365 ~ Ia h, d = l </p><p>365 </p><p>a h = 2/365 ~ I h cos(2"rr(d- 1)/365), d = l </p><p>365 </p><p>bl h = 2/365 ~ I h sin(2~r(d - 1)/365). d = l </p><p>(2) </p><p>Ia h is the measured hourly global solar radiation dur- ing the hth hour of day d of the year (in kJ/m2), and h = 1, 2, . . . , k (1 corresponding to sunrise hour </p><p>119 </p></li><li><p>120 A. BALOUKTSIS </p><p>and k corresponding to sunset hour. k is taken to be equal to the max. number of hours of a day from sunrise to sunset, assumed to be constant through- out the year). </p><p>Once the above Fourier coefficients have been calculated, both the periodicities are then removed by simply subtracting the quantity (Ia h) from luh, i.e., </p><p>Ha h = I,~ - (Ia h) (3) </p><p>where (Iuh) is given by </p><p>(I~) = ah/2 + a h cos(Z~r(d - 1)/365) </p><p>+ b~ h sin(2~r(d - 1)/365). (4) </p><p>2.2 The m a p p i n g a n d a n t i m a p p i n g t echn ique The time series of the transformed data Hu h , after </p><p>the removal of the two periodicities, is not yet sta- tionary, because the time dependence of the fre- quency distribution of solar radiation still exists. Therefore, there is a need for an appropriate trans- formation which leads to a Gaussian distribution (constant throughout the year) required for the sta- t ionary time series analysis. This transformation was carried out assuming that the frequency dis- tribution of solar radiation is almost constant for the period of one month (the variation being very small, as it has also been verified in the example), and thus it was considered that twelve monthly fre- quency distributions describe very satisfactorily the above mentioned TDFD. In the process of the transformation a mapping technique has been used, as follows: The range of values of the transformed data HUh for the ith month was divided into l inter- vals and then the cumulative frequency distribu- tion, CFD(x~,), was obtained, where x~ corresponds to the midpoint of the nth interval of the ith month. Subsequently, the discrete values y~, of a new sta- tistical variable uuh were determined[9]: </p><p>Fv(y I - q (Y~,) q) = CFD(xl,) (5) </p><p>where i = 1, 2 . . . . . 12 and </p><p>F v ( y ~ ) - F v ( - q ) = CFD(x~,) (6) F v ( q ) - F u ( - q) </p><p>where Ftz(y~) is the standard normal distribution (with zero mean and unit variance). From eqn (6), it follows that </p><p>F v ( y ~ ) = F u ( - q ) + CFD(x~) </p><p>x [ F v ( q ) - F u ( - q ) ] </p><p>1 - F u ( y i ) = 1 - F v ( - q ) - CFD(x~,) (7) </p><p>x [ F v ( q ) - F v ( - q ) ] </p><p>1 - F u ( y ~ ) = F v ( q ) - CFD(x~,) </p><p> [ 2 F v ( q ) - l]. </p><p>and PH. TSALIDES </p><p>The discrete points y~, are given[10] by: </p><p>go + g~t + g2t 2 . = - + e t p ) , (8) VI, l 1 + g3 t + g4/2 + gs t 3 </p><p>where e (p ) is the approximation error, less than 4.5 x 10-4; t = [ln(I/p2)]v2; and </p><p>go = 2.515517 g3 = 1.432788 </p><p>gj = 0.802853 g4 = 0.189269 </p><p>g2 = 0.010328 g5 = 0.001308. </p><p>Ifp~ = F u ( q ) - CFD(xl,) [2Fu(q) - 1], then </p><p>P = Pn, if Pn ~&lt; 0.5, and </p><p>p = 1 - p~, y~, = -y~,, ifP~ &gt; 0.5. </p><p>The points y~ thus obtained have a one-to-one correspondence with i xn. The pairs (x~, y~,) were ap- proximated by a polynomial MAX-MIN method[ l l ] . The transition from Ha h to u h is achieved with the mapping polynomial, and that from uuh to HUh with the antimapping polynomial, re- spectively. </p><p>The limits - q, q in eqn (5) were selected in order to achieve the greatest accurancy in the polynomial approximation of the discrete points of the mapping and antimapping technique. </p><p>After that, the mapping and antimapping coef- ficient matrices (12, j) were developed (where j is the coefficient number of the polynomials), to pro- vide the transition from h h Ha to Ud and vice versa. </p><p>The new variable u h follows a Gaussian distri- bution (constant throughout the year) and its au- tocorrelation function, ac f (uh ) , is shown in Fig. 1. Therefore, the stochastic process of the variable u h is a weakly stationary Gaussian random process and, hence, the method (see Section 2.3) of cal- culating its spectra as well as the method (see Sec- tion 2.4) of simulation described below can be used. </p><p>2.3 Calcu la t ion o f spec t ra The spectra was calculated from the transformed </p><p>data u h using the truncated autocovariance function method[12] with the Tukey-Hanning window and an appropriate truncation point M (M has been taken to be equal to 50 in the example described in Section 3). The spectra was determined from the autocorrelation coefficients rather than by direct Fourier analysis of uuh. These spectra estimates were smoothed by a Direct Search least-squares method[13]. The calculated spectra, S(to), (of the example) and the corresponding least-squares fit- ting curve are shown in Fig. 2. </p><p>2.4 S i m u l a t i o n A comprehensive method of simulating a sta- </p><p>t ionary random process, such as uuh, with a spectral density function S(co) specified in the region I co I &lt; </p></li><li><p>Stochastic simulation model of hourly total solar radiation 121 </p><p>(J t~ olll, I l l l l l l l l l l , , , ] l J l , , . . . . . . . . . . . . . . . . . . </p><p>25 </p><p>Lag(hourO </p><p>50 </p><p>Fig. I. Autocorrelation function of the normally distributed variable u~L </p><p>2.5 </p><p>d </p><p>i 0 </p><p>+ calculated estimates o fitting curve </p><p>o + </p><p>+o o </p><p>~ " 9 0 9 r O e O , e e e e 6 ~ ~ 6 ~ ~ 8 n/2 n </p><p>t~(rad) </p><p>Fig. 2. Spectra of u~ ( + ) and the corresponding least-squares fitting curve (O). </p><p>~r, is described by Shinozuka[14]. Defining Ato = ~r/N, the random process can be simulated by a se- ries of cosine waves at almost evenly spaced fre- quencies and with amplitudes weighted according to the spectral energy at the wave frequency, as follows: </p><p>N </p><p>u h = (2) 1/2 ~ [2S(toi)Ato] 1/2 cos(to~t + qoi) (10) i = l </p><p>where </p><p>toi = [i - (1/2)]Ato ~oi: independent random phase angles uniformly </p><p>distributed between 0 and 2~r to" = toi + ~to </p><p>and Bto is a small random frequency introduced to avoid the periodicity of the simulated process, uni- formly distributed between -Ato ' /2 and Aa~'/2, with Ato' &lt; A~. </p><p>The simulated process is Gaussian by virtue of the central limit theorem. In the present work, N has been taken to be equal to 20 and Ato' equal to Ato/20. </p><p>Once u h has been simulated, the quantity H h is then calculated using the antimapping coefficient matrix. Finally, the hourly values of global irradia- tion are obtained by simply adding the quantity (I h) to H h, i.e., </p><p>I h = H h + (I h) (11) </p><p>The process of simulation is shown in the flow- chart of Fig. 3. </p><p>3. EXAMPLE </p><p>The model described in the previous sections has been applied in Athens (Greece), where hourly global insolation data covering the period of two years from 1980 to 1981 are used[15, 16]. </p><p>Figure 4 shows the quantity (lh). It is obvious </p></li><li><p>122 A. BALOUKTSIS and PH. TSALIDES </p><p>h u d </p><p>simulation (Shinozuka's method) </p><p>h u d </p><p>-[ d=1 to 365 [ I </p><p>selection of the month (i=I .... 12) </p><p>-] h=1 to K(i) I I </p><p>random numbers </p><p>generator </p><p>j=ll3 " coefficients cij (i:I , . .12, j:1 .... m) </p><p>Fig. 3. F|ow-chart of the simulation process (k(i): hours/day for each month). </p></li><li><p>Z </p><p>Stochastic simulation model of hourly total solar radiation </p><p>--k.~ </p><p>123 </p><p>Fig. 4. A 2-D plot representing the annual and the daily periodicity of hourly global insolation data. </p><p>3 . 5 </p><p>C='O 0 </p><p>- 3 . 5 - 2 7 2 0 </p><p>/ .! </p><p>// / / / /' </p><p>/ 4" </p><p>#f ~ ~ ~ ~--" I'/ | ! ,J </p><p>0 1 0 4 6 h </p><p>Hd ( k J / m 2 ) </p><p>Fig. 5. Correspondence between H h (after the removal of periodicities) and the normally distributed variable u h in Athens (Greece). </p><p>, A P R I L </p><p>- - - J U L Y </p><p>. . . . . D E C E M B E R </p></li><li><p>124 A. BALOUKTSIS and Prt. TSALIDES </p><p>.35 </p><p>:6 </p><p>14. </p><p>o o </p><p>A A o </p><p>o A </p><p>o, DATA A: SIMULATION </p><p>m 0 0 A A A </p><p>A O o </p><p>A </p><p>0 6 O 0 0 0 0 I J l </p><p>0 1046 - 2 7 2 o </p><p>Fig. 6. Measured (O) and simulated (&amp;) frequency distributions covering a period of one year in Athens (Greece). </p><p>.35 </p><p>J~ </p><p>: E " m </p><p>..s cr o </p><p>U. </p><p>0 - 2 5 1 0 </p><p>0 0 </p><p>A A </p><p>A A 0 </p><p>A o </p><p>, ,s68g 0 </p><p>H : ( k j / m 2 ) </p><p>o: DATA </p><p>A:SIMULATION </p><p>6 </p><p>1046 </p><p>Fig. 7. Measured (O) and simulated (A) frequency distributions for April in Athens (Greece). </p><p>c ._o r.~ </p><p>-= </p><p>J </p><p>.35 o, DATA </p><p>o A, S I M U L A T I O N o </p><p>A </p><p>A A </p><p>O </p><p>O </p><p>A A </p><p>O </p><p>0 a a A 6 # ~ 6 6 6 6 6 6 6 - 2 7 2 0 0 418 </p><p>Hdh( kJ/m 2) </p><p>Fig. 8. Measured (O) and simulated (/x) frequency distributions for July in Athens (Greece). </p></li><li><p>Stochastic simulation model of hourly total solar radiation 125 </p><p> 35 o,DATA </p><p>A , S I M U L A T I O N </p><p>J~ </p><p>f o ~ A O </p><p>o ,~ o L. A A 6 A A ,, AoA 8oO 6 </p><p>A A O O O </p><p>0 t I 6 , </p><p>- 1 1 7 2 0 711 H : ( k J l m 2 ) </p><p>Fig. 9. Measured () and simulated (A) frequency distributions for December in Athens (Greece). </p><p>that this quantity represents a 2-D digital low-pass filter. </p><p>The variable q in eqn (5) has been taken equal to 3.5 throughout the year (greater values must be selected for the summer months and smaller for the winter months), a value which is expected to be the same for any other location with similar distribution forms of solar irradiation. Figure 5 shows plots of the correspondence between u h and Hhe in Athens for three different months, April, July and Decem- ber. </p><p>The following anti-mapping matrix, C(i, j ) , (i = 12, j = 7) provides a simple yet an effective simu- lation device: </p><p>C(i, 31 = </p><p>- 113.45 454.58 -58.544 201.62 305.27 - 100.31 </p><p>-33.059 643.94 - 118.89 149.81 404.33 -204.55 147.43 171.36 - 195.3 </p><p>-29.042 -41.973 -39.211 - 172.03 -29.879 296.95 -46.827 36.365 123.16 </p><p>56.996 220.7 -213.84 230.66 363.02 -273.97 75.074 297.99 -80 .639 </p><p>-65.532 426.25 - 116.84 </p><p>shown in Fig. 6. Figures 7, 8 and 9 show three fre- quency distributions of the sequence HI) covering the period of the months April, July and December, respectively, (which are considered to be the most representative months of the year) and the corre- sponding frequency distributions after the simula- tion. It is obvious that the agreement between the actual data and the theoretical results is very good in all cases. The results for the other months of the year were found to be similar. </p><p>Furthermore, it is obvious from Figs. 7, 8 and 9 that the described model is fully cdmpatible with the concept of the "t ime dependent frequency dis- t r ibution" (TDFD) introduced in this paper. </p><p>-23.183 5.0635 0.6277 -(I.1251 35.528 5.8586 -2.9293 -0.0251 </p><p>-8.1183 9.29 -0 .5859 -0 .1988 52.141 17.115 -3 .8499 -0 .4938 119.56 8.3276 -7 .8672 0.0749 145.54 -24.271 -8 .9134 1.8413 126.42 - 112.57 -6 .8629 6.6955 54.82 - 38.918 -2 .5108 2.1342 69.131 18.747 -4.8961 -(I.544 52.853 33.603 -4 .3102 -1.3391 11.55 4.1429 -0 .8788 0.0083 </p><p>- 13.935 17.785 0.036 -0 .7784 </p><p>The autocorrelation function of the normally dis- tributed variable uha, acf(uha), is shown in Fig. 1, where the stationarity of the time series is apparent. Its power spectra and the corresponding least- squares fitting curve are shown in Fig. 2. </p><p>Hourly global radiation sequences covering a pe- riod of one year have been obtained using the simu- lation model shown in Fig. 3. The actual frequency distribution of the sequence H,~ and that corre- sponding to the same sequence after the simulation (by means of the model described in this paper) are </p><p>4. CONC...</p></li></ul>