Abstract

In this paper, a stochastic simulation model for a standalone PV system sizing is replicated and extended to supply a dairy’s power demand. A detailed hourly-based simulation is conducted considering an hourly load profile and global solar radiation prediction model. The stochastic simulation model is based on a thorough statistical analysis of the solar radiation data and simulates the energy yield, the excess energy curtailed, and the state of charge of the batteries for the sizing month and the whole year, providing the designer autonomy factor values to properly size the PV system, finding the optimum combination of installed peak power and battery storage capacity that meets the application load requirements, considering a preset reliability level at minimum cost. The model makes use of the NASA’S Surface Meteorology and Solar Energy database to obtain solar radiation data. Results show a substantial reduction of 44% in installed peak power and battery storage capacity when compared to conventional methodologies, considering three days of autonomy, and an 85% reduction considering four days. Considering the goodness of fit test results, the Wakeby distribution best represents the behavior of historical solar radiation data for the site in almost half of the months. This article seeks to contribute to the literature gap in the application of methodologies for the multicomponent power supply in the dairy industry through the use of renewable energy.

1. Introduction

Over the last decades, the amount of energy consumed by different types of industries has been growing enormously due to the economic growth of different countries, which in turn is triggered by the increase of world population and consumption patterns [1]. The environmental impact of human activities is contributing to rapid climate change due to emissions, released as a result of fossil fuel combustion [2]. Solar energy is freely available and environmentally friendly, being widely adopted as an alternative for conventional electricity generation.

The sizing of standalone PV systems is an important task for the designers to find the most reliable and profitable combination of peak power and battery storage capacity that properly meets load demand, avoiding an equipment failure occurrence, considering the random behavior of solar radiation [3]. Therefore, the objective is to improve energy efficiency in terms of economic performance and reliability standards to ensure system autonomy.

In this sense, several methods have been proposed and developed in the literature to size standalone PV systems, which differ according to the approach used.

Before PV system sizing, in the design step, it is essential to identify the inherent losses present in the whole system to adequately size the system components. As for PV panels, the input energy may be reduced by shading, reflection due to the angle of incidence, dust, degradation (ageing), temperature effects, etc. Before the converted energy reaches the load demand, power losses due to the efficiency of the power conditioning units (inverters and charge controllers) need to be considered [4]. As for batteries, the charge/discharge process may lead to some power losses due to its internal resistance [5] and others in the battery storage system due to the natural degradation of battery capacity [5]. Since the above thing directly affects PV system performance, the task consists of controlling the system operation to minimize output power losses.

It is also important to take into account the balance between energy yield by the PV array and energy consumed by the load. Any short-term mismatch between them must be counterbalanced usually by rechargeable batteries. It is for this reason that a factor of autonomy days or days of battery backup, , has been proposed in the literature [5] to represent the number of days on which the PV system can meet the load demand in the absence of power generation and Peak Sun Hours (PSH). In other words, represents the maximum number of days that the PV system can supply energy to loads independently.

In this sense, the research carried out by Kaplani and Kaplanis [6] presents a stochastic simulation model to determine the size of autonomous photovoltaic systems in terms of peak power ( and battery storage capacity ( for the critical month, thus ensuring compliance with annual reliability standards. The model, in addition to considering the days of autonomy as an exogenous variable, we consider as main inputs the analysis and simulation of daily-based solar radiation and the load profile, obtaining, as a result, the state of charge of the battery, the excess energy burnt, the energy losses, and the and results for sizing the system.

The main contribution of this article lies in the lack of the literature that focuses exclusively on standalone photovoltaic system sizing methods and their implementation in the dairy industry, using direct primary energy to satisfy the simultaneous demand of multiple components for the milking process [7]. Although research such as [8, 9] addresses the sizing of PV systems in dairies, they only focus on supplying certain specific components of the milking process, unlike this research. On the other hand, this article seeks to extend the original method of [6], incorporating an hourly load profile, and extending the stochastic simulation elaborated in this article to consider an hourly basis for the determination of the capacity indicators. In order to meet these goals, there were three primary objectives of this study:(1)To size a standalone PV system for a dairy in the south of Chile by replicating the method proposed by [6], in conjunction with reliable hourly solar radiation prediction data, performing a detailed hourly-based simulation and deepening, thus, the model proposed by these authors(2)To test the hourly-based proposed model for a different geographical location than the original study to supplement and extend its findings(3)To validate if the results obtained from the hourly-based method reach similar reductions in installed peak power and battery storage capacity as compared to conventional methodologies, as demonstrated by the daily-based method proposed by [6]

The methodology is based on stochastic modeling of the performance of both of the PV array and the battery storage system and provides the energy delivered, the excess energy curtailed, the load profiles, and the state of charge of the batteries for the sizing month and the whole year, as well as data on the success rate for the determination of the autonomy factor d and the sizing of the system. To generate hourly solar radiation data, the model proposed in [10] is employed.

2. Literature Review

2.1. Standalone Photovoltaic Systems

Photovoltaic (PV) power generation systems are currently one of the systems with the fastest growth in the use of direct solar energy, considering the latter a clean, environmentally friendly source of energy, and abundantly available in most locations in the world [11]. These systems are fundamentally designed to transform solar radiation useful energy into electricity, through the use of photovoltaic panels. In addition to the panels, PV systems are composed of a current controller, an inverter to supply direct and alternating current loads, and a storage battery.

Although PV systems generally require a high initial investment, they can offer a cost-effective alternative to certain isolated off-grid locations, in comparison to the installation of power lines with central distribution [11]. In such scenarios, standalone photovoltaic (SAPV) systems become a plausible alternative since they can supply off-grid power generation. Therefore, the reliability of these systems becomes a relevant aspect to address, understanding it as the system capacity to satisfy load demand during a certain evaluation period [12].

The sizing of photovoltaic systems seeks to determine the optimal combination of variables associated with the arrangement of photovoltaic panels, battery storage capacity, and tilt angle, among other parameters related to the components, to obtain the best compromise between power reliability and system cost. Given the vast diversity of approaches, Khatib et al. [11] classify the different sizing methods reviewed in the literature into intuitive methods, numerical methods, analytical methods, computational tools, computational intelligence methods, and hybrid methods. Likewise, the evaluation criteria are classified into technical parameters, considering the loss of load probability, loss of power supply probability, the state of charge (SOC), among others; economic parameters, considering the net present value (NPV) and the annualized cost; and social parameters, such as portfolio risk or even social acceptance.

Regarding the restrictions related to SAPV, the literature review developed by Fouad et al. [13] reveals that the factors with the greatest impact on the performance of photovoltaic systems analyzed are related to the battery efficiency and physical photovoltaic panels structure. Meanwhile, Khatib et al. [11] add physical space budget and energy constraints related with load profile fulfillment in the case of SAPV as essential aspects considered in the reviewed literature.

2.2. PV Systems on Daily Farms

The use of PV systems can offer more than just a cost-efficient alternative versus conventional electricity generation systems. Recently, these types of alternatives also respond effectively to a requirement promoted both by the scientific community and by international organizations for the mitigation of anthropogenic emissions. One of the strategies recommended in research such as [14] is the proposal of primary energy saving measures through the implementation of PV systems for power generation and consumption in dairy farms.

In this sense, research such as developed by Breen et al. ([15], cited in [7]) reveals the potential of photovoltaic systems to substantially reduce carbon dioxide emissions in dairy farms, one of the main current anthropogenic emissions. In the particular case of this industry, a growth of 22% in milk production is expected for the 2018–2027 period [16], and 19% in its consumption by 2050 ([17], cited in [7]). From the energy consumption perspective, it is added the fact that electrical energy represents one of the items with the highest consumption for both conventional and organic dairy farms, representing 14% and 24% of total primary energy consumption, respectively, according to [18]. Considering the above, the incentives for photovoltaic system installation, particularly in the dairy industry, are considerable.

Regarding the review of related research, case studies such as De Blas et al. [8] and Zhang et al. [19] address the implementation and sizing of photovoltaic systems supplying certain components or subsystems within diary productive system, namely, the pumping system and the cooling system, respectively. Breen et al. [7], meanwhile, elaborate a generalizable and scalable optimization model for PV system sizing in dairy farms, using for the definition of the objective function the weighted sum method, considering both a financial criterion and the contribution ratio in terms of autoconsumed energy with respect to gross annual electricity consumption, using a trade-off parameter to search for and analyze Pareto-optimal solutions. Unlike the previously reviewed models, the model implemented in this research considers an autonomous system, which is why the need to ensure reliability and autonomy arises before the consideration of financial evaluation criteria or the contribution from renewable energy.

2.3. Estimation of Global Solar Radiation

Solar radiation measuring results are essential for the design and operation of solar energy technologies, especially for the implementation of solar collectors and the sizing of photovoltaic systems. However, the measurement of this magnitude, despite being accurate, is not always available for modeling and forecasting, mainly due to the high initial investment and maintenance costs for its measurement and recording instruments [20]. For this reason, the alternative that arises within the scientific community is to correlate radiation with other available meteorological parameters, developing a wide variety of models based on this approach.

One of the first empirical models is the one developed by Angstrom [21] for the measurement of monthly average daily global radiation, developing an empirical correlation model considering the effect of the daily average of clear-sky radiation and the sunlight duration fraction. Meanwhile, Page [9] decides to modify the correlation model, replacing the clear-sky radiation with the daily average extraterrestrial radiation on a horizontal surface. Since then, a series of empirical models have been developed that have modified and extended the Angstrom–Page model, including new parameters or different mathematical expressions to establish empirical relationships. See, for example, [22, 23] reviews that demonstrate the great variety of empirical models carried out to date, as well as the location dependence of the parameters.

Another alternative that has emerged in recent decades for estimating and forecasting global radiation is the use of artificial neural networks, where the inputs usually correspond to a great variety of meteorological and geographical parameters, while the output corresponds to the global solar radiation for different time scales [24]. The main advantages of these models for estimating global radiation are their location adaptability, and a perceptible accuracy improvement compared to traditional empirical models. However, the disadvantage of these models is its complexity and the high number of parameters in order to achieve such accuracy, not clearly establishing the effect of this inclusion, in comparison to empirical models [20].

In an attempt to classify for the first time the vast variety of models for global radiation in terms of the time span contemplated and the type of method approached, Zhang et al. [20] develop a literature review classifying them according to the output into monthly average of daily global radiation, daily global radiation, and hourly global radiation method. The authors also consider two main categories regarding the type of estimation: empirical models, which are disaggregated into sunlight duration fraction (SDF) models, modified models (MSDF), nonsunshine duration fraction (NSDF) models, and artificial neural networks (ANNs). The study also presents performance indicators such as the root mean squared error (RMSE) and the mean absolute percentage error (MAPE) to determine the accuracy of each reviewed model based on observed and predicted values. The research concludes that the classical models of fraction of solar duration (SDF), as well as artificial neural networks (ANNs), have the best performance in terms of RMSE and MAPE. Although SDF models have slightly lower performance than ANN models, the latter generally requires a large amount of data for the training phase to improve the performance indicators presented.

Considering this last classification, the model developed by Kaplani and Kaplanis [6] falls into the category of the long-run monthly average daily global radiation. The methodology obtains a representative value of global daily radiation throughout a month, then averaging the values obtained year by year, for each month. The summarized methodology associated with this model, as well as the nomenclature used and replicated in this investigation, is presented in Section 6 and Appendix A, respectively.

The aforementioned sizing method considers a monthly fitting for daily solar radiation using probability distributions. In this regard, specialized distributions such as the Wakeby distribution have proven their effectiveness in particular for power generation modeling in planning applications of PV power systems [25]. Also, the Johnson SB and Generalized Extreme Value distributions are usually considered for modeling meteorological measurements such as wind speed, generally providing a superior fit to one-component probability density functions [26].

3. Design of the Dairy

The case study is carried out in a dairy located in the city of Río Bueno, in the south of Chile, with coordinates south latitude 40.331 and east longitude 72.498. In the economic field, agricultural equipment prices have substantially increased and, conversely, milk prices have continued to decrease considering the producer’s perspective. There are few cost-saving opportunities in these industries, being necessary to analyze more cost-effective options for power generation. In this respect, Chile is endowed with abundant solar radiation, and the amount of electrical energy that can be generated from solar panels is potentially significant.

The electrical load of the diary consists of equipment for milking, cooling, cleaning, water heating, illuminating, and ventilation, among others, such as milking machine, vacuum and water pump, cooling tank, cleaning systems, and light bulbs. The dairy performs two milkings per day, from 5:30 to 7:15 and from 15:30 to 17:15 considering ordinal hours. The milking process is described below, as well as the energy consumption required by the dairy equipment for this case study:(i)Milking machine: its main function is the aspiration to activate the teat cups, directing the milk obtained towards the cold tank for subsequent accumulation. The machine has 14 units and is equipped with a vacuum pump, which has a 2.2 kW electric motor including an additional 10% for the operation of the pulsators. Also, a 0.5 HP motor is added to drive the milk to the cold tank. Its operation time matches the milking process, from 5:30 to 7:15 and from 15:30 to 17:15.(ii)Cold tank: it is the device that allows the storage of milk in optimal conditions. It is equipped with a 4 kW engine and has a capacity of 4,275 liters. It has two 70 W agitators each and a ventilation system, which consists of two 200 W fans each. The operation time takes place after the milking, and all its components operate simultaneously. The period is between 7:15 and 11:00 and between 17:45 and 22:00.(iii)Lighting: the lighting includes the use of luminaires for the milking room, a corridor, and the machine room that contain the devices described above. This item gives a total of 472 W, but it is estimated that it reaches around 600 W by adding the warehouse and surroundings. The lighting schedule coincides with the milking in the morning, that is, between 5:30 and 7:15 hrs.(iv)Hot water: the warm water is used for machine cleaning and to wash the cow’s udders. The water heater demands 1500 W power supply, and it is estimated that it works approximately 6.4 hours per day, to maintain the water temperature at about 65°C. Schedules in which the water heater operates are between 06:45 and 08:25 and between 16:45 and 18:25 hrs (milking process), and between 13:00 and15:45 hrs (cold tank).(v)Water pump: in order to supply the dairy with water, a 1 HP submersible pump is used. It exceeds a total height of 25 meters, with a flow of 3 m3/hr. Average daily water consumption corresponds to 11 m3. Therefore, the pump operates for 3 hours and 40 minutes, consuming approximately 2.74 kW per day. The hours are usually between 06: 45 and 09:15 and between 16:45 and 17:55.(vi)Machine washing: to keep the tank in optimal conditions, it must be washed after milk collection. The closed tanks have an automatic washing system, which uses hot and cold water combined with acidic and basic cleaning products. The motor that allows this is 1 HP. The duration of the tank washing is 45 minutes, immediately after the collection by the collection truck, which occurs around 12:30 pm. In the case of the milking machine, the washing seeks to remove organic matter, fats, and minerals for the milk. The purpose is to prevent the proliferation of bacteria. The automatic washing is carried out, using a 0.5 HP automatic machine minutes after each milking. The period of milking machine washing is 30 minutes, at 08:00 hrs and 18:00 hrs.

Table 1 summarizes the consumption and operating times associated with dairy equipment.

The total load demand for the dairy was estimated to be 59.83 kWh/day, which corresponds to the peak summer demand. Summer has the highest energy consumption compared to other seasons. This is because the cooling tank has to operate for a longer period to keep milk at an appropriate temperature. Since the dairy operates at certain times of the day, especially during milking, the building of a detailed hourly load profile is required and presented in Figure 1.

4. Solar Radiation

4.1. Solar Radiation Data Analysis

In this study, based on the model proposed by [6], the daily global solar radiation data were obtained from the NASA’s Surface Meteorology and Solar Energy database [27] for the dairy located at south latitude 40.331 and west longitude 72.948, considering the period between 1985 and 2004. For each of the 20 years, based on the recommended average days for months [28] as cited in [29], the average day for each month, including the day both before and after the average day (i.e., three consecutive days), was taken to form the global solar radiation data for the analysis. The global solar radiation for each month at the site concerned is shown in Figure 2.

For each month, solar radiation data were fitted by MLE (see Appendix C) considering six continuous probability distributions, namely, Beta, Generalized Extreme Value, Johnson SB, Normal, Wakeby, and Weibull distributions (see Table 2), and were tested according to the Kolmogorov–Smirnov test (K-S test). The K-S statistic values are shown in Table 3. Then, the value is obtained and used as selection criteria. It is important to notice that in this case, the null hypothesis establishes that the data follow the specified distribution for each distribution; therefore, the selection must consider a value that cannot reject that hypothesis (see Appendix D). Following this observation, the distribution with the highest possible value is chosen for each month.

The value was calculated using a novel method named Exact-KS-FFT, expressing the value as a double-boundary noncrossing probability for a homogeneous Poisson process, which is then efficiently computed using fast Fourier transform [30]. The method has proved his accuracy and numerical efficiency versus the algorithm proposed by Marsaglia et al. [31]. The results for the fitted distributions are presented in Table 4.

For the months of January, August, September, October, and December, the Wakeby distribution provides the best fit, while for the months of February, May, July, and November, the Gen. Extreme Value distribution works best. For March and June, the Johnson SB distribution is the most appropriate. Finally, for April the Beta distribution provides the best fit. Although the Normal distribution is often chosen to fit the data, in this case, it does not present substantial differences in terms of the statistic for the rest of the fitted distributions. It has to be emphasized that while this study considers only these six types of distributions, other alternatives may eventually improve the fit.

As already stated, to achieve yearly performance, PV system sizing is carried out based on the “worst month” method, i.e., the month with the lowest average solar radiation levels. Thus, June is selected for sizing in the following sections.

4.2. Model for Estimating the Hourly Global Solar Radiation

When hour-by-hour performance calculations need to be done, it may be necessary to start with daily data and then obtain hourly values from daily solar radiation estimation. The ratio of hourly global solar radiation in a day , , to daily global solar radiation, , is calculated from equation (1) [29]. Baig et al. [10] modified the model proposed by Jain et al. [32] which tries to fit solar radiation to a Gaussian-type function, to better fit the recorded data during the start and the end periods of a day, as cited in [33]. In this model, is estimated by equation (2), where is the solar time, is the standard deviation of the Gaussian curve, and is the day length of the day , at a site with latitude , given by equation (3), where is the sun’s declination. correlates with , equations (4) and (5), based on the second version of the new approach to Jain’s model as cited in [33]. is determined from equation (1), leading to equation (6). The equations used in this section are listed as follows:

5. Proposed Standalone PV System

The schematic representation of the proposed standalone PV system is shown in Figure 3. The main components are PV generator, battery system, and power conditioning units (inverters and charge controllers).

6. Stochastic PV Sizing Simulation Model

The stochastic PV sizing methodology corresponds to the model developed by [6], but considering some modifications specifically in steps 3 and 6 since a detailed hourly-based simulation is carried out. It consists of the following steps:(1)An essential first step is to obtain a reliable database that contains appropriate solar radiation and temperature data for the years under consideration. The application site is defined by entering latitude and longitude values. Based on a thorough statistical analysis of the global solar radiation data , a probability density function (pdf) is generated for each month in such a way as to find the best fitting curve to the solar radiation data for the site. Then, the parameters of the fitted distribution are extracted for all months.(2)The global solar radiation mean and the standard deviation are calculated for each month. The one that exhibits the lowest average daily solar radiation levels is selected for sizing.(3)Depending on the application type, estimation of the energy demand is carried out based on technical datasheets and expert judgment. Unlike [6], an hourly load profile is used for a more detailed hourly-based simulation.(4)Estimation of the correction factor , which refers to the energy lost along the path from the PV generator to the loads during day-to-day operations, and of the correction factor for the operation route battery-DC/AC inverter-loads, calculated accordingly to [6]. Estimation of , based on the beam and diffuse components of the monthly radiation data according to the Collares-Pereira and Rabl model as cited in [29] and stated in [6]. To estimate , is calculated from equation (7), where is the cell temperature and is the temperature coefficient, obtained from the manufacturer’s specifications. is calculated using equation (8) and can be estimated from the maximum average ambient temperature , the irradiance under standard test conditions (STCs), and the nominal operating cell temperature as cited in [29]. Combining these two equations leads to equation (9):(5)The lower and upper range values for the autonomy factor are set depending on climatic conditions and the application in question. The higher the solar radiation, the lower the autonomy factor. is set from to , ranging from 1 to 10. The range values are taken from [6].(6)The simulation algorithm starts with iterating from to . After each iteration, the corrected peak power and the corrected battery storage capacity are calculated with the and previously calculated in step 2, as stated in [6]. Each iteration of is comprised of 100 simulations for which the energy delivered , the hourly load demand , the energy loss , and the battery state of charge are registered, for all hours of the month selected for sizing, to estimate the success rate in percentage provided by the specific value of , for every hour of the month.For each day of the month, the global solar radiation is sampled from the selected distribution with parameters extracted in step 1. Therefore, for all hours of the month is calculated using equation (2), thus obtaining hourly global radiation for a particular day . The hourly clearness index is calculated using equation (10), where is the hourly extraterrestrial radiation on a horizontal surface for an hour between hour angles and [29]. For converting the hourly solar radiation from the horizontal surface to the inclined plane, tilted at slope from the horizontal, is calculated using the isotropic diffuse model as derived by [34] from the isotropic model proposed by [35], as cited in [29], given by equation (11), where is the fraction of the hourly radiation on a horizontal plane which is the direct beam, is the geometric factor, i.e., the ratio of beam radiation on the tilted surface to that on a horizontal surface at any time, calculated based on the hour angle evaluated at the midpoint of the hour, declination for the sampling day, site latitude , and slope , is the fraction of the hourly radiation on a horizontal plane which is diffuse, based on the Erbs et al. correlation [36] as cited in [10], given by equation (12), and is the reflectance (the albedo) of the ground:For each hour, the energy delivered by the PV array is calculated using equation (13), and the remaining amount of energy after satisfying all load requirements is denoted by :To express the amount of energy remaining after consumption as a percentage, the auxiliary variable AUX is defined. In cases where the PV system is not generating any electricity (, is estimated from equation (14), as the battery system is supplying the demand loads and AUX is estimated from equation (15):Alternatively, in cases where the PV system is generating power (, is then estimated from equation (16). For the latter, three different cases are considered:(a)If , then AUX is calculated using equation (17) since the battery bank must satisfy the load demand and the SOC of the battery is decreased:(b)If , then AUX is equal to zero since the energy yield by the PV system perfectly matches the load requirements.(c)If , then AUX is estimated using equation (15), since the PV system managed to cover all the loads and the SOC of the battery is increased.Thus, the battery state of charge SOC is calculated from equation (18), considering the remaining energy, where is the SOC at the moment immediately before the current period, that is, the previous hour, considering a simulation on an hourly basis. Any excess energy generated by the system is dissipated and is represented by , given by equation (19). For each simulation hour, the SOC is evaluated. If the value drops below the critical level 1-DOD, then a failure occurs and the simulation stops. The same process is repeated until the last hour of the month, recording the success rate for each value of , from to :(7)Depending on the percentage of the time, it is desired to meet the load demand, and the minimum value of that fulfills the system reliability criterion is selected.(8)Based on the selected value of obtained in step 7, the system sizing is carried out by substituting intocalculating and , as stated in [6].(9)The simulation is performed for the remaining months of the year, taking into account the sizing parameters obtained in step 8. For each month, the goal is to obtain the success rate and the system’s performance, that is, the , , , and .

For each month, if simulation findings show that the system reliability criterion (success rate) for the selected value of was not met, then return to step 7 and select the next incremented .

These last two methodology steps correspond to a general vision of the system’s performance during the whole year while ensuring the fulfillment of the criterion of “system reliability.” The whole simulation model is presented in Appendix B. Please note that both flowchart and methodology correspond to the model proposed by [6], but with some modifications consistent with a detailed hourly-based simulation.

7. Simulation Results

Based on the “worst month” method, the month selected for sizing is June. The load demand was estimated to be 59.84 kWh/day. Assuming a maximum average ambient temperature in the daytime of 8°C, calculated from the NASA’s database for the years in question (1995 to 2004), as mentioned in the beginning of this study, the and the temperature coefficient are taken as (for example, from the technical specifications for the module PV-UD185MF5) 47.5°C and 0.452%/°C, respectively. Based on equation (9), is calculated as 0.9215. , , , , , and are taken as 0.98 [37], 0.9 [37], 0.95 [5], 0.95 [5], 0.9936 [38], and 0.8 [39], respectively. Thus, correction factors and of 1.30 and 1.46, respectively, were calculated, based on [6]. It should be kept in mind that these values are customized to the application in question and are subject to the design, equipment, and technology used. The conversion factor was calculated considering the photovoltaic panels inclined at an angle of 25° above the horizontal. This slope was calculated based on maximizing the total estimated energy for the winter months [29]. The batteries’ discharge depth was set to 80%, and the DC transfer voltage was 120 V. The autonomy factor was set from to , ranging from 1 to 10, which was increased by 0.5 each iteration. The success rates obtained for the corresponding iteration value of with the and calculated using equations (20) and (21), respectively, are shown in Figure 4. From this figure, the minimum value of is selected to achieve at least 95% success for noncritical loads and at least 99% for critical loads. The success rates obtained for the and , calculated by replacing with its corresponding iteration value, are, respectively, depicted in Figures 5 and 6. It is worth highlighting that the PV system sizing, apart from being affected by the autonomy factor , strongly depends on the weather conditions, since the and are also affected by the correction parameter , that is, the global solar radiation data at the site. Regarding the first claim, it is logical

that the more autonomy days a PV system has, the larger the size of the PV generator and battery bank will be.

For June, an autonomy factor of 3 assures at least an average of 97% success for noncritical loads. The calculated is 97.074 kWp and is calculated to be 2.308 kAh. Contrasting the results with the conventional methodology [5], is calculated from linear equation from [6]. For noncritical loads, is estimated to be 4.532. Thus, and of 173.443 kWp and 4.124 kAh, respectively, are calculated, based on equations (1) and (2) from [6]. The proposed stochastic methodology, based on the model proposed by [6], far exceeds the conventional methodology, achieving a 44% reduction in installed peak power and battery storage capacity. Repeating the same analysis, for  = 4, the proposed methodology assures at least an average of 99% success for critical loads for June. In this case, the and obtained are 106.171 kWp and 2.525 kAh, respectively, as summarized in Table 5. From the conventional point of view, is calculated using linear equation from [6], which results in  = 18.11 and gives  = 693.083 kWp, based on equation (1) and  = 16.481 kAh, based on equation (2) from [6], as summarized in Table 6. Comparing the results, an 85% reduction in installed peak power and battery storage capacity is achieved with the proposed methodology, getting better results than with the conventional methodology.

The hourly performance of the proposed system throughout the sizing month June and  = 3, in terms of , , , and SOC, is shown in Figure 7. It can be seen from Figure 7 that the proposed standalone PV system successfully meets the load demand without the SOC falling below 60%. The battery bank was able to cover the energy demand for those hours at which no energy was generated by the PV modules. Besides, the amount of energy dissipated was considerable.

Conversely, Figure 8 shows a failed case where the low levels of solar radiation and, thus, the value caused the batteries to be unable to meet the demand in loads with a SOC falling below 20%.

7.1. Designed Standalone PV System Hourly Performance for the Other Months

The algorithm is run for the remaining months using the corresponding values of , , and , as previously calculated, in such a way to achieve at least 95% and 99% of system autonomy. As the sizing is based on the month with the lowest solar radiation, it is expected to perform better. The success rates for each month are shown in Table 7, including both critical and noncritical operation. Although the values are not identical, these success rates assure a minimum of 95% when operating with noncritical loads.

8. Discussion

The results obtained by adopting the proposed methodology reveal substantive differences with respect to the forecast made using the conventional approach. However, it is necessary to discuss the assumptions and considerations made throughout the research to elucidate the causes of this difference.

Regarding the estimation of solar radiation, the same period was considered both for the adjustment using probability distributions and for determining the Kolmogorov–Smirnov statistic to measure the goodness of the fit. On the other hand, the number of parameters of the different distributions was not considered when performing the statistical test. This can result in overfitting based on the period analyzed, affecting its adaptability to estimate or forecast more recent data.

The method considered for estimating radiation is classified into long-term monthly average of daily solar radiation. According to the research carried out by [20], this type of estimate can result in lower estimation errors for the contemplated period, although the superiority and usability of the model are questionable. It is mainly because of the estimation error that a relatively stable and long enough period was considered in the radiation data to avoid the problems that the method itself entails. The aforementioned one may partially explain the difference between the results obtained versus conventional methodology. Another additional aspect to consider is the uncertainty that the use of meteorological data from sources such as NASA or METEONORM can provide, according to [40], precisely because the radiation data have not been routinely observed in most of the world’s meteorological stations due to the high cost of instruments and technical requirements.

In the design phase of the dairy, it is necessary to mention that the proposed scenario combines the month with the lowest average daily global radiation according to the data provided, with the summer month with peak consumption. Therefore, the capacity required to meet the energy demand is being overestimated. The scenario, therefore, delivers a solution that is overestimating the storage capacity and thus becoming suboptimal, at least for the critical month, to meet the reliability standards at the lowest cost.

As in the research proposed in [6], this case considers a daily estimation method for solar radiation, but the main difference lies in the update of the different state variables involved to measure the compliance of reliability standards. In this sense, while the base method has a daily scale, the method proposed in this research updates the state variables and decomposes the global solar radiation considering an hourly scale. Furthermore, the extended method is not validated by a real implementation of the case study, not being able to determine which sizing method is more accurate.

9. Conclusions

The results obtained from the stochastic simulation model show that the proposed standalone PV system can successfully meet the dairy’s load demand at specified reliability, achieving a reduction of 44% in installed peak power and battery storage capacity for noncritical operation, and an 85% reduction for critical operation, as compared to conventional methodology, which is consistent with the results obtained in base research, thus validating the hourly-based method for a different geographical location.

However, given the characteristics of the sizing method, its result has to be contrasted with sophisticated and highly accurate models for the estimation and designing phase in order to overcome the limitations previously analyzed. In this sense, another aspect that can be expanded is the consideration of stochastic components for solar radiation on an hourly scale. The conditions for the design of this case study may also consider the possibility of simulating the energy supplied by the PV system with the estimated load profile for each month of the year, thus avoiding capacity overestimation.

One of the characteristics of the sizing of autonomous photovoltaic systems is the compliance with certain reliability levels; in this sense, it is possible to consider for future research the incorporation of a multiobjective function that considers not only the storage capacity, but also the implementation costs and other relevant performance indicators, as well as the incorporation of budget or size constraints for the installation of PV modules.

Given the current world energy scenario, it is now desirable to think of different sustainable alternatives for electricity generation in such a way as to minimize the environmental impact. Solar energy is widely available, and its use is increasing enormously, which leads to new challenges in improving the efficiency of PV systems and balancing supply and demand. If some loads can be shifted from night to day, better results can be obtained. Thus, the concept of load management becomes relevant to sizing standalone PV systems. In this sense, dynamic load management functionality can be introduced. In more recent studies, the effect of load profile uncertainty on the off-grid PV systems optimum design is analyzed, highlighting the importance when defining load profiles for off-grid PV-battery systems.

Finally, it is therefore recommended to perform an hourly, or even a more detailed simulation (e.g., simulation at minutely resolution), to have better control of the load profile and the power output fluctuations, clearly identifying the time when peak demand occurs, and utilize this valuable information for getting optimal results.

Appendix

A. Nomenclature Used, Based on Kaplanis and Kaplani [6]

Nomenclature: auxiliary variablea: lower bound of beta distributionb: upper bound of beta distribution: for the ageing of the battery system due to cycling: the efficiency of the batteries during charging process: efficiency of the batteries during the discharging process: efficiency of the charger: efficiency of the inverter: battery storage capacity (kAh): corrected (kAh): for the effect of the ageing of the PV: correction term for the temperature effect on PV efficiencyDE: the remaining amount of energy after satisfying all load requirementsDOD: depth of discharge of battery (dimensionless): number of days of autonomy of a PV system: number of days of autonomy of a PV system operating with critical loads: number of days of autonomy of a PV system operating with noncritical loads: energy dissipated due to excess energy and fully charged battery (kWh): energy delivered by the PV system (kWh): loss of energy between the route of the PV generator and load demand (dimensionless): loss of energy between the route of the battery bank and loads (dimensionless): irradiance under standard test conditions (STC) (1 kW/m2): daily global solar radiation on the horizontal (kWh/m2): mean value of H (kWh/m2): hourly global solar radiation on the horizontal in a day (kWh/m2): hourly direct beam radiation: hourly diffuse radiation: hourly extraterrestrial radiation on a horizontal surface for an hour periodk: shape parameter of Gen. Extreme Value distribution: hourly clearness index: nominal operating cell temperature (°C): peak power (kWp): corrected (kWp): Peak Sun Hours (h/day): mean value of PSH (h/day): minimum value of PSH (h/day): total loads in a day (Wh/day): load demand at any time (kWh): ratio of hourly global solar radiation to daily global solar radiation (dimensionless): factor for converting the global solar radiation from the horizontal to the inclined plane of the PV panels, mean value for a specific month (dimensionless): factor for converting the hourly solar radiation from the horizontal surface to the inclined plane, for a specific hour (dimensionless): ratio of beam radiation on the tilted surface to that on a horizontal surface at any time: length of the day (h)SOC: state of charge of battery % (dimensionless): the remaining SOC carried onto the next hour (dimensionless): temperature coefficient: maximum average ambient temperature in the daytime for the sizing month (°C): cell temperature (°C): DC transfer voltage. Also, nominal battery operating voltage (V)Greek letters: scale parameter of Wakeby distribution; shape parameter of Weibull distribution, : shape parameters of beta distribution: shape parameter of Wakeby distribution; scale parameter of Weibull distribution; slope: shape parameter of Johnson SB distribution; scale parameter of Wakeby distribution: declination; shape parameter of Johnson SB distribution; shape parameter of Wakeby distribution: scale parameter of Johnson SB distribution: location parameter of Johnson SB and Wakeby distributions: location parameter of Gen. Extreme Value and Normal distributions: albedo: scale parameter of Normal and Gen. Extreme Value distributions: standard deviation of H: standard deviation of the Gaussian curve: site latitude: hour angle

B. Flowchart of the Stochastic Proposed Methodology, Based on Kaplani and Kaplanis [6]

C. Maximum Log-Likelihood Estimation

To adjust the distributions for the subsequent comparison of the goodness of fit, the parametric estimation of the distributions is performed using the maximum likelihood estimation (MLE). Considering the set of independent and identically distributed random variables, taken from a continuous probability distribution characterized by the distribution parameter , and representing its probability density function as , the likelihood function is given by the following joint probability function :where the realization of said random variables, that is, the observations, is represented by the set . Developing the previous expression and considering the condition of random variables (iid), the likelihood function is given by

Therefore, the maximum likelihood estimator is the estimator of the parameter that maximizes the value of this joint probability function. That is,

The above sentence applies without loss of generality for the parameter vector .

D. Kolmogorov–Smirnov Test

The Kolmogorov–Smirnov (K-S) test is commonly used to decide if a sample from a population comes from a determined continuous probability distribution, from which its specification parameters are known. The test is defined by the hypotheses:

And the K-S statistic is defined aswhere is the empirical distribution and is the theoretical cumulative distribution function calculated over ordered observations of the sample. This value is compared with the K-S tables of two-tailed critical values for a given significance percentage , which usually takes a value of 5%. Therefore, the null hypothesis is rejected when the condition is satisfied. To quantify this decision, avoiding the dependence of the significance value set a priori by the researcher to reject the null hypothesis, the value is calculated to choose between the fitted distributions.

Data Availability

The information used in this study is referenced, respectively, and the data from the case study are obtained from a dairy in southern Chile.

Conflicts of Interest

The authors declare that they have no conflicts of interest.