### Review of Previous Work
Some systems are composed of a single energy generation source, such as solar photovoltaic energy, which can only be used during the day as long as solar radiation is present. During the night, it is appropriate to design battery backup systems. Within this same group of renewable energies, there are other technically useful systems, such as ground heat, organic solid waste, and ocean waves [26]. The techno-economic analysis of an air-to-water heat pump assisted by a photovoltaic system is key to evaluating the viability and profitability of this technology in buildings [27; 28; 29; 30; 31]. This type of heat pump extracts thermal energy from the outside air for heating, cooling, or domestic hot water production by using electricity as the energy source [32]. By integrating it with a photovoltaic system, it is possible to power its operation with solar energy, significantly reducing electricity consumption from the grid and, therefore, long-term operating costs [33]. The analysis considers variables such as the initial investment, installation costs, maintenance, seasonal efficiency, equipment lifespan, and estimated annual energy savings [34]. Although the initial investment can be high, especially for the photovoltaic system, the return on investment is accelerated thanks to lower electricity bills and possible tax incentives or energy subsidies. Furthermore, the levelized cost of energy (LCOE) of the heat pump-photovoltaic combination is generally competitive with traditional systems, especially in regions with high solar radiation [35]. At the technical level, the coefficient of performance (COP) of the heat pump is evaluated in different climate scenarios and how solar generation can efficiently cover electricity demand during the day [36]. This type of analysis also considers the environmental impact, highlighting the reduction in CO2 emissions compared to conventional gas or grid-powered electricity systems [37]. Overall, this solution offers a highly efficient and sustainable alternative for air conditioning and hot water in residential, commercial, and service buildings [38; 39; 40]. Recent studies have examined residential heat pump systems integrated with photovoltaic (PV) technology. Researchers have explored various control strategies and methods for storing surplus energy. For instance, [PERSON] et al. [41] evaluated a commonly deployed system aimed at efficiently managing energy flows to supply both thermal and electrical energy to an office building. Their energy management system (EMS) incorporates optimized lithium-ion battery (LIB) charging to prevent prolonged high states of charge (SOC) and continuously monitors latent thermal energy storage (TES) conditions to dynamically adjust heat pump (HP) operation. The integration of an air-source heat pump with PV panels enabled an increase in self-sufficiency by superheating the TES during PV-powered operation. This setup achieved 11% energy savings using an 800 L TES and a simple rule-based control system. [PERSON] et al. [42] conducted a techno-economic evaluation of hybrid solar-assisted air-source heat pump systems installed in university dormitories. Their study included the system's design, implementation, and monitoring at the Mannheim girls' residence of the Free State Central University of Technology. The project involved retrofitting a 2000 L (24 kW) electric boiler with the hybrid system. The results showed a strong financial return, with an annualized ROI of 14.39% and a profit margin of 87%. In a different approach, [PERSON] et al. [43] explored a geothermal energy system for a bioclimatic house, utilizing a heat pump with a horizontal heat exchanger. Their method focused on predicting the thermal output of the heat pump using historical sensor data. Promising results were obtained through the application of hybrid deep learning models that combined recurrent and convolutional neural networks. Meanwhile, [PERSON] et al.