Machine Learning- and Artificial Intelligence-Derived Prediction for Home Smart Energy Systems with PV Installation and Battery Energy Storage
Abstract
:1. Introduction
- Weather conditions: The generation of solar energy is highly dependent on weather conditions, primarily the intensity and timing of sunshine. Thus, cloud cover, atmospheric haze and other weather phenomena can cause fluctuations in solar irradiance, leading to variations in output;
- Day–night cycle: PV systems only generate electricity during daylight hours—the length of the day varies throughout the year depending on location and season, which affects the total energy generated;
- Seasonal variability: Solar energy production changes with the changing seasons; moreover, in some regions, the availability of sunlight can be significantly reduced during cloudy or rainy seasons;
- Latitude and location: The amount of sunlight received by a PV system depends on its geographical location. Areas closer to the equator tend to receive more consistent and intense sunlight, leading to a more predictable output;
- Shading and obstacles: Shading caused by nearby buildings, trees or other obstacles can create “hot spots” on PV panels, leading to a reduction in output. Shading can vary throughout the day and year, introducing uncertainty;
- Dust and dirt: The accumulation of dust, dirt or other debris on PV panels can reduce their efficiency and overall output.
- Forecasting: Weather and solar intensity forecasting models can provide short- and medium-term forecasts of solar availability, helping system operators to anticipate and plan for fluctuations;
- Energy storage: Integrating energy storage systems (e.g., batteries) with PV installations can help store excess energy during periods of high production and discharge it during periods of low production, thus smoothing output;
- Diversification: Combining solar power with other renewable energy sources, such as wind or hydropower, can help to balance fluctuations in generation from different sources;
- Smart grids: Smart grid technologies enable real-time monitoring and control of electricity generation and consumption, allowing variable energy sources such as solar power to be managed more efficiently;
- Advanced inverters: Modern inverters have features that enable them to manage fluctuations in power generation more efficiently, such as maximum power point tracking (MPPT) algorithms;
- Maintenance and cleaning: Regular maintenance and cleaning of PV panels can help maximize their efficiency and reduce performance degradation caused by dirt or dust accumulation.
- An optimizer strategy for mud-ring feeding of bottlenose dolphins to solve a dynamic economic emissions problem;
- Load following dispatch strategy optimized in Bangladesh conditions;
- Smart management (including PV grid autonomy): AI can be used to optimize the operation and control of PV grids. ML algorithms can analyze real-time data from PV panels, weather forecasts, energy demands and other relevant factors to make intelligent decisions about when and how electricity is generated, stored and distributed. This allows the grid to dynamically respond to changing conditions, increase energy efficiency and effectively balance supply and demand;
- Reliability and resilience: AI can improve the reliability and resilience of PV grids by predicting and preventing faults or failures. Predictive maintenance algorithms can analyze sensor and device data to detect anomalies and potential problems before they lead to system downtime. Artificial intelligence-based fault detection and diagnosis can contribute to faster response times and reduced downtime, ensuring a more reliable power supply;
- The human-centric approach to designing AI solutions involves developing AI solutions that are user-friendly, easy to understand and compatible with human needs and behavior. In the context of PV grids, this could include creating user interfaces that allow grid operators or consumers to interact intuitively with AI systems. In addition, AI can help with demand forecasting, helping grid operators make informed decisions based on human behavior and energy consumption patterns;
- Privacy and data security: AI in PV grids must ensure the privacy and security of sensitive data. AI solutions that handle data from PV panels, energy consumption and other sources must comply with data protection regulations and implement robust security measures. Encryption, secure data transmission and access control mechanisms are key to protecting data privacy.
- Real-time data integration: While efforts have been made to analyze national PV grids using artificial intelligence, there may still be a gap in effectively integrating real-time data from a variety of sources, such as weather forecasts, energy consumption patterns and PV system performance. The development of AI algorithms that can seamlessly incorporate these data streams could lead to more accurate and flexible grid analysis;
- User-friendly decision support: Most AI analysis for domestic PV grids is for experts or researchers. There may be a research gap in creating user-friendly interfaces or tools that allow homeowners and small businesses to easily interpret AI-based insights and make informed decisions about optimizing their PV systems;
- Predictive maintenance and fault detection: AI can predict maintenance needs and identify faults in PV systems. However, there may be a research gap in developing algorithms that can accurately predict specific maintenance requirements or diagnose system faults in a simplified way, helping non-experts to take appropriate action;
- Localized energy storage optimization: AI can optimize the use of PV energy storage, but there may be a research gap in developing algorithms that take into account local energy policies, incentives and market conditions. Such algorithms could help homeowners decide when to store excess energy, when to sell it back to the grid or when to draw from the grid;
- Load management and demand response: AI analysis often focuses on PV system performance and optimization. However, a research gap may exist in incorporating load management and demand response strategies. This could include AI algorithms that dynamically adjust energy consumption patterns based on grid conditions, time-of-day tariffs and user preferences;
- Integration with smart home systems: Many homes are becoming “smart” through the integration of different devices and systems. There may be a research gap in exploring how AI analysis of home solar PV networks can be seamlessly integrated into broader smart home management platforms, providing a holistic approach to optimizing energy consumption;
- Uncertainty and robustness: AI models for PV grid analysis may not always account for uncertainties such as fluctuations in weather forecasts or changes in user behavior. Addressing this research gap may involve developing AI approaches that are robust to uncertainty and can provide reliable recommendations even in less predictable scenarios;
- Behavioral aspects and user adoption: it is important to understand how users interact with and adopt AI-based recommendations for their PV networks. Research can focus on exploring user behavior, motivations and barriers to adopting AI suggestions, with the aim of improving the overall effectiveness of AI-based network analytics;
- Privacy and security: As AI analysis involves the collection and processing of data from national PV networks, there may be a research gap in exploring privacy techniques and ensuring the security of data and AI models to protect user information;
- Long-term performance evaluation: Many AI analyses focus on short- to medium-term optimization. However, there may be a research gap in assessing the long-term performance of NGAs under AI-guided strategies, taking into account factors such as system degradation, technological advances and changing energy landscapes.
2. Material and Methods
2.1. Dataset
- Current weather (air temperature (°C), wind speed (m/s), cloudiness (five classes represented by numbers));
- Weather forecast (air temperature (°C), wind speed (m/s), cloudiness (five classes, e.g., cloudy represented by numbers));
- Power (Watts);
- Current power direction (four classes represented by numbers);
- PV use (Watts);
- Power network use (Watts);
- Energy storage status (%);
- Energy consumption by receivers (Watts);
- Standardized power (%);
- Energy balance (Watt-hour);
- Income (PLN) (daily, monthly, yearly, total);
- Total CO2 reduction (tons), including equivalent number of trees or car use (km).
- Predicted (24 h after) energy balance (Watt-hour);
- Predicted (24 h after) total CO2 reduction (tons).
2.2. Methods
- Hand-Written Dedicated AI-Based Solution:
- Involves creating custom AI solutions from scratch, tailored to solve a specific problem or task;
- Developers and data analysts build an AI model, often using ML or DL techniques, and train it on relevant data;
- The solution is designed to handle complex tasks and adapt to different scenarios;
- Requires an in-depth understanding of AI algorithms, data pre-processing, feature engineering and model training;
- Development process can be time and resource intensive;
- The resulting solution is usually more accurate and flexible as it is optimized for the specific problem;
- Maintenance and updates may require ongoing efforts to ensure the model remains effective as conditions change;
- Semi-Automated Solution Based on Pre-Prepared Scripts:
- It involves using pre-existing scripts or code templates to develop an AI solution;
- The scripts often contain predefined algorithms, configurations and processing steps;
- Developers may need to adapt and customize the scripts to suit a specific use case;
- Quicker to implement compared to building a solution from scratch;
- It may be suitable for simpler tasks that do not require highly specialized models;
- The level of customization and flexibility may be limited by the available scripts;
- Updates and modifications may be simpler, but may still require an understanding of the underlying code;
- May be useful for rapid prototyping or when time and resources are limited.
- Customization: A hand-written, dedicated AI-based solution offers a higher level of customization to specific requirements, whereas a semi-automated solution relies on existing scripts, potentially limiting customization options;
- Accuracy and complexity: Manually written solutions tend to be more accurate and can handle complex tasks due to their customized nature. Semi-automated solutions may be less accurate and suitable for simpler tasks;
- Development effort: Hand-written solutions require more time and expertise during development, while semi-automated solutions can be implemented more quickly, but may not have the same degree of optimization;
- Maintenance and upgrades: Both solutions require maintenance, but manually written solutions may require more ongoing efforts to adapt to changing conditions, while updates for semi-automated solutions may be simpler to implement;
- The choice between these approaches depends on factors such as the complexity of the task, available resources, time constraints and the desired level of customization and accuracy.
- f—activation function,
- x—network inputs,
- y—network outputs,
- Ѳ—set of parameters mapping input x to an output class y.
- f(x)—output of network,
- f1(x)—output of 1st layer,
- f2(x)—output of 2nd layer,
- f3(x)—output of 3rd layer.
- y—output,
- W—weights,
- x—inputs,
- b—bias.
3. Results
- Number of hidden layers and units (neurons) in each layer (Table 4);
- Activation functions: ReLU, sigmoid, tanh;
- Learning rate;
- Number of training examples used in each iteration of the gradient descent;
- Epochs: The number of iterations of the entire training data set during the learning of the network;
- L2 or L1 regularization to prevent over-fitting;
- Dropout Rate: percentage of neurons randomly dropped during learning to prevent over-fitting;
- Optimization algorithm used to update model weights: Adam, SGD, RMSProp;
- Initialization of network weights (Xavier, He, etc.);
- Schedule of learning rate changes over time for faster convergence;
- Architecture modifications: addition of skipped links.
4. Discussion
- Using artificial neural networks (1950s–1970s);
- Via data-driven approaches (ML, 1980s–2010s);
- By means of DL (present).
- Rated power of energy storage—in the case of energy storage, the power rating is a parameter that defines the amount of energy that the most commonly used lithium-ion or lead–acid batteries are capable of delivering at any given time. It is expressed in kilowatts (kW). This parameter is important, because, if the power rating of the energy storage is too low, the number of devices it will be able to power at the same time is significantly reduced. It is therefore important to select it according to the individual needs of future energy storage users;
- Energy storage capacity—the capacity of the PV energy storage device, also referred to as capacitive capacity or simply storage capacity. This is expressed in kilowatt hours (kWh) and is the product of the voltage at which the storage device operates and the ampere hours of the battery. In turn, this parameter indicates how much a particular storage unit will be able to store. It is worth mentioning that the energy storage capacity can be freely expanded by adding another battery connected in series to its installation. In the case of capacity, it is also worth paying attention to the power rating. These two parameters should be matched in relation to each other, as an energy store based on lithium-ion batteries with a high capacity and low power rating will be able to power a small number of devices, but for a long time. In contrast, one with a low capacity and high power rating will power a large number of devices at the same time, but only for a short period. The standard storage capacity should be selected on the basis of the average daily electricity demand, taking into account the useful capacity of the storage rather than its nominal capacity;
- Battery efficiency—when deciding to install energy storage, it is also worth bearing in mind that the amount of electricity contained by charging the battery via a PV installation is never 100%. It all depends on the efficiency of the batteries used in the device. This is why energy storage units based on lithium-ion batteries, which have an efficiency of around 95%, have become increasingly popular in recent years. This means that for every 10 kWh supplied to them, 9.5 kWh can be successfully collected. In comparison, lead–acid batteries have an efficiency of 75%;
- Level of discharge—when it comes to being able to use the amount of energy produced and stored in the batteries, the level of discharge specified by the manufacturer is also important. It indicates the level to which lithium-ion or lead–acid batteries can be safely discharged without affecting their capacity and subsequent performance. Therefore, if the installed energy storage has a capacity of 10 kWh and its manufacturer has indicated that the level of discharge is 90%, this means that the battery should not be discharged below 2 kWh. Thus, its users only have 8 kWh of energy available, despite the 10 kWh in storage. Furthermore, the level of discharge also indicates the class of the battery being used. Therefore, the higher its value, the more expensive it is;
- Safety of energy storage operation—the topic of the safety of domestic energy storage was an important issue a few years ago. It was influenced by the use of lithium-ion batteries in energy storage. Lithium batteries are a relatively new technology—they only started to be used in portable devices in the early 1990s. By comparison, lead–acid batteries made their market debut around a century earlier. Overcharging lithium batteries poses a risk of fire, and their transport is subject to hazardous material conditions. All of this means that when lithium-ion batteries began to be used in domestic energy storage, no longer as small units in phones, cameras or laptops, but as storage units with a much larger capacity, doubts were raised about whether this posed a risk to the occupants of the home.
4.1. Reference to Results of Earlier Studies
4.2. Limitations of Own Studies
4.3. Theoretical Implications
- Advanced energy management paradigms: the use of AI introduces advanced energy management paradigms that use ML, optimization and control theories. Researchers can explore new ways to model, analyze and optimize the performance of the PV grid, leading to the development of innovative algorithms and techniques.
- Interdisciplinary collaboration: the application of AI in PV requires collaboration between experts in renewable energy, computer science, data analysis and other fields. This interdisciplinary approach encourages researchers from different fields to collaborate, leading to a mutual exchange of ideas and the development of holistic solutions.
- Modelling complex systems: AI enables the modelling and simulation of complex interactions in PV networks, taking into account factors such as weather conditions, energy demand patterns, grid constraints and user behavior. Researchers can delve into the modelling of complex systems to better understand the dynamic behavior of PV networks and assess the impact of AI-based strategies.
- Data-driven insight: The use of AI facilitates data-driven decision making by analyzing large amounts of data from PV systems. Researchers can explore new data pre-processing, feature extraction and analysis techniques to uncover valuable insights that were previously difficult to discern using traditional methods.
- Algorithm development and evaluation: AI in PV grids requires the design, development and evaluation of AI algorithms tailored to specific optimization and energy management tasks. Researchers can contribute by creating novel algorithms that address challenges such as real-time energy forecasting, load scheduling, fault detection and adaptive control.
- Uncertainty and robustness: Theoretical research can focus on resolving uncertainties and increasing the reliability of PV grid solutions based on artificial intelligence. This includes developing algorithms that take into account uncertain weather forecasts, fluctuations in PV system performance and other sources of uncertainty to ensure reliable and efficient grid management.
- Human-centric design: Researchers can explore the human-centric design of AI-powered PV grid systems by considering how users interact with and respond to AI recommendations. This includes understanding users’ preferences, behavior and decision-making processes to design user-friendly interfaces and algorithms.
- Economic and market dynamics: The integration of AI into PV grids introduces economic and market dynamics that affect energy trading, prices and consumption patterns. Researchers can study how AI-based strategies influence energy markets, pricing mechanisms and incentives for renewable energy deployment.
- Policy and regulatory implications: The use of AI in PV grids could have implications for energy policy, regulations and grid integration standards. Researchers can analyze the potential impact of AI on policy implementation, grid stability and integration of distributed energy resources.
- Sustainability and environmental impact: Theoretical research can explore the broader implications of AI-guided PV grid management for sustainability and environmental goals. This includes assessing how AI-based strategies contribute to reducing carbon emissions, optimizing resource use and increasing overall energy efficiency.
- Long-term system evolution: Researchers can study the long-term evolution of AI-enabled PV grid systems by considering factors such as technological advances, system scalability, and integration of emerging energy storage technologies.
- Education and training: As AI becomes a key component of PV grid management, researchers can contribute to educational initiatives by developing curricula, training materials, and resources that enable practitioners to successfully apply AI techniques in real-world scenarios.
- Policy context: Start by outlining the relevant energy policies or regulations that govern the research area and shape the energy landscape and influence decision making;
- Research objectives: Identify research objectives, key issues, the planned way forward for the field;
- Experimental design, such as an experimental set-up, methodology and data collection process to achieve the research objectives;
- Policy relevance: Linking research objectives to the policy context and their impact on energy policy, incentive schemes, and grid integration policy (in the case of PV);
- Quantitative analysis: The results of the experiments shown using quantitative data and relevant visualizations, and how the above results are in line with or diverge from theoretical expectations;
- Policy implications: The results of the experiment in the context of energy policy, whether the results are in line with or challenge existing policies and possible policy changes that could make use of the research results;
- Cost–benefit analysis: The cost-effectiveness of implementing the research results in real-world scenarios, their economic feasibility, environmental impacts and potential energy savings;
- Stakeholder engagement: Identifying key stakeholders (policy makers, industry representatives, support groups)—how research findings can address their concerns or objectives, fostering collaboration and engagement;
- Case studies: Scenarios illustrating how experimental results can translate into practical applications for visualizing the real-world implications of the research;
- Policy recommendations: Suggestions for improving existing policies (increasing energy efficiency, sustainability, moving closer to achieving other relevant goals);
- Long-term impact of implementing the research results: How they can contribute to wider energy-related goals (reducing carbon emissions, increasing energy security, etc.);
- Communication channels: Ways to reach policy makers, industry experts and the public (policy briefs, presentations, workshops and engagement through relevant conferences, associations, platforms).
4.4. Direction for Further Studies
- Production stage—The need to use AI systems appears already at the stage of the production of cells and entire PV modules. To compete with production facilities in China, Europe needs to produce more technologically advanced and more reliable products. European research institutes indicate the need to build self-learning production management systems in production plants that use process data to continuously optimize production. The production of technologically advanced cells and entire PV modules currently requires many complex production processes and materials, and the amount of recorded data is huge. Thanks to the “self-learning factories”, we have new, innovative tools at our disposal, thanks to which we can save time and money in the development of the production of new PV modules [47,48,49,50].
- Installation design stage—selection of installation and modelling of meteorological data.
- With the development of investments in PV farms, it becomes more and more necessary to optimize the decision of where to place them. Tools based on artificial neural networks are needed to analyze the potential of plots of land for PV farms and the potential of house roofs for investments in PV installations. To summarize, we already have widely known applications such as PVSol and many others, but we need a system for multi-criteria analyses for entire districts or areas. The production of energy from PV depends on the weather conditions. When the weather is sunny, the amount of power generated by the PV system is high. When the weather is partly cloudy or cloudy, then there is less power. Therefore, power generation from PV systems is unreliable, intermittent and variable. To manage the uncertain and variable power generation of PV systems, grid operators use classic PV power forecasts and, increasingly, digital methods based on the so-called methods of intelligent management of the PV generation network.
- Operation stage—Faults in PV modules affect the energy yield of a PV installation more than any other factor. These errors vary greatly depending on the stage at which they appear. Face-to-face inspection and traditional supervisory control and data acquisition (SCADA) are often unable to pinpoint the root cause of errors in a short period of time. A global study by TÜV Rhineland on 12 GW PV plants found that 30% of the plants had major defects, 50% of which were due to defects in the PV modules. Failures of PV modules directly affect the energy yields and benefits of PV installations. Accurate and quick locating of faults in PV strings (for large farms, tens of thousands of PV modules!) is an urgent problem for power plant owners. However, conventional methods of inspecting solar modules are both time-consuming and labor-intensive. Additionally, they increase operating costs. In a large PV power plant, there are many PV modules and PV strings scattered over a large area. For example, a typical 100 MW PV power plant contains approximately 400,000 PV modules grouped in 20,000 PV strings and covers an area of 72.5 km2. It is impossible to make a 100% meticulous comparison of voltages and currents, or images of thermography photos, due to the huge number of PV modules and the complex test environment, even with the use of drones. This means that only spot checks are possible.
- Security—Safety is also a very important aspect for PV installations. Therefore, Huawei inverters and power optimizers are equipped with the AFCI (Arc Fault Circuit Interrupter) function to protect against the formation of an electric arc, directly affecting the safety of the entire PV installation. Thanks to the use of artificial intelligence, after detecting an arc, the inverter operation is interrupted within 2.5 s. AFCI is a system that uses elements of artificial intelligence, analyzes DC harmonics and allows the flow of this current to be interrupted if patterns are detected in the spectrum that may indicate an arc in the DC link of the inverter (the spectrum of the arc discharge current is similar to the white noise spectrum, and its energy is concentrated around the frequency range of 10–100 kHz). In this situation, the inverter disconnects the DC circuit in less than 2 s and generates an alarm, indicating the location of the arc with the accuracy of the module (in the case of fully optimized installations). The task of the installer is then to easily and efficiently remove the problem. The function protecting against the formation of an electric arc is also provided by power optimizers that have the ability to detect and interrupt the electric arc at the level of the PV module. An electric arc arising in a DC circuit is a very dangerous phenomenon. The temperature at the point of arc formation can reach up to 3000 °C, and as long as solar energy is supplied to the generator and the arc is not automatically interrupted, it can cause a serious fire hazard.
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Mateo Romero, H.F.; González Rebollo, M.Á.; Cardeñoso-Payo, V.; Alonso Gómez, V.; Redondo Plaza, A.; Moyo, R.T.; Hernández-Callejo, L. Applications of Artificial Intelligence to Photovoltaic Systems: A Review. Appl. Sci. 2022, 12, 10056. [Google Scholar] [CrossRef]
- Tina, G.M.; Ventura, C.; Ferlito, S.; De Vito, S. A State-of-Art-Review on Machine-Learning Based Methods for PV. Appl. Sci. 2021, 11, 7550. [Google Scholar] [CrossRef]
- Mellit, A.; Massi Pavan, A.; Ogliari, E.; Leva, S.; Lughi, V. Advanced Methods for Photovoltaic Output Power Forecasting: A Review. Appl. Sci. 2020, 10, 487. [Google Scholar] [CrossRef]
- Mroziński, A.; Walichnowska, P. Analysis of the possibilities of energy cooperatives functioning in Polish environmental and legal conditions. Przegląd Elektrotechniczny 2023, 99, 286–288. [Google Scholar] [CrossRef]
- Walichnowska, P.; Mroziński, A.; Idzikowski, A.; Fröhlich, S.R. Energy efficiency analysis of 1 MW PV farm mounted on fixed and tracking systems. Constr. Optim. Energy Potential 2022, 11, 75–83. [Google Scholar] [CrossRef]
- Zhang, C.; Cao, C.; Chen, R.; Jiang, J. Three-Leg Quasi-Z-Source Inverter with Input Ripple Suppression for Renewable Energy Application. Energies 2023, 16, 4393. [Google Scholar] [CrossRef]
- Zhang, M.; Yang, D.; Du, J.; Sun, H.; Li, L.; Wang, L.; Wang, K. A Review of SOH Prediction of Li-Ion Batteries Based on Data-Driven Algorithms. Energies 2023, 16, 3167. [Google Scholar] [CrossRef]
- Cheng, Z.; Liu, J.; Li, Z.; Si, J.; Xu, S. Distributed Timing Secondary Control for DC Microgrid Voltage Restoration and Economic Dispatch. Sustain. Energy Grids Netw. 2023, 34, 101004. [Google Scholar] [CrossRef]
- Srivastava, A.; Kumar Das, D. A bottlenose dolphin optimizer: An application to solve dynamic emission economic dispatch problem in the microgrid. Knowl.-Based Syst. 2022, 243, 108455. [Google Scholar] [CrossRef]
- Fatin Ishraque, M.; Shezan, S.A.; Ali, M.M.; Rashid, M.M. Optimization of load dispatch strategies for an islanded microgrid connected with renewable energy sources. Appl. Energy 2021, 292, 116879. [Google Scholar] [CrossRef]
- Liu, Z.-F.; Li, L.-L.; Liu, Y.-W.; Liu, J.-Q.; Li, H.-Y.; Shen, Q. Dynamic economic emission dispatch considering renewable energy generation: A novel multi-objective optimization approach. Energy 2021, 235, 121407. [Google Scholar] [CrossRef]
- Browarska, N.; Kawala-Sterniuk, A.; Zygarlicki, J.; Podpora, M.; Pelc, M.; Martinek, R.; Gorzelańczyk, E.J. Comparison of Smoothing Filters’ Influence on Quality of Data Recorded with the Emotiv EPOC Flex Brain–Computer Interface Headset during Audio Stimulation. Brain Sci. 2021, 11, 98. [Google Scholar] [CrossRef] [PubMed]
- Kawala-Janik, A.; Bauer, W.; Al-Bakri, A.; Haddix, C.; Yuvaraj, R.; Cichon, K.; Podraza, W. Implementation of Low-Pass Fractional Filtering for the Purpose of Analysis of Electroencephalographic Signals.9th International Conference on Non-Integer Order Calculus and Its Applications. Non-Integer Order Calc. Its Appl. 2019, 496, 63–73. [Google Scholar]
- Mikołajewska, E.; Prokopowicz, P.; Mikołajewski, D. Computational gait analysis using fuzzy logic for everyday clinical purposes—Preliminary findings. Bio-Algorithms Med-Syst. 2017, 13, 37–42. [Google Scholar] [CrossRef]
- Rojek, I.; Macko, M.; Mikołajewski, D.; Saga, M.; Burczynski, T. Modern methods in the field of machine modeling and simulation as a research and practical issue related to Industry 4.0. Bull. Pol. Acad. Sci. Tech. Sci. 2021, 69, e136719. [Google Scholar] [CrossRef]
- Rojek, I. Neural networks as prediction models for water intake in water supply system. In Artificial Intelligence and Soft Computing—ICAISC 2008. ICAISC 2008. Lecture Notes in Computer Science, 5097; Rutkowski, L., Tadeusiewicz, R., Zadeh, L.A., Zurada, J.M., Eds.; Springer: Berlin/Heidelberg, Gemany, 2008; pp. 1109–1119. Available online: https://link.springer.com/chapter/10.1007/978-3-540-69731-2_104 (accessed on 10 September 2023).
- Mikołajczyk, T.; Mikołajewska, E.; Al-Shuka, H.F.N.; Malinowski, T.; Kłodowski, A.; Pimenov, D.Y.; Paczkowski, T.; Hu, F.; Giasin, K.; Mikołajewski, D.; et al. Recent Advances in Bipedal Walking Robots: Review of Gait, Drive, Sensors and Control Systems. Sensors 2022, 22, 4440. [Google Scholar] [CrossRef]
- Sun, L.; You, F. Machine Learning and Data-Driven Techniques for the Control of SmartPower Generation Systems: An Uncertainty Handling Perspective. J. Eng. 2021, 7, 1239–1247. [Google Scholar]
- Das, U.K.; Tey, K.S.; Idris, M.Y.I.B.; Mekhilef, S.; Seyedmahmoudian, M.; Stojcevski, A.; Horan, B. Optimized Support Vector Regression-Based Model for Solar Power Generation Forecasting on the Basis of Online Weather Reports. IEEE Access 2022, 10, 15594–15604. [Google Scholar] [CrossRef]
- Available online: www.nordpoolgroup.com (accessed on 15 May 2023).
- Slama, S.B.; Mahmoud, M. A deep learning model for intelligent home energy management system using renewable energy. Eng. Appl. Artif. Intell. 2023, 123, 106388. [Google Scholar] [CrossRef]
- Slama, S.B. Prosumer in smart grids based on intelligent edge computing: A review on Artificial Intelligence Scheduling Techniques. Ain Shams Eng. J. 2022, 13, 101504. [Google Scholar] [CrossRef]
- Asad, U.; Khan, M.; Khalid, A.; Lughmani, W.A. Human-Centric Digital Twins in Industry: A Comprehensive Review of Enabling Technologies and Implementation Strategies. Sensors 2023, 23, 3938. [Google Scholar] [CrossRef]
- Alvarez-Aros, E.L.; Bernal-Torres, C.A. Technological competitiveness and emerging technologies in industry 4.0 and industry 5.0. Acad. Bras. Cienc. 2021, 93, e20191290. [Google Scholar] [CrossRef] [PubMed]
- Brambilla, C.; LavitNicora, M.; Storm, F.; Reni, G.; Malosio, M.; Scano, A. Biomechanical Assessments of the Upper Limb for Determining Fatigue, Strain and Effort from the Laboratory to the Industrial Working Place: A Systematic Review. Bioengineering 2023, 10, 445. [Google Scholar] [CrossRef] [PubMed]
- European Commission, Directorate-General for Research and Innovation; Breque, M.; De Nul, L.; Petridis, A. Industry 5.0—Towards a Sustainable, Human-Centric and Resilient European Industry. Publications Office of the European Union. 2021. Available online: https://data.europa.eu/doi/10.2777/308407 (accessed on 13 May 2023).
- Zulu, M.L.T.; Carpanen, R.P.; Tiako, R. A Comprehensive Review: Study of Artificial Intelligence Optimization Technique Applications in a Hybrid Microgrid at Times of Fault Outbreaks. Energies 2023, 16, 1786. [Google Scholar] [CrossRef]
- Available online: https://www.solarpowerworldonline.com/2021/01/the-energy-storage-market-is-blowing-up-in-the-united-states/ (accessed on 15 May 2023).
- Sherozbek, J.; Park, J.; Akhtar, M.S.; Yang, O.-B. Transformers-Based Encoder Model for Forecasting Hourly Power Output of Transparent Photovoltaic Module Systems. Energies 2023, 16, 1353. [Google Scholar] [CrossRef]
- Alfaris, F.E. A Sensorless Intelligent System to Detect Dust on PV Panels for Optimized Cleaning Units. Energies 2023, 16, 1287. [Google Scholar] [CrossRef]
- Zjavka, L. Solar and Wind Quantity 24 h—Series Prediction Using PDE-Modular Models Gradually Developed according to Spatial Pattern Similarity. Energies 2023, 16, 1085. [Google Scholar] [CrossRef]
- Kashani, S.A.; Soleimani, A.; Khosravi, A.; Mirsalim, M. State-of-the-Art Research on Wireless Charging of Electric Vehicles Using Solar Energy. Energies 2023, 16, 282. [Google Scholar] [CrossRef]
- Sabo, A.; Kolapo, B.Y.; Odoh, T.E.; Dyari, M.; Abdul Wahab, N.I.; Veerasamy, V. Solar, Wind and Their Hybridization Integration for Multi-Machine Power System Oscillation Controllers Optimization: A Review. Energies 2023, 16, 24. [Google Scholar] [CrossRef]
- Lim, S.-C.; Huh, J.-H.; Hong, S.-H.; Park, C.-Y.; Kim, J.-C. Solar Power Forecasting Using CNN-LSTM Hybrid Model. Energies 2022, 15, 8233. [Google Scholar] [CrossRef]
- Korkas, C.; Dimara, A.; Michailidis, I.; Krinidis, S.; Marin-Perez, R.; Martínez García, A.I.; Skarmeta, A.; Kitsikoudis, K.; Kosmatopoulos, E.; Anagnostopoulos, C.-N.; et al. Integration and Verification of PLUG-N-HARVEST ICT Platform for Intelligent Management of Buildings. Energies 2022, 15, 2610. [Google Scholar] [CrossRef]
- Abualigah, L.; Zitar, R.A.; Almotairi, K.H.; Hussein, A.M.; Abd Elaziz, M.; Nikoo, M.R.; Gandomi, A.H. Wind, Solar, and Photovoltaic Renewable Energy Systems with and without Energy Storage Optimization: A Survey of Advanced Machine Learning and Deep Learning Techniques. Energies 2022, 15, 578. [Google Scholar] [CrossRef]
- Mohana, M.; Saidi, A.S.; Alelyani, S.; Alshayeb, M.J.; Basha, S.; Anqi, A.E. Small-Scale Solar Photovoltaic Power Prediction for Residential Load in Saudi Arabia Using Machine Learning. Energies 2021, 14, 6759. [Google Scholar] [CrossRef]
- Hua, C.-C.; Zhan, Y.-J. A Hybrid Maximum Power Point Tracking Method without Oscillations in Steady-State for Photovoltaic Energy Systems. Energies 2021, 14, 5590. [Google Scholar] [CrossRef]
- Kurukuru, V.S.B.; Haque, A.; Khan, M.A.; Sahoo, S.; Malik, A.; Blaabjerg, F. A Review on Artificial Intelligence Applications for Grid-Connected Solar Photovoltaic Systems. Energies 2021, 14, 4690. [Google Scholar] [CrossRef]
- Fara, L.; Craciunescu, D.; Fara, S. Numerical Modelling and Digitalization Analysis for a Photovoltaic Pumping System Placed in the South of Romania. Energies 2021, 14, 2778. [Google Scholar] [CrossRef]
- Jumani, T.A.; Mustafa, M.W.; Md Rasid, M.; Mirjat, N.H.; Leghari, Z.H.; Saeed, M.S. Optimal Voltage and Frequency Control of an Islanded Microgrid Using Grasshopper Optimization Algorithm. Energies 2018, 11, 3191. [Google Scholar] [CrossRef]
- Moncada, A.; Richardson, W., Jr.; Vega-Avila, R. Deep Learning to Forecast Solar Irradiance Using a Six-Month UTSA SkyImager Dataset. Energies 2018, 11, 1988. [Google Scholar] [CrossRef]
- Pérez-Romero, Á.; Mateo-Romero, H.F.; Gallardo-Saavedra, S.; Alonso-Gómez, V.; Alonso-García, M.d.C.; Hernández-Callejo, L. Evaluation of Artificial Intelligence-Based Models for Classifying Defective Photovoltaic Cells. Appl. Sci. 2021, 11, 4226. [Google Scholar] [CrossRef]
- Available online: https://www.pv-magazine.com/2020/12/22/artificial-intelligence-in-photovoltaic-production/ (accessed on 15 May 2023).
- Available online: https://www.energywatch.com.my/blog/2020/11/17/6-ways-artificial-intelligence-is-shaping-our-solar-power-future/ (accessed on 15 May 2023).
- Available online: https://solar.huawei.com/mea/news/mea/mea_20190710 (accessed on 15 May 2023).
- Rojek, I. Hybrid neural networks as prediction models. In Artifical Intelligence and Soft Computing. ICAISC 2010. Lecture Notes in Artificial Intelligence; Rutkowski, L., Scherer, R., Tadeusiewicz, R., Zadeh, L.A., Zurada, J.M., Eds.; Springer: Berlin/Heidelberg, Germany, 2010; Volume 6114, pp. 88–95. [Google Scholar]
- Rojek, I. Neural networks as performance improvement models in intelligent CAPP systems. Control Cybern. 2010, 39, 55–68. [Google Scholar]
- Rojek, I. Classifier models in intelligent CAPP systems. In Man-Machine Interactions, Advances in Intelligent and Soft Computing; Cyran, K.A., Kozielski, S., Peters, J.F., Stanczyk, U., Wakulicz-Deja, A., Eds.; Springer: Berlin/Heidelberg, Germany, 2009; pp. 311–319. [Google Scholar]
- Duch, W.; Nowak, W.; Meller, J.; Osiński, G.; Dobosz, K.; Mikołajewski, D.; Wójcik, G.M. Consciousness and attention in autism spectrum disorders. In Proceedings of Cracow Grid Workshop; ACC-Cyfronet AGH: Cracow, Poland, 2010; pp. 202–211. Available online: www.fizyka.umk.pl/publications/kmk/11-Consc-attention-autism.pdf (accessed on 10 September 2023).
Parameter | Mean | SD | Min | Q1 | Median | Q3 | Max |
---|---|---|---|---|---|---|---|
Current air temperature (°C) | 15.42 | 5.45 | 7 | 11 | 14 | 17 | 22 |
Current wind speed (m/s) | 4.49 | 1.03 | 0 | 2.25 | 4.50 | 5.24 | 6.32 |
Forecasted air temperature (°C) | 16.38 | 6.12 | 7 | 12 | 16 | 18 | 25 |
Forecasted wind speed (m/s) | 5.00 | 1.11 | 0 | 2.11 | 5.00 | 7.33 | 11.11 |
Power (Watt) | 17.55 | 4.46 | 12.50 | 14.78 | 16.45 | 19.11 | 22.71 |
Total CO2 reduction (tons) | 10.28 |
Hyperparameter | Description |
---|---|
Number of hidden layers | Experimenting with different architectures to find the one that works best. |
Activation function(s) | Select the appropriate activation functions for each layer (from basic, e.g., rectified linear unit (ReLU), sigmoid, tanh or advanced, e.g., Leaky ReLU or scaled exponential linear unit (SELU)) in a way that maximizes the model’s performance. |
Weight initialization | Experiments with different weight initialization methods (random initialization, Xavier, He et al.), as the initial values of the weights can affect network learning. |
Learning rate value | Finding the right learning rate (step size during optimization) to ensure convergence without overshooting or getting stuck in local minima. |
Learning rate schedule | Adaptation of the learning rate of the network using schedules (step fading, exponential fading, cosine annealing, etc.). |
Batch size | Finding the right batch size is important as the batch size controls the number of training samples used in each update of the model weights, with too small batches likely to result in more noise, while too large batches can lead to slower convergence. |
Number of epochs | Deciding at what number of epochs to stop training to prevent over-fitting. |
Regularization techniques | Tuning the strength of the regularization is essential as techniques such as dropout, L1/L2 regularization prevent over-tuning. |
Optimization | Experimenting with different optimizers (stochastic gradient descent (SGD), Adam, root mean square propagation (RMSprop), etc.) to find the one that best suits the problem at hand, as they affect training speed and network convergence differently. |
Stage of the Procedure | Description |
---|---|
Feature analysis | Analysis of the dataset, understanding the nature of the features and their impact on the final result, correlation analysis, assessing the importance of features that may be relevant to the problem. |
Feature engineering (optional) | Creating new features or transforming existing features in a way that improves the model’s ability to capture patterns in the data. |
Feature selection | Feature selection to reduce dimensionality through forward selection, backward elimination or recursive feature elimination. |
Cross-validation | Evaluate the performance of different feature sets and hyperparameter configurations, helping to prevent over-fitting and providing a more accurate estimate of model performance. |
Iterative tuning | Continuous iteration through the stages of feature selection and hyperparameter tuning with evaluation of different combinations until the best performing model is found on the validation data. |
ANN Structure | Activation Function in the Hidden Layer | Activation Function in the Output Layer | Accuracy (Learning) [%] | Accuracy (Testing) [%] | RMSE |
---|---|---|---|---|---|
MLP 14-22-2 | Sigmoid | Sigmoid | 86.11 | 87.32 | 0.05 |
MLP 14-24-2 | Sigmoid | Sigmoid | 87.92 | 88.07 | 0.02 |
MLP 14-26-2 | Sigmoid | Sigmoid | 88.43 | 88.92 | 0.01 |
MLP 14-28-2 | Sigmoid | Sigmoid | 87.56 | 87.16 | 0.02 |
MLP 14-30-2 | Sigmoid | Sigmoid | 86.99 | 86.53 | 0.03 |
Model | Accuracy (Learning) [%] | Accuracy (Testing) [%] | RMSE |
---|---|---|---|
MLP 14-26-2 | 88.43 | 88.92 | 0.01 |
MLP 14-24-2 | 87.92 | 88.07 | 0.02 |
CNN 14-28-28-2 | 85.31 | 86.41 | 0.01 |
Support Vector Regression (SVR) * | 85.19 | 87.89 | 0.02 |
eXtreme Gradient Boosting (XGBoost) | 69.32 | 70.81 | 0.02 |
Polynomial regression | to low highest correlation value obtained (Spearmann’s Rho 0.657) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 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
Rojek, I.; Mikołajewski, D.; Mroziński, A.; Macko, M. Machine Learning- and Artificial Intelligence-Derived Prediction for Home Smart Energy Systems with PV Installation and Battery Energy Storage. Energies 2023, 16, 6613. https://doi.org/10.3390/en16186613
Rojek I, Mikołajewski D, Mroziński A, Macko M. Machine Learning- and Artificial Intelligence-Derived Prediction for Home Smart Energy Systems with PV Installation and Battery Energy Storage. Energies. 2023; 16(18):6613. https://doi.org/10.3390/en16186613
Chicago/Turabian StyleRojek, Izabela, Dariusz Mikołajewski, Adam Mroziński, and Marek Macko. 2023. "Machine Learning- and Artificial Intelligence-Derived Prediction for Home Smart Energy Systems with PV Installation and Battery Energy Storage" Energies 16, no. 18: 6613. https://doi.org/10.3390/en16186613
APA StyleRojek, I., Mikołajewski, D., Mroziński, A., & Macko, M. (2023). Machine Learning- and Artificial Intelligence-Derived Prediction for Home Smart Energy Systems with PV Installation and Battery Energy Storage. Energies, 16(18), 6613. https://doi.org/10.3390/en16186613