## 1 Introduction  
### General Context  
The world of electrical energy production is turning to the renewable resources sector to mitigate pollution due to the use of fossil fuels in energy production [1]. In addition, it is well known that fossil fuel is a finite resource; so, those sectors that use fossil fuels must start looking for an alternative. Among the best alternatives, the production of energy based on renewable resources such as solar, wind, tidal, thermal, and others has been presented, taking the solar resource as one of the most prominent. In this sense, multiple investigations have been developed around the generation of electrical energy based on solar resources. These studies are focused on many aspects, such as the increase in the efficiency of photovoltaic (PV) panels, the integration of the PVs with other distributed resources such as batteries, and studies related to the solar energy potential of the roofs of houses [2].  
The studies of the solar energy potential are a great contribution to specialized literature, since they provide the methodology to analyze solar power potential in any location. This aspect is directly linked to social development, since, in most cases, low-and-middle-income communities are the ones that have the most difficulties in accessing a quality, reliable, and constant energy resource [3, 4]. In this part of the study, the use of renewable resources already has great environmental, economic, and technical benefits within the framework of the electricity market. However, in order to implement an electric power generation system based on PV panels, it is necessary to carry out a prior assessment of the solar energy potential and to estimate the energy consumption through the load profiles associated with the community under test. This makes it possible to manage the use of energy resources, such as batteries or the main power grid.  
The study of the load profiles of a community allows estimating a more precise and reliable energy system, which will generate economic and technical benefits for the community where the resource will be installed. A well-estimated energy system must consider that the installed power corresponds to the demand. In addition, the system must be able to supply the demand of loads at any time of the day if it is going to depend only on the PV and batteries. It must also be able to operate together with the main power grid when required (this would be in cases of energy sales and support in the network for stabilization, among others).  
All the research around load profiles [2; 4; 5; 6] and energy management have a great impact on the academic research world, as well as in relation to energy markets, energy management, and social development programs, among others. One of the most cited studies is the modeling of household load profiles and the analysis of the solar energy potential of the roofs. This joint evaluation makes it possible to analyze the development potential of some locations with low or medium resources. To develop this work, it was necessary to apply different technological tools, software, and electronic devices that allowed us to obtain all the necessary data to develop this document. One of the software implemented was PVWatts, which allows analyzing the solar potential of the rooftop of some residences from some measurements of the roof estimated by satellite. Another tool used to obtain real data from load profiles were smart meters; the data collected by smart meters were very useful to model loads and especially to validate the load profile methodology proposed in this document. The software used to model the load profiles was Matlab Simulink, which allowed us to build a model of the load profiles.