3.1. Technical Description of Home Energy Management System
Home Energy Management Systems (HEMSs) are designed to regulate household devices and oversee the energy and data distribution within a residential building. These systems are responsible for interacting with end-users through various platforms, providing real-time tracking of energy use in the home. HEMSs are designed to optimize energy use, decrease costs and contribute to a more sustainable lifestyle. Indeed, users can participate in demand response programs by adjusting their energy utilization across the day and implementing specific peak shaving strategies to lower electricity usage during peak pricing periods. HEMSs assume a crucial role when renewable energy sources, such as photovoltaic and wind turbines, are integrated into a domestic energy context. In this case, users can prioritize the use of renewable sources and manage the battery energy storage system to meet or exceed energy requirements. HEMSs can also interact with the electrical grid to optimize energy costs and enhance grid stability, swapping excess energy with the grid or absorbing power during periods of low electricity rate. Finally, the HEMSs continuously monitor the state of charge of the battery and adjust battery charging or discharging according to the household’s energy needs and the availability of renewable energy.
Figure 2 illustrates an example of a home energy management system [
20].
Basically, it is dependent on automatic and communicating systems, and its components are detailed below:
Sensors and Smart Meters: for the collection of real-time data on energy consumption and generation. Sensors are used to identify temperature, humidity, movement, light, and pressure.
Communication and connectivity device: communication between sensors and meters; both wireless and wired communication technologies are usually employed.
Control algorithms: for the analysis of the collected data and for decision-making regarding energy management. These algorithms incorporate techniques such as machine learning, optimization, and predictive modeling to optimize energy use by considering user needs, energy costs, and external factors like weather forecasts.
Actuators and devices: include traditional and smart appliances such as smartphone applications, web portals, or dedicated control panels that allow users to view in real-time energy usage information, adjust settings and receive suggestions for energy-saving actions.
Integration with renewable energy sources: wind turbines or solar panels are the most employed into the home energy system. These systems can smartly manage energy generation, storage and consumption to optimize the use of self-generated renewable energy and minimize reliance on the grid.
To identify a battery energy storage system within the domestic renewable energy context, several key characteristics can be highlighted. Firstly, the system must be integrated with renewable energy sources, such as photovoltaic panels or wind turbines, enabling efficient storage of surplus energy generated during peak production periods. Additionally, the system should prioritize self-consumption of renewable energy, reducing reliance on grid electricity. Another distinguishing feature is the system’s ability to interact with the electrical grid in a dynamic manner. This includes exporting excess of energy during high production periods or absorbing grid power during low-cost periods to stabilize energy demand and supply. Furthermore, the system’s integration with advanced control algorithms ensures precise management of the energy, including real-time adjustments based on household consumption patterns, renewable energy availability, and battery state of charge. The system’s scalability, which allows for adjustments to storage capacity as energy needs grow, also marks its suitability for domestic applications. Off-grid functionality, where the system can power critical appliances during grid outages, is another crucial aspect that aligns these systems with user demands.
A series of factors must be considered to distinguish the different home energy systems. These include the type of renewable source integrated into the domestic system, the algorithm employed to optimize energy consumption and battery management, the use of energy forecasting to predict energy demand, and the battery type and capacity used as a storage system. The following two sections explain the primary renewable energy sources integrated into these systems, along with a discussion of their respective mathematical models and the predictive algorithms that manage energy flows and optimize system efficiency.
3.2. Home Renewable Energy Sources
Solar panel systems and wind energy turbines are the most widely adopted renewable energy sources for domestic applications. Among the studies analyzed in this review, photovoltaic energy is always incorporated in home energy systems. However, around 23% of the papers deal with coupling solar energy with wind turbines, reflecting a less frequent but complementary use of wind energy in such systems. Both PV and WT technologies are highly dependent on regional characteristics and weather conditions.
Figure 3 shows a representative example of solar irradiance and wind velocity values measured over 96 h, providing insights into their variability and the potential for hybrid system integration [
15].
Combining domestic renewable energy systems with battery storage solutions has become an increasingly popular approach for enhancing energy sustainability in domestic context. The mathematical models of the solar photovoltaic system and wind turbine generation systems are presented below, highlighting the key parameters that influence the energy development.
Photovoltaic systems convert sunlight directly into electrical energy using semiconductor materials, typically silicon. Weather conditions, the time of day, and geographic location heavily influence their performance. As a result, the use of energy storage systems to save exceeding energy during peak sunlight for later use when sunlight is limited or unavailable is essential. The power output (PSPV) of the PV array, can be determined as follows [
22]:
where
GPV is the PV rated capacity expressed in kW,
fPV is the PV derating factor,
IT refers to the amount of sunlight reaching the PV array expressed in kW/m
2, I
T,STC is the solar incident radiation at standard test conditions (
STC), i.e., 1 kW/m
2,
TC is the cell temperature of the PV in °C,
αP represents the power temperature coefficient (%/°C),
TC,STC is the cell temperature under
STC (25 °C) of the PV. Equation (1) describes one of the simplest mathematical models of a PV system. However, in certain scenarios, variations in cell temperature—due to ambient conditions, solar irradiation, and wind speed—can significantly impact system performance. In such cases, this model can be enhanced by integrating a temperature-dependent model that takes into account wind speed and ambient temperature. The cell temperature can then be expressed as:
where
Ta is the ambient temperature,
τα can be obtained from the manufactures specification and represents the effective absorptance–transmittance of the PV panels,
ηPV is the efficiency of PV array, and
UL indicates the heat transfer coefficient from the environment.
τα can be measured at Nominal Operating Cell Temperature (
NOCT) as:
where
TC,NOCT,
Ta,NOCT and
IT,NOCT indicate the nominal operating cell temperature and the atmospheric temperature and the irradiation of the solar at nominal operating cell temperature, respectively. Finally, the temperature of the cell can be expressed as:
On the other hand, the wind turbine generation (WTG) systems generate electricity by converting the mechanical energy created by wind into electrical power. Again, wind energy is subjected to variability in wind speeds, which can affect the consistency of power generation. Energy storage systems can help address this challenge by storing excess energy produced. WTG is also strongly dependent on geographic location and local wind conditions. The general equation relating the power generated by the wind turbine and the wind speed is non-linear [
23]. However, within certain operating range and in specific context where only the average energy production and the feasibility of the installation are needed, like the domestic one, a linearized model can be adopted [
24].
In this case, the power generated by the wind turbine (
Pwt) can be expressed as follows [
22]:
where
Pr indicates the rating of a single
WTG,
V represents the wind speed at a desired height,
Vcin and
VCO are the cut-in speed and cut-out speed, respectively, and
Vrat is the rated wind speed. The wind speed is also strongly dependent on the height:
where
V is the wind speed at the height
H and
Vref is the wind velocity measured at the reference height
Href. The exponent α also depends on the surface roughness, time of day, wind speed, season and temperature. Typically,
α is assumed to be 0.142 for steady wind flow, but it can range from 0.4 for rough surfaces in temperate regions to 0.05 for smooth surfaces in tropical areas [
22].
3.3. Classification of Algorithms and Control Strategies in Home Energy Management Systems
The energy management in Home Energy Management Systems (HEMS) requires the integration of optimization algorithms and control strategies. The optimization algorithms focus on strategic decision-making, such as energy allocation, demand response, and cost minimization, while control strategies operate at the tactical level, ensuring real-time system stability and response to dynamic conditions. The complexity and effectiveness of these algorithms and control strategies significantly influence the performance of the HEMS. The main algorithms can be classified based on approaches employed, and they are mainly divided in four broad categories: metaheuristic, exact, artificial intelligence (AI) and hybrid ones [
25].
Table 3 summarizes the various types of approaches employed in the papers analyzed in this review, distinguishing between optimization algorithms and controllers/control strategies. Most of the works, 50%, adopted optimization-based algorithms (exact), characterized by stable solutions, precision and reliability, and are suited for smaller-scale problems. 37.5% of them implemented metaheuristic approaches rather used in scenarios requiring practical, flexible and computationally feasible solutions. 9.4% of the selected articles adopted artificial intelligence algorithms to predict energy demand in the context of home renewable energy systems. Finally, only two papers (2.4%) evaluated the performance of hybrid algorithms, combining the K-medoids algorithm and the Elman neural network in one case, and the Genetic algorithm and the DICOPT in the second ones.
From a modeling perspective, the approaches summarized in
Table 3 generally share a common structure in terms of inputs, processing variables, and outputs.
The typical inputs required by these models include photovoltaic and/or wind generation profiles (irradiance, wind speed, and power output), residential electrical load demand, and battery parameters such as nominal capacity, efficiency, and state-of-charge (SoC) constraints. Environmental data (mainly temperature) and, when relevant, economic indicators such as electricity prices or feed-in tariffs are also frequently included.
The outputs of these models typically correspond to the optimized or simulated system performance metrics, including optimal battery size or energy capacity, charge/discharge scheduling, SoC trajectories, and energy self-consumption or cost-saving indicators. In real-time control frameworks, these algorithms also process monitoring data in real time to generate management actions, such as power dispatch commands, demand shifting, or grid interaction signals.
This generalized input–output scheme allows a consistent interpretation of how different algorithmic families—optimization-based, metaheuristic, and artificial intelligence—interact with the physical, operational, and economic parameters of residential battery energy storage systems.
Metaheuristic approaches, such as the genetic algorithm, multi-objective demand-response (DR), and particle swarm optimization, are all classified as optimization algorithms and are employed to tackle complex problems by delivering high-quality solutions, although they do not ensure the discovery of the absolute best solution. Amer et al. [
41] introduced a multi-objective DR strategy to optimize the scheduling of different loads and energy supplies, taking into account utility price signals, customer satisfaction, and the health status of the distribution transformer. The model demonstrated a 38% reduction in electricity costs as well as an 18% decrease in the overall peak demand on the distribution transformer. Arun et al. [
34] implemented a sizing algorithm based on genetic algorithm (GA) to choose the size of the renewable energy resources and battery storage with the aim of maximizing the efficient use of available renewable energy. Their results demonstrated that the proposed system was able to handle both programmable and unprogrammable loads, yielding considerable savings by keeping total household energy consumption within the maximum demand threshold and by optimizing battery operation most efficiently.
Exact approaches and the optimization-based algorithms, such as dynamic programming, model predictive control and Mixed-Integer Linear Programming methods, ensure the finding of the best possible solution but can be highly demanding in terms of computational resources, particularly for intricate or large-scale problems. Among these, only the Model Predictive Control (MPC) and the Proportional–Integral (PI) Control Algorithm are commonly employed as controllers or control strategies. The MPC algorithm integrates optimization and control by predicting future system behavior and adjusting actions accordingly, while the PI control algorithm focuses on maintaining system stability through continuous real-time adjustments of key parameters. In the paper of Bhoi et al. [
55] A dynamic programming (DP) algorithm was used as an optimization algorithm to determine the state of charge schedule for the battery storage in renewable energy sources, minimizing consumer energy costs and maximizing the energy storage state of health. Simulation results indicate a strong potential to enhance the financial returns of a photovoltaic system with battery energy storage (BES) connected to the grid and optimized using a time-of-use tariff. Medeiros et al. [
64] proposed an algorithm based on mixed integer linear programming (MILP) for real-time management of the distributed residential energy resources. The proposed method demonstrated significant potential in reducing the adverse effects caused by the unpredictable operation of intermittent renewable energy generation and the unregulated charging of electric vehicles on the electrical distribution network.
The use of artificial intelligence and machine learning-based approaches, such as neural networks, deep learning, and algorithms based on AI techniques, is increasing in HEMS to enhance decision-making processes, optimize consumption, and manage energy storage. Fuzzy-logic controllers, rule-based algorithms and power management algorithms (PMA) are mainly used as controllers or control strategies. Abedi and Kwon [
26] proposed an optimization model combined with a neural network-based forecasting system to dynamically predict uncertainties and optimize battery energy storage operations through an iterative process. The findings showed that the proposed model is suitable for practical use in optimizing residential battery energy storage systems, effectively leveraging solar power to adapt to fluctuating and uncertain electricity demand and pricing. Ademulegun and Moreno Jaramillo [
28] developed a fuzzy-logic-based control system to fulfill user energy needs, determining the appropriate size of the PV array and battery storage to meet essential load demands in a household setting. Their findings revealed that the use of fuzzy logic to manage the power conversion system allowed it to better respond to different situations, such as off-grid operation, low battery levels, fully charged batteries and grid-connected scenarios. The main strength of this design resides in its simplicity, efficiently handling constrained power supply from both the grid and the renewable PV system. This is achieved by using optimally sized storage to support essential loads, providing a predetermined number of days of power autonomy.
Hybrid approaches combine different techniques with the aim of enhancing the system’s ability to manage energy resources dynamically, meet various objectives, and address complex constraints. The newest hybrid algorithms are also strongly adaptable and effective in real-word applications. For instance, Koltsaklis et al. [
84] introduced an optimization algorithm based on a hybrid approach combining the K-medoids algorithm and the Elman neural network. The K-medoids algorithm was used to cluster the training dataset and assist in input selection, while the Elman neural network handled the forecasting. The proposed method determined the optimal day-ahead energy scheduling for all types of loads, including those that are inelastic or can participate in demand–response programs, as well as the charging and discharging schedules for electric vehicles and energy storage systems. Similarly, Zhou et al. [
85] proposed a hybrid method that integrates a heuristic algorithm, the genetic one, and a numerical optimization algorithm known as the DICOPT solver. The scheme of the hybrid solving strategy is shown in
Figure 4. The heuristic algorithm was applied to optimize the sizing of the PV system and the battery energy storage system (BESS), leveraging its strong search capabilities, early convergence, and stable performance. Meanwhile, the DICOPT solver was utilized to optimize the operation of the Home Energy Management System (HEMS) during the lower-level programming stage, leveraging its efficiency in solving mixed-integer non-linear programming problems.
Finally, only two works performed a comparison between different algorithm approaches. Deng et al. [
47] utilized the particle swarm optimization (PSO) and Consensus Alternating Direction Method of Multipliers (C-ADMM) algorithm in the outer and inner loop, respectively, to calculate the optimal size of residential BESS for long-term operational planning. The results demonstrated that the long-term storage planning problem for residential systems can be efficiently addressed using CADMM, thanks to its ability to perform parallel computations. Finally, Tantawy et al. [
39] compared four different optimization algorithms—i.e., GA, PSO, WOA, and SCA—for the optimal scheduling of appliances in single and multiple homes. Results showed that the GA exhibited a longer runtime compared to other algorithms.
In summary, while some algorithms are explicitly designed for optimizing battery size, others focus on different aspects of energy management systems or specific tasks, such as demand forecasting or system control. Nevertheless, these algorithms indirectly impact battery sizing by influencing key decision-making parameters. For instance, optimization-based approaches such as MILP, PSO, and GA are well-suited for multi-objective optimization problems, including determining the optimal battery size. Conversely, algorithms such as Neural Network-Driven Forecasting and Fuzzy-Logic Controllers are primarily employed for energy production and demand prediction, as well as improving the operational control of the system. It is also important to note that algorithms like MPPT, traditionally associated with optimizing the energy conversion efficiency of photovoltaic systems, can indirectly influence battery sizing. Indeed, by maximizing the energy harvested from renewable sources, these algorithms provide indications on the amount of energy that needs to be stored.
It is essential to emphasize that algorithmic approaches are not purely abstract but have a direct influence on battery sizing and operation. For example, optimization-based methods such as MILP or GA explicitly incorporate battery capacity and SoC constraints, thereby shaping system dimensioning. Similarly, experimental trends indicate a shift toward hybrid simulation–experimental platforms, which enable the validation of algorithm performance under realistic conditions. However, standardized evaluation frameworks remain scarce, representing an area for further development.
Moreover, it is worth noting that this review primarily focuses on identifying the main categories of computational methods used in residential BESS research, rather than providing a detailed technical comparison of each algorithm. The studies highlight trade-offs between accuracy, flexibility, and computational effort across various methods, including exact optimization, metaheuristics, and AI-based approaches. Comprehensive benchmarking of these methods is still lacking in the literature and represents a relevant direction for future research. To facilitate a visual comparison among the different algorithmic families,
Figure 5 provides a diagram that summarizes their main advantages and limitations. Each axis represents a key performance dimension—accuracy, computational cost, flexibility, scalability, and ease of implementation—based on the qualitative synthesis of the reviewed papers. Optimization-based (exact) algorithms achieve the highest accuracy and stability, but are penalized by their high computational requirements. Metaheuristic methods exhibit strong flexibility and good scalability, whereas AI-based approaches demonstrate excellent adaptability and predictive capacity, but require large datasets and careful tuning. Hybrid approaches tend to offer balanced performance, combining complementary strengths of their constituent techniques.
Battery energy storage systems (BESSs) are available in various forms, including electrochemical batteries with high energy and power density, superconducting magnetic energy storage systems known for their high power density, as well as compressed air and flywheel storage technologies. Each of these storage options has numerous advantages, such as rapid response time, increased storage capability and the capacity to deliver peak current. These features make them suitable for a wide range of applications, including the integration in the domestic renewable energy systems. Based on the findings of this review, the only type of battery storage energy system used in the context of domestic renewable energy systems is the electrochemical one. They are indeed advantageous for their high energy and power density. BESSs play a crucial role in the management of the impact that unpredictable behaviors of RESs might have on the smart grid system, contributing to their stability. This is primarily achieved by accurately managing the charging and discharging cycles. When there is excess power generated by renewable energy sources (RESs), the exceeding energy is stored in the BESSs. Conversely, during unfavorable weather conditions, the system depends on the BESSs to provide the necessary energy. In this section, we describe a battery mathematical model to be integrated into the domestic renewable system, the dimension and the chemical composition of the battery storage systems found in the papers selected in this review and the description of some experimental setups used for the characterization of battery storage systems.