You are currently viewing a new version of our website. To view the old version click .
Applied Sciences
  • Article
  • Open Access

10 July 2020

Best Practices on Metamodel-Based Photovoltaic Monitoring System with Prediction Method for Photovoltaic Power Generation

,
,
,
and
1
Software Engineering Laboratory, Department of Software and Communication Engineering, Hongik University, Sejong 30016, Korea
2
Department of Software, Gangneung-Wonju National University, Wonju 26403, Korea
*
Authors to whom correspondence should be addressed.

Abstract

HS Solar Energy Company Inc. in Sejong city, Korea, has a big problem on how to monitor heterogeneous inverters with different protocols. Still a current photovoltaic power plant with different inverters, it has attracted significant attention to its experience of difficulties in monitoring integrated power generation. To solve this problem for the company, we adapt a metamodel mechanism to easily manage and integrate heterogeneous data into a metamodel-based data format. The existing metamodel-based photovoltaic monitoring system (M-PVMS) of the HS solar energy company also needs to simply predict the photovoltaic power generation in a day for small farm owners in the countryside. Therefore, we propose a method for predicting the power generation of M-PVMS panels using the gated recurrent unit (GRU) algorithm, which supports real-time learning to predict the photovoltaic system behavior that rapidly accumulates data in real time. As a result, we can predict the power generation for small farm owners with a probability of 96.353%.

1. Introduction

In recent years, faced with energy depletion because of the increase in the world’s population, oil price instability, and limited resources, there has been increasing interest in new renewable energies to solve this problem. In Korea, small farmhouses require low cost energy in the winter season. We focus on one of the renewable energies, like solar power and solar heat.
Furthermore, these renewable energies can change rapidly according to the climate. Hence their continuous management is required to maintain efficient energy, which continuously requires integrated monitoring services to maintain the energy production, operational status, and utilization of renewable energy installations.
In Korea, the New and Renewable Energy Center (NREC) of Korea Energy Management Corporation [1,2,3] has organized for the improvement of facility utilization by establishing a monitoring system. Moreover, it provides data for making policies, research, and projects.
Power exchange [4] is an efficient system for managing and controlling electrical energy, which supports just the homogeneous systems and does not manage the photovoltaic (PV) power generation of different systems. Further, technical support and maintenance may be unmanaged or unusable after the maintenance period for new renewable energy-related systems [5].
Presently, studies are conducted on various monitoring systems, such as the PV monitoring system combined with current GPS technology [6], web-based monitoring and remote control technology of the PV system [7], cloud service-based mobile monitoring service system [8], remote monitoring system based on ZigBee communication [9], GSM-based photovoltaic power monitoring system [10], smart grid monitoring system for building/home energy management [11], and smart monitoring technique for photovoltaic power systems [12].
Although the research on monitoring systems exists, these studies are insufficient with regard to monitoring systems connected with the existing legacy systems. To solve this problem, the metamodel-based photovoltaic monitoring system (M-PVMS) [13] provides a function for different connection and manages new renewable energy generation. The M-PVMS can efficiently integrate individual systems based on standard interfaces for data interoperability and reduce costs and times of development to plug and play new devices into the existing PVMS.
Recently, the failure of solar panels has been a critical factor in solar power generation. The M-PVMS uses solar panels with bypass diodes. This panel offers the advantage that the power generation of the normal cell is preserved even when a failure of the solar cell of the panel occurs. However, depending on the type of inverter, a fault alarm may not occur. Therefore, it is difficult for the individual owner to recognize the failure of the panel. Consequently, the owner may not recognize to reduce the amount of power generation.
To solve this problem, we suggest (1) prediction of solar power generation of M-PVMS using the gated recurrent unit (GRU) algorithm, which is a deep learning model used to improve long short-term memory (LSTM) as an upgrade of the existing recurrent neural network (RNN) structure, and this makes it suitable for use in M-PVMS data collection environments, (2) extension of the metamodel of M-PVMS with local environmental and public data for power generation prediction, and (3) verification of predicted generation with real generation.
This paper is organized as follows. Section 2 describes related studies. Section 3 describes how to improve the M-PVMS integrated server with redefining the metamodel for prediction of M-PVMS power generation. Section 4 describes the accumulated data analysis within the M-PVMS system, the data identification for training data set, and power prediction module of power generation with the GRU algorithm. Section 5 describes the verification of our predication model. Finally, Section 6 presents the conclusion and future work.

3. Our Improved M-PVMS Structure

3.1. Improvement of M-PVMS Integrated Server

The improved structure of the M-PVMS integrated server is showed in Figure 8. The original M-PVMS integrated server has urgent mail sender, model data request sender, and model data receiver. The urgent mail sender transmits urgent messages to the administrator when there is an abnormal state of inverter or a disorder of the panel. The model data request sender asks transmit data of each integrated power generation to each M-PVMS local server. The model data receiver stores IntegratedEnergyModel.xml file data of power transmitted from the M-PVMS local server.
Figure 8. Improved structure of M-PVMS integrated server.
We add a public data parser into the M-PVMS integrated server in the red box at Figure 8. The public data parser gets horizontal and vertical insolation, total cloud cover, lower-middle cloud cover from the Korea public data center [19], and saves into the IntegratedEnergyModel.xml file after parsing them.

3.2. Redefined Metamodel for Prediction of M-PVMS Power Generation

For the GRU prediction method, we need information on the horizontal solar radiation, vertical solar radiation, cloud cover, and middle and lower cloud presence from the Korea public data center. This information was added to the integrated metamodel of the M-PVMS local server. The improved metamodel is shown in the red box at Figure 9.
Figure 9. Improved M-PVMS metamodel with environmental information.
Figure 10 shows the example code of IntegratedSolarEnergyModel.xml generated by the improved metamodel of the local server. The server inputs zero value of all attributes within the environmentinfo tag with red color in the XML file, and transmits the whole XML file to the integrated server. The integrated server inserts public data such as horizontal solar radiation, vertical solar radiation, cloud cover, and middle cloud from the Korea public data center into the environmentinfo tag.
Figure 10. Example code of IntegratedSolarEnergyModel.xml.

4. The Accumulated Data Analysis within the M-PVMS System

4.1. The Data Identification for Training Data Set

To identify data for training sets, we identified the right date through the correlation analysis of all PV power-related data from the integrated server and the public data center. For extracting the right data, it is necessary to find the correlative relationship between solar power generation data and environmental information in order to predict future power generation. That is, we predicted the power generation the day after today with the identified data. Table 1 shows the significant correlation after measuring the relationship between the current output and the environmental data on the Pearson correlation coefficient. The environmental sensor consists of an environmental sensor in a Korea public data center and an environmental information sensor that are installed in a solar power station. Significant data types in Korea public data centers are total cloud amount, lower-middle cloud amount, and insolation. Significant data types in the solar power plant environmental information sensor are vertical solar radiation and horizontal solar radiation. Pearson’s correlation coefficient expresses the correlation of each item with a value between −1 and 1. If the value is close to −1, there is a correlation that the variable y decreases as the variable x increases. If the value is close to 0, there is no correlation. If the value is close to 1, there is a correlation that the variable y increases when the variable x increases.
Table 1. Correlation coefficient measurement table between power generation data and public data.
According to these data, the amount of insolation is inversely correlated when the clouds are high. Hence, the current output of power generation has a correlation coefficient that is proportional to the insolation. Therefore, we used these data, such as horizontal solar radiation, vertical solar radiation, total cloud cover, lower-middle cloud cover, and output, in learning for prediction.

4.2. Power Prediction Module of Power Generation with GRU Algorithm

Figure 11 shows the structure of the power generation prediction module. First, we stored power generation, insolation, module temperature data, public data insolation, and cloud cover data in the M-PVMS, and then merged them in the same local time.
Figure 11. Structure of power prediction module.
Second, in data preprocessing, we refined the merged data with two steps as follows: (1) preprocess through formatting, cleansing, and sampling with the merged data, and (2) transform with scaling, decomposing, and aggregating with the preprocessed data. Then, we classified them into the category of seasonal, trend, and noise with Seasonal-Trend decomposition using base Loess (STL) implementation.
Third, with the gated recurrent unit (GRU) algorithm, we executed training with the transformed data for predication. At this point, we assigned the value of dropout with 0.3 against the overfitting learning, that is, just training them except 30% of all neural nodes. To measure a training error, we used the mean squared error (MSE) method for precision and root mean squared error (RMSE) method for error of test data. The nearest zero value of MSE and RMSE may be the highest accuracy.
After learning, the training result was about 0.000 MSE of the error rate and the test result was about 0.015 RMSE of the error rate, which has a good prediction performance.
This means that the average error rate is about 1.2% of the real power generation value in the prediction through the verification data. Prediction models include those that predict power generation after one hour and those that do so after one day. Therefore, if the real power generation continuously exhibits significant differences from the predicted power generation, it is possible to anticipate the aging of a generator device and replace it in advance.
Figure 12 shows the graphs that predict data for 12 h when the sun was passing by predicting the amount of power generation per hour. Figure 13 shows results for 105 days obtained by predicting data per day. The red line represents the prediction and the blue one indicates the real power generation value. Consequently, there is little difference between the predicted total power generation and the real total power generation from 0.01% to 0.02%.
Figure 12. Power generation prediction result per hour.
Figure 13. Power generation prediction result per day.

5. Verification of Predication Model

We needed to check whether the data are reliable enough. In statistics, according to the central limit theorem, the sample size has to be 30 or greater. The t-distribution and the standard normal distribution will be the same with an infinitely large sample size. Additionally, for sample sizes greater than 30, they will be similar, but the t-distribution will be somewhat more conservative. We used 120 sample data with a sample size of more than 120, which means that the sample data are reliable according to the central limit theorem. Another way to find that the data sample are reliable is by using the t-test. We used paired sample t-tests since we have two independent data sets. The paired sample t-test is good when two numeric data are compared. The significance level for this test is set at α = 0.05. If the p value is larger than α, the real power generation and the predicted power generation have little similarity. The result of the paired sample t-test is shown in Table 2.
Table 2. The result of paired sample t-test.
The test statistic is the difference between the average of real power generation and the average of predicted power generation. The degree of freedom (df) is the number of power generation data. Alternative hypothesis uses a two-sided test. The p value is 1.621 × 10−14, that is, 0.00000000000001621. Therefore, p value is less than α (0.05). This means that the result is statistically significant. So, we can say that the sample data are reliable through these tests. Since data samples are reliable, we can verify that the predicted model is close enough to the measured value of the current power.
In order to verify our prediction model, we used a statistical method called the mean absolute percentage error (MAPE). The MAPE is the most common measure used to forecast error and works best when there are no extremes to the data (and no zeros) [20]. The MAPE formula is:
M = 100 n t = 1 n A t F t A t
We used the extracted data to verify whether the model is accurate enough or not. A t is the real power generation value. F t is the predicted power generation value. We set 95% of reliability degree to estimate that the predict model is successfully predicted for power generation. First, we subtracted two data samples and found the absolute value. Then, all the values obtained are added through sigma and multiplied by 100 to obtain the percentage. Second, in order to find the error rate of all values, we divided by n, which is 120. The error rate obtained through this process is 3.647%. Therefore, the similarity (reliability degree) between the predicted value and the real measured value is 96.353%, that is, 100 minus the error rate (3.647%). As determined above, the similarity between the two data samples is more than 95%. As a result, we can recognize that the predicted data are successfully predicted.

6. Conclusions and Future Research

In this research, we give a solution for a small solar energy company in Korea that has a big problem of how to monitor heterogeneous inverters with different protocols. Still a current photovoltaic power plant with different inverters, it has attracted significant attention to its experience of difficulties in monitoring integrated power generation. To solve this problem for the company, we adapted a metamodel mechanism to easily manage and integrate heterogeneous data into a metamodel-based data format. Simply predicting photovoltaic power generation for just a day for the small farm owners in the countryside, we improved this system for learning with the data accumulated.
Therefore, we developed a method for predicting power generation of M-PVMS panels using the gated recurrent unit (GRU) algorithm, which supports real-time learning to predict the photovoltaic system behavior that rapidly accumulates data in real time for the small solar energy company and small farm owners. As a result, we predicted the power generation for small farm owners as a probability of 96.353%. We are still developing and determining solar panel failure diagnosis and predicting error probabilities.

Author Contributions

W.S.J., J.S.H., J.H.K., B.K.J., and R.Y.C.K. designed the present study, reviewed the literature, and drafted the manuscript; J.S.H. and J.H.K. performed the verification of the predication model; W.S.J., B.K.J., and R.Y.C.K. critically revised the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Ministry of Trade, Industry, and Energy (MOTIE), Korea, through the Education Program for Creative and Industrial Convergence (Grant Number N0000717).

Conflicts of Interest

The authors have no conflicts of interest.

References

  1. New & Renewable Energy White Paper; Ministry of Trade & Industry and Energy: Sejong, Korea, 2014.
  2. Yang, S.J. This is a dawn for the solar age. LG Bus. Insight 2015, 2–15. [Google Scholar]
  3. New & Renewable Energy Center in Korea Energy Management Corporation. Available online: http://www.energy.or.kr (accessed on 31 August 2019).
  4. Korea Power Exchange’s ePEMS. Available online: http://epems.kpx.or.kr (accessed on 31 August 2019).
  5. Woo, J.T.; Lee, J.H.; Seo, T.W.; Han, M.H.; Seo, M.J. A Study on Standardized Instrumentation for Solar Power Plants Operated by Remote Control; The Korea Institute of Electronic Communication Sciences: Yeosu, Korea, 2015; Volume 10, pp. 707–712. [Google Scholar]
  6. Duan, X.; Liang, Z.; Li, X.; Niu, S.; Zhou, W. Research of distributed photovoltaic power supply access simultaneous power quality monitoring system. In Proceedings of the China International Conference on Electricity Distribution (CICED), Nanjing, China, 13–16 September 2010; pp. 1–4. [Google Scholar]
  7. Singh, B.S.; Husain, N.S.; Mohamed, N.M. Integrated photovoltaic monitoring system. In Proceedings of the AIP Conference, Chonburi, Thailand, 18–20 July 2012; Volume 1482, p. 176. [Google Scholar]
  8. Ryu, Y.H.; Yoo, J.K.; Kim, Y.R. Cloud Services based Mobile Monitoring for Photovoltaic Systems. In Proceedings of the IEEE 4th International Conference on Cloud Computing Technology and Science, Taipei, Taiwan, 3–6 December 2012; pp. 578–580. [Google Scholar]
  9. Je, H.W.; Yang, O. Remote Monitoring System of Photovoltaic Inverter using Zigbee Communication. J. Korean Inst. Inf. Technol. 2012, 10, 94–101. [Google Scholar]
  10. Gagliarducci, M.; Lampasi, D.A.; Podesta, L. GSM-based monitoring and control of photovoltaic power generation. Measurement 2007, 40, 314–321. [Google Scholar] [CrossRef]
  11. Batistaa, N.C.; Meliciob, R.; Matiasa, J.C.O.; Catalaoa, J.P.S. Photovoltaic and wind energy systems monitoring and building/home energy management using ZigBee devices within a smart grid. Energy 2013, 49, 306–315. [Google Scholar] [CrossRef]
  12. Cho, H.C.; Sim, K.Y. A Development of Smart Monitoring Technique for Photovoltaic Power Systems. Trans. Korean Inst. Electr. Eng. 2015, 64, 50–56. [Google Scholar] [CrossRef][Green Version]
  13. Jang, W.S.; Son, H.S.; Seo, C.Y.; Kim, R.Y.C. Metamodel Based Photovoltaic Monitoring System for Heterogeneous Renewable Energies. Asia Pac. Soc. Comput. Inf. Technol. 2017, 1, 44–47. [Google Scholar]
  14. Jang, W.S.; Kim, R.Y.C. A Case study of Cost Reduction for Maintenance of Photovoltaic Energy Monitoring System based on Model Driven Architecture. KCSE 2019, 21, 159–161. [Google Scholar]
  15. Netty. Available online: http://netty.io (accessed on 31 August 2019).
  16. Hadoop. Available online: http://hadoop.apache.org (accessed on 31 August 2019).
  17. Pascanu, R.; Gulcehre, C.; Cho, K.; Bengio, Y. How to Construct Deep Recurrent Neural Networks. arXiv 2014, arXiv:1312.6026. [Google Scholar]
  18. Chung, J.; Gulcehre, C.; Cho, K.; Bengio, Y. Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling. arXiv 2014, arXiv:1412.3555. [Google Scholar]
  19. Korea Public Data Center. Available online: https://www.data.go.kr/ (accessed on 31 August 2019).
  20. Swamidass, P.M. Encyclopedia of Production and Manufacturing Management; Springer: Boston, MA, USA, 2000; p. 462. [Google Scholar]

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.