Forecasting of Power Quality Parameters Based on Meteorological Data in Small-Scale Household Off-Grid Systems
Abstract
:1. Introduction
- An innovative concept for forecasting the PQPs of household off-grid systems is presented.
- The accuracies of forecasting models based on PQP datasets with meteorological data are compared considering household off-grid environments.
- The computation times of these forecasting models are also compared.
2. Related Work
2.1. Research on Off-Grid Systems
2.2. Distribution Power Grid
3. Platform Description
3.1. Off-Grid Hardware
3.2. Off-Grid Appliances
3.3. Data Acquisition
3.3.1. Power Quality
3.3.2. Meteorological Data
4. Formal Methods
4.1. Artificial Neural Network
4.2. Multiple Linear Regression
- Linear: The model consists of an intercept and a linear term for each predictor.
- Interactions: The model consists of an intercept, a linear term for each predictor, and all products of the pairs of distinct predictors as shown below [36].Furthermore, higher order interactions are possible, as shown in the equation below, which illustrates third order interactions:
- Quadratic: the model consists of an intercept term, linear and squared terms for each predictor, and all products of the pairs of distinct predictors:
- Pure quadratic: the model consists of an intercept term, linear and squared terms for each predictor, shown in Equation (8):
4.3. Regression Tree
Decision-Tree-Based Ensemble Model
- Bagging: Bagging (also known as Bootstrap aggregation) is a technique that helps reduce the variance of the decision tree. The basic idea is to randomly select a subset of the training dataset with replacement.A separate tree model is created for each subset. Thus, a separate tree is created for the subset after training is completed. The final result is the average of the outputs of all of the individual trees [37].
- Boosting: This refers to the sequential training of a subtree. Each tree learns from the mistakes of the previous tree. Essentially, boosting serves to improve the mistakes of the previous model stage at the subsequent model stage [37].
5. Proposed Model
- The dataset was prepared and cleaned using EXCEL.
- MATLAB code for reading the dataset, merging the power with weather data, and splitting the data into training and test datasets was designed.
- MATLAB code for the seven forecast models, plotting the results, and errors. Each model was designed separately, and all the models were subsequently combined into a single complex model using MATLAB.
5.1. Datasets
5.2. Experimental Setup
6. Results
6.1. Forecasting Results
6.2. Computational Time
7. Discussion
7.1. Forecasting Comparison
7.2. Comparison of Model Performance
8. Conclusions
- The best voltage forecasting accuracy was achieved by the bagging and boosting DTs (approximately 0.06%), followed by those of QLR (approximately 0.20%), PQLR, LR, and ILR, respectively. In this case, the worst results were afforded by the by ANN.
- The boosting DT achieved the best forecasting accuracy of (3.68%), followed by the bagging DT (3.66%) and the ANN. The lower accuracies were afforded by the LR models (11.16% to 12.62%).
- The best forecasting accuracy results of were achieved by the bagging DT (approximately 10.14%), followed by the boosting DT (11.23%) and the ANN; the worst forecasting results were yielded by the LR model (41.42%).
- With regard to frequency, the best forecasting accuracy results were achieved by PQLR, followed by those from ILR, LR, QLR, the boosting DT, the bagging DT, and the ANN, respectively.
- The ANN required more computational time than the other models (47.81 s to 56.76 s). By contrast, the LR models required the shortest computational times (4.12 to 4.44 s). Furthermore, the bagging DT required 10.10 to 10.50 s, and the boosting DT required 9.04 to 9.51 s.
Author Contributions
Funding
Conflicts of Interest
References
- Kosmak, J.; Misak, S. Power quality management in an off-grid system. In Proceedings of the 2018 IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I&CPS Europe), Palermo, Italy, 12–15 June 2018; pp. 1–5. [Google Scholar]
- European Std Committee EN 50160-2002; Voltage Characteristics of Electricity Supplied by Public Distribution Systems. BSI Standards Limited: London, UK, 2003.
- Jahan, I.S.; Misak, S.; Snasel, V. Smart control system based on power quality parameter short-term forecasting. In Proceedings of the 2020 21st International Scientific Conference on Electric Power Engineering (EPE), Prague, Czech Republic, 19–21 October 2020; pp. 1–5. [Google Scholar]
- Misak, S.; Stuchly, J.; Vantuch, T.; Burianek, T.; Seidl, D.; Prokop, L. A holistic approach to power quality parameter optimization in ac coupling off-grid systems. Electr. Power Syst. Res. 2017, 147, 165–173. [Google Scholar] [CrossRef]
- Blazek, V.; Petruzela, M.; Vysocky, J.; Prokop, L.; Misak, S.; Seidl, D. Concept of real-time communication in off-grid system with vehicle-to-home technology. In Proceedings of the 2020 21st International Scientific Conference on Electric Power Engineering (EPE), Prague, Czech Republic, 19–21 October 2020; pp. 1–6. [Google Scholar]
- Kosinka, M.; Slanina, Z.; Petruzela, M.; Blazek, V. V2h control system software analysis and design. In Proceedings of the 2020 20th International Conference on Control, Automation and Systems (ICCAS), Busan, Korea, 13–16 October 2020; pp. 972–977. [Google Scholar]
- Slanina, Z.; Docekal, T. Energy meter for smart home purposes. In International Conference on Intelligent Information Technologies for Industry; Springer: Cham, Switzerland; Varna, Bulgaria, 2017; pp. 57–66. [Google Scholar]
- Blazek, V.; Petruzela, M.; Vantuch, T.; Slanina, Z.; Misak, S.; Walendziuk, W. The estimation of the influence of household appliances on the power quality in a microgrid system. Energies 2020, 13, 4323. [Google Scholar] [CrossRef]
- Jahan, I.S.; Snasel, V.; Misak, S. Intelligent systems for power load fore casting: A study review. Energies 2020, 13, 6105. [Google Scholar] [CrossRef]
- Vantuch, T.; Misak, S.; Jezowicz, T.; Burianek, T.; Snasel, V. The power quality forecasting model for off-grid system supported by multiobjective optimization. IEEE Trans. Ind. Electron. 2017, 64, 9507–9516. [Google Scholar] [CrossRef]
- Jahan, I.S.; Misak, S.; Snasel, V. Power quality parameters analysis in off-grid platform. In International Conference on Intelligent Information Technologies for Industry; Springer: Sirius, Russia, 2021; pp. 431–439. [Google Scholar]
- Stuchly, J.; Misak, S.; Vantuch, V.; Burianek, T. A power quality forecasting model as an integrate part of active demand side management using artificial intelligence technique-multilayer neural network with backpropagation learning algorithm. In Proceedings of the 2015 IEEE 15th International Conference on Environment and Electrical Engineering (EEEIC), Rome, Italy, 10–13 June 2015; pp. 611–616. [Google Scholar]
- Rodway, J.; Musilek, P.; Misak, S.; Prokop, L. Prediction of pv power quality: Total harmonic distortion of current. In Proceedings of the 2013 IEEE Electrical Power & Energy Conference, Halifax, NS, Canada, 21–23 August 2013; pp. 1–4. [Google Scholar]
- Vantuch, T.; Misak, S.; Stuchly, J. Power quality prediction designed as binary classification in ac coupling off-grid system. In Proceedings of the 2016 IEEE 16th international Conference on Environment and Electrical Engineering (EEEIC), Florence, Italy, 7–10 June 2016; pp. 1–6. [Google Scholar]
- Zjavka, L. Power quality multi-step predictions with the gradually increasing selected input parameters using machine-learning and regression. Sustain. Energy Grids Netw. 2021, 26, 100442. [Google Scholar] [CrossRef]
- Zjavka, L. Power quality statistical predictions based on differential, deep and probabilistic learning using off-grid and meteo data in 24-hour horizon. Int. J. Energy Res. 2021, 46, 10182–10196. [Google Scholar] [CrossRef]
- Eisenmann, A.; Streubel, T.; Rudion, K. Power quality prediction by way of parallel computing-a new approach based on a long short-term memory network. In Proceedings of the 2019 IEEE PES Innovative Smart Grid Technologies Europe (ISGT-Europe), Bucharest, Romania, 29 September–2 October 2019; pp. 1–5. [Google Scholar]
- Sarkar, D.; Gunturi, S.K. Machine learning enabled steady-state security predictor as deployed for distribution feeder reconfiguration. J. Electr. Eng. Technol. 2021, 16, 1197–1206. [Google Scholar] [CrossRef]
- Kahouli, O.; Alsaif, H.; Bouteraa, Y.; Ben Ali, N.; Chaabene, M. Power system reconfiguration in distribution network for improving reliability using genetic algorithm and particle swarm optimization. Appl. Sci. 2021, 11, 3092. [Google Scholar] [CrossRef]
- Atteya, I.I.; Ashour, H.A.; Fahmi, N.; Strickland, D. Distribution network reconfiguration in smart grid system using modified particle swarm optimization. In Proceedings of the 2016 IEEE International Conference on Renewable Energy Research and Applications (ICRERA), Birmingham, UK, 20–23 November 2016; pp. 305–313. [Google Scholar]
- Fathabadi, H. Power distribution network reconfiguration for power loss minimization using novel dynamic fuzzy c-means (dfcm) clustering based ANN approach. Int. J. Electr. Power Energy Syst. 2016, 78, 96–107. [Google Scholar] [CrossRef]
- Nguyen, T.T.; Truong, A.V. Distribution network reconfiguration for power loss minimization and voltage profile improvement using cuckoo search algorithm. Int. J. Electr. Power Energy Syst. 2015, 68, 233–242. [Google Scholar] [CrossRef]
- Reddy, A.V.S.; Reddy, M.D.; Reddy, M.S.K. Network reconfiguration of distribution system for loss reduction using gwo algorithm. Int. J. Electr. Comput. Eng. 2017, 7, 3226–3234. [Google Scholar]
- Ji, X.; Yin, Z.; Zhang, Y.; Xu, B.; Iiu, Q. Real-time autonomous dynamic reconfiguration based on deep learning algorithm for distribution network. Electr. Power Syst. Res. 2021, 195, 107132. [Google Scholar] [CrossRef]
- Salau, A.O.; Gebru, Y.W.; Bitew, D. Optimal network reconfiguration for power loss minimization and voltage profile enhancement in distribution systems. Heliyon 2020, 6, e04233. [Google Scholar] [CrossRef]
- Ramadan, H.S.; Helmi, A.M. Optimal reconfiguration for vulnerable radial smart grids under uncertain operating conditions. Comput. Electr. Eng. 2021, 93, 107310. [Google Scholar] [CrossRef]
- Oh, S.H.; Yoon, Y.T.; Kim, S.W. Online reconfiguration scheme of selfsufficient distribution network based on a reinforcement learning approach. Appl. Energy 2020, 280, 115900. [Google Scholar] [CrossRef]
- Essallah, S.; Khedher, A. Optimization of distribution system operation by network reconfiguration and dg integration using mpso algorithm. Renew. Energy Focus 2020, 34, 37–46. [Google Scholar] [CrossRef]
- Tran, T.T.; Truong, K.H.; Vo, D.N. Stochastic fractal search algorithm for reconfiguration of distribution networks with distributed generations. Ain. Shams Eng. J. 2020, 11, 389–407. [Google Scholar] [CrossRef]
- Sambaiah, K.S.; Jayabarathi, T. Optimal reconfiguration and renewable distributed generation allocation in electric distribution systems. Int. J. Ambient. Energy 2021, 42, 1018–1031. [Google Scholar] [CrossRef]
- Forcan, J.; Forcan, M. Optimal placement of remote-controlled switches in distribution networks considering load forecasting. Sustain. Energy Grids Netw. 2022, 30, 100600. [Google Scholar] [CrossRef]
- Misak, S.; Stuchly, J.; Vramba, J.; Prokop, L.; Uher, M. Power quality analysis in off-grid power platform. Adv. Electr. Electron. Eng. 2014, 12, 177–184. [Google Scholar] [CrossRef]
- BS. Institution. Electromagnetic Compatibility (EMC)—Part 6-1: Generic Standards—Immunity Standard for Residential, Commercial and Light Industrial Environments; BSI Standards Limited: London, UK, 2010. [Google Scholar]
- Zurada, J. Introduction to Artificial Neural Systems; West Publishing, Co., Ltd.: St. Paul, MN, USA, 1992. [Google Scholar]
- James, G.; Witten, D.; Hastie, T.; Tibshirani, R. An Introduction to Statistical Learning; Springer: New York, NY, USA, 2013. [Google Scholar]
- Jaccard, J.; Turrisi, R.; Jaccard, J. Interaction Effects in Multiple Regression; Sage: New York, NY, USA, 2003. [Google Scholar]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
- Burianek, T.; Vantuch, T.; Stuchly, J.; Misak, S. Off-grid parameters analysis method based on dimensionality reduction and self-organizing map. In International Conference on Soft Computing-MENDEL; Springer: Cham, Switzerland, 2016; pp. 235–244. [Google Scholar]
- Almeshaiei, E.; Soltan, H. A methodology for electric power load forecasting. Alex. Eng. J. 2011, 50, 137–144. [Google Scholar] [CrossRef] [Green Version]
- Weron, R. Modeling and Forecasting Electricity Loads and Prices: A Statistical Approach; John Wiley & Sons: Chichester, UK, 2007. [Google Scholar]
- Palit, A.K.; Popovic, D. Computational Intelligence in Time Series Forecasting: Theory and Engineering Applications; Springer Science & Business Media: London, UK, 2006. [Google Scholar]
Appliance | Load (W) | Power Actor (-) | |||
---|---|---|---|---|---|
Avg | Min | Max | Avg | Characteristic | |
Mower | 537.6 | 532.1 | 549.27 | 0.52 | Inductive |
Drill | 157.1 | 149.5 | 167 | 0.49 | Inductive |
Kettle | 619.1 | 617 | 628.3 | 1 | Resistive |
Fridge | 207.6 | 195.5 | 219.5 | 0.72 | Inductive |
AC Heating-AC Cooling | 880 | 852.5 | 910 | 0.91 | Inductive |
Microwave | 203 | 76.8 | 1348.3 | 0.84 | Inductive |
Boiler | 307 | 305.8 | 346.5 | 0.99 | Inductive |
TV | 44 | 42.8 | 50.5 | 0.6 | Capacitive |
Lights | 156 | 152.5 | 165.1 | 0.84 | Capacitive |
Parameter | European PQ Standards | |
---|---|---|
EN 50160 | EN 61000-2-2 | |
Voltage frequency | Mean value measured over 10 s ±1% (49.5 Hz–50.5 Hz) for 99.5% of week −6%/+4% (47–52 Hz) for 100% of week | ±2% |
Voltage magnitude variations | Mean 10-min RMS values ±10% for 95% of the week | ±10% applied for 15 min |
Harmonic Voltage (% of fundamental supply voltage) | 5% 3rd, 6% 5th, 5% 7th, 1.5% 9th, 3.5%, 11th 3% 13th, 0.5% 15th, 2% 17th, 1.5% 19th 23rd and 25th | 6% 5th, 5% 7th, 3.5% 11th, 3% 13th, THD <8% |
Parameter | Parameter Details | Parameter Type |
---|---|---|
Gr | Global Solar Irradiance | Input |
WS | Wind Speed | Input |
Press | Air Pressure | Input |
Tem | Air Temperature | Input |
PL | Power Load | Input |
Freq | Power Frequency | Output |
V | Voltage Amplitude | Output |
of Voltage | Output | |
of Current | Output |
Shortcut | Parameter | Min. | Max. | Avg. | Modus | Median |
---|---|---|---|---|---|---|
Gr | Global Solar Irradiance (W·m) | 0 | 1033 | 227.02 | 0 | 89 |
Pr | Atmospheric Pressure (hPa) | 976.4 | 995.3 | 987.07 | 988.5 | 987.2 |
Tem | Air Temperature (°C) | 9.2 | 32.2 | 17.69 | 14.9 | 16.5 |
WS | Wind speed (m·s) | 0 | 5.7 | 1.81 | 0.8 | 1.7 |
Shortcut | Parameter | Min. | Max. | Avg. | Modus | Median |
---|---|---|---|---|---|---|
PL | Power Load (kW) | 0.06 | 2.61 | 0.45 | 0.19 | 0.31 |
Freq | Frequency (Hz) | 49.90 | 50.08 | 50.01 | 50.01 | 50.01 |
V | Voltage (V) | 223.96 | 245.64 | 228.85 | 224.15 | 225.59 |
THD of voltage (%) | 0.51 | 5.75 | 2.58 | 3.37 | 2.78 | |
THD of current (%) | 4.48 | 61.68 | 22.77 | 22.34 | 22.19 |
PQP Type | 16th | 17th | 18th | Average |
---|---|---|---|---|
Frequency | % | % | % | % |
Voltage | 0.143% | 0.08% | 0.446% | 0.223% |
6.46% | 4.16% | 7.85% | 5.15% | |
25.05% | 14.55% | 45.27% | 20.85% |
PQP Type | 16th | 17th | 18th | Average |
---|---|---|---|---|
Frequency | % | % | % | % |
Voltage | 0.28% | 0.335% | 0.23% | 0.28% |
10.26% | 12.72% | 14.89% | 12.62% | |
24.07% | 49.85% | 50.34% | 41.42% |
PQP Type | 16th | 17th | 18th | Average |
---|---|---|---|---|
Frequency | % | % | % | % |
Voltage | 0.29% | 0.34% | 0.23% | 0.28% |
9.66% | 12.74% | 14.03% | 12.14% | |
30.5% | 52.9% | 47.36% | 43.58% |
PQP Type | 16th | 17th | 18th | Average |
---|---|---|---|---|
Frequency | % | % | % | % |
Voltage | 0.22% | 0.23% | 0.16% | 0.20% |
12.22% | 11.56% | 12.11% | 11.96% | |
28.61% | 58.1% | 47.58% | 44.76% |
PQP Type | 16th | 17th | 18th | Average |
---|---|---|---|---|
Frequency | % | % | % | % |
Voltage | 0.20% | 0.24% | 0.180% | 0.20% |
11.29% | 10.25% | 11.96% | 11.16% | |
27.68% | 54.81% | 47.36% | 43.28% |
PQP Type | 16th | 17th | 18th | Average |
---|---|---|---|---|
Frequency | % | % | % | % |
Voltage | 0.054% | 0.040% | 0.094% | 0.06% |
4.39% | 1.66% | 5% | 3.68% | |
4.86% | 8.04% | 20.79% | 11.23% |
PQP Type | 16th | 17th | 18th | Average |
---|---|---|---|---|
Frequency | % | % | % | % |
Voltage | 0.10% | 0.05% | 0.051% | 0.06% |
3.00% | 3.00% | 5.00% | 3.66% | |
5% | 6.19% | 19.23% | 10.14% |
Model | Day | ||
---|---|---|---|
16th | 17th | 18th | |
ANN | 47.81 s | 56.76 s | 49.47 s |
LR | 4.19 s | 4.19 s | 4.12 s |
ILR | 4.40 s | 4.37 s | 4.75 s |
PQLR | 4.22 s | 4.22 s | 4.64 s |
QLR | 4.44 s | 4.35 s | 4.30 s |
Boosting DT | 9.04 s | 9.51 s | 9.45 s |
Bagging DT | 10.16 s | 10.50 s | 11.10 s |
PQP Type | Model | ||||||
---|---|---|---|---|---|---|---|
ANN | LR | ILR | QLR | PQLR | Boosting DT | Bagging DT | |
Frequency | % | % | % | % | % | % | % |
Voltage | 0.22% | 0.28% | 0.28% | 0.20% | 0.20% | 0.06% | 0.06% |
12.22% | 12.62% | 12.14% | 11.96% | 11.16% | 3.68% | 3.66% | |
28.61% | 41.42% | 43.58% | 44.76% | 43.28% | 11.23% | 10.14% |
Model Type | Advantage | Disadvantage |
---|---|---|
ANN | It can be set up in different configurations | Longer computation time |
LR | Very simple and fast in computing | Difficulty in dealing with nonlinear data |
ILR | The effect of one feature on the forecasted result is dependent on the remaining features | Interactions can increase the noise in data and computation time of higher-order interactions |
PQLR | It handles nonlinear data | More data points required |
QLR | It is suitable for nonlinear data. The effect of one feature on the forecasted result is dependent on the remaining features | More data points and longer computational time are required |
Boosting DT | It handles missing data and takes less time compared with bagging DT | Longer computation time compared with LR versions |
Bagging DT | It handles higher dimensional data handles missing data | The final results are based on mean average results from sub trees, which does not render precise forecasting values |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Jahan, I.S.; Blazek, V.; Misak, S.; Snasel, V.; Prokop, L. Forecasting of Power Quality Parameters Based on Meteorological Data in Small-Scale Household Off-Grid Systems. Energies 2022, 15, 5251. https://doi.org/10.3390/en15145251
Jahan IS, Blazek V, Misak S, Snasel V, Prokop L. Forecasting of Power Quality Parameters Based on Meteorological Data in Small-Scale Household Off-Grid Systems. Energies. 2022; 15(14):5251. https://doi.org/10.3390/en15145251
Chicago/Turabian StyleJahan, Ibrahim Salem, Vojtech Blazek, Stanislav Misak, Vaclav Snasel, and Lukas Prokop. 2022. "Forecasting of Power Quality Parameters Based on Meteorological Data in Small-Scale Household Off-Grid Systems" Energies 15, no. 14: 5251. https://doi.org/10.3390/en15145251
APA StyleJahan, I. S., Blazek, V., Misak, S., Snasel, V., & Prokop, L. (2022). Forecasting of Power Quality Parameters Based on Meteorological Data in Small-Scale Household Off-Grid Systems. Energies, 15(14), 5251. https://doi.org/10.3390/en15145251