A Machine Learning-Based Novel Energy Optimization Algorithm in a Photovoltaic Solar Power System

exception. Photovoltaics will be able to take advantage of some of their most signi ﬁ cant advantages as a result of this marketplace, including the elimination of transmission losses and the generation of power at the point of sale. Concentrated photovoltaic (CPV) technology, on the other hand, represents a viable alternative in the quest for ever-lower normalised energy costs and ever-shorter energy payback times. Material, components, and manufacturing techniques from allied sectors, particularly the power electronics industry, have been adapted to lower system costs and time-to-market for the system under development. The LFR is less than 30 mm wide to maximise thermal e ﬃ ciency, and a densely packed cell array has been used to maximise electrical output. The Matlab simulations show that the proposed machine learning-based LFR technique has a greater concentration rate than the present LFR method, as demonstrated by the results.


Introduction
The usage of distributed energy resources (DERs) including solar power and wind has increased dramatically around the world in recent years [1,2]. Furthermore, solar energy is a completely free, easily accessible, and scalable renewable resource that may be used in a variety of applications and shown in Figure 1 [3]. The utilisation of solar panels to generate considerable amounts of electricity without the use of fossil fuels will enable the world to transition to a clean energy economy. Several international rules and financial incentives have been implemented to increase solar energy share in the smart grid [4]. It will be difficult for photovoltaic (PV) power plants to expand on a large scale if there is uncertainty in the real-time control and economic benefits they provide. To mitigate the negative effects of PV power on the overall power system and to improve system stability, it has become more important to employ reliable forecasting methods for precisely anticipating PV power [5,6]. The utilisation of more detailed source data can be utilised to develop more advanced forecasting models, which can then be used to attain an increased average accuracy rate of PV power forecasts using the current power grid smart electricity metres [7].
It was impossible to design a high-efficiency solar energy conversion system long ago while keeping costs down. Using normal methods, it is difficult to evaluate and predict the heat transfer and storage characteristics of a typical solar energy conversion device, such as a solar water heater (SWH) [8]. For the high-performance SWH design, it is vital to be familiar with the relationships that exist between external settings and thermal performance coefficients (CTP). On the other hand, some relationships are challenging to understand for a number of reasons, including [9]. Measurements take time, control experiments are found difficult for conducting, and currently, no model adequately integrates external settings with inherent SWH properties. Methods for assessing energy system attributes [10,11] and enhancing system performance [12][13][14][15] are currently at the forefront of technological development. Although there are certain exceptions to this rule, there are a few. Due to these challenges, as well as cost constraints, the logical design of high-performance SWHs is significantly hampered.
The fact that machine learning assists us in precisely determining the values of CTP with only a few easily measured independent variables is fortunate for us. Using a nonlinear fitting approach and a machine learning technique with proper algorithms, assuming the database is large enough to learn from the correlations in the data, this can be accomplished with relative ease. Using this technique, we can obtain a prediction from the predictive model with-out having to determine the unique physical models for each CTP. As these research findings illustrate, machine learning technologies have a great deal of potential in the field of energy systems. Power systems are complex, dynamic networks of electrical components that operate in a dynamic environment. The evolution of electricity systems has occurred over several decades. Economic, technological, environmental, and political motivations have all played a role in bringing about these transformations [1][2][3]. In a smart grid system [4,5], both energy and information are sent back and forth amongst the numerous stakeholders, allowing for bidirectional energy flow as well as bidirectional information flow. Several factors have contributed to the disruption of the energy system. As a starting point, the rising reliance on renewable energy sources by the power system introduces greater uncertainty. Identifying solutions that allow for the adoption of distributed energy resources in a deregulated electricity market becomes more difficult as customers become more involved in the market [6,7].
To address these concerns, effective grid planning and operating procedures are required. As a result of the ongoing grid changes [8,9], both commercial transactions and the physical flow of electricity are becoming increasingly complex. Because of the abundance of data and the instability of information, decision-making has become more difficult than it used to be [10,11]. Future smart grids will consequently necessitate the development of systems that can continuously monitor, predict, and schedule energy consumption and output in real-time, as well as learn and make decisions.

Related Works
Many power system challenges can be broken down into a set of sequential decisions that must be made one after another. Traditional methods include things like programming, convex optimization, and heuristic approaches, to name a few. The advantages and disadvantages of these methods can be better understood by contrasting them with optimisation algorithms on a qualitative level [16,17]. The mathematical approach known as Lyapunov optimization is an example of a classical mathematical approach [18]. There are several advantages to this strategy, including exact mathematics and real-time management. Because it is based on explicit objective functional expressions, it cannot be used to abstract away many real-world optimization option scenarios from the optimization problem [19]. The validity of the Lyapunov criterion in complicated, highdimensional settings is also in doubt, according to some researchers.
For any programming style, such as mixed-integer programming, dynamic programming, or stochastic programming, there are a variety of options to choose from. These strategies can be used for a variety of problems, including sequence optimization problems [20][21][22][23][24][25]. Despite this, it is required to start over with each iteration of this strategy because the results are so complex. Aside from that, the expense of computation makes real-time decision-making impractical in some circumstances. It is difficult to effectively   International Journal of Photoenergy predict renewable energy generation and demand in realworld situations using computer-aided forecasting techniques [26][27][28][29][30]. In the field of heuristic techniques, particle swarm optimization (PSO) [31,32] and genetic algorithms (GA) [33,34] are two examples. The application of a heuristic technique to address optimization problems, particularly nonconvex optimization problems, is effective in dealing with the challenge of large data sets and complex situations. However, because they cannot be quantitatively verified, these procedures are less dependable than other alternatives [35]. It is not necessary to have an exact objective function when using machine learning techniques, as is the case with convex optimization approaches. For its part, machine learning examines the decision-making process in the context of the data that is fed into it. While convex optimization approaches have problems dealing with huge datasets, machine learning does not have this problem. The major importance of the proposed machine learning-based approach is to produce the solar power optimization in the automatic. Hence, there is the result, and computational accuracy was increased. If these attributes get higher values, then, the results are getting huge. So the machine learning model was introduced in power optimization. The current status of the system indicates that machine learning generates online decisions in real time rather than relying on a set of rules that have been established in advance. Machine learning, in contrast to heuristic methods, is more stable and better suited for decision-making tasks than these methods.

Background
To focus sunlight onto a stationary absorber, Fresnel reflectors with long, thin segments use a shared focal point. Using a secondary concentrator, the beams are reflected within the accepted angle of incidence. The absorber is responsible for converting this concentrated energy into the thermic fluid.
Power or other commercial reasons can be generated through the use of a heat exchanger. The LFRSC modular components can be joined together to form a bigger system, depending on the application being addressed. A rooftop collector is built with Fresnel mirrors and a secondary concentrator with CPCs, which we used in conjunction with the linear Fresnel reflecting mirrors. The PRO-e Package is used to represent the collector assembly and the components that make up the assembly. Radiation from the beam is focused on a stationary receiver employing Fresnel reflectors. The receiver is made up of two absorber tubes made of stainless steel. Secondary CPC reflectors on receivers direct beam radiation to the absorber tube, which serves as the receiver receiving element. A thick pane of glass protects the entire optical system from exposure to the outside environment. Its dimensions are 2.2 metres in length, 1.383% in width, and 0.351% in height, and it weighs 0.351 kilogrammes. Each mirror array in the CPC system is made up of ten mirrors, which is the maximum number allowed. The sunlight is focused onto two parallel tubes of absorber by a total of twenty mirrors with similar widths. The receiver is made up of two absorber tubes made of stainless steel with a diameter of 25 mm. When it comes to optical design, the angle of incidence of the reflecting mirror is considered crucial. Thin mirrors are often utilised to focus on the absorber at the shared focal point of the reflector and the reflector absorber. Reflected radiation from the neighbouring mirrors should not be hindered by the space between them if they are placed close together. As a result, there is no mirror placed beneath the absorber to prevent the shadow generated by this device and the secondary concentrator. When estimating the radii of tube absorbers, the perpendicular drop lengths from point f on reflector rays are taken into consideration. To design the LFRSC, the tubular absorber served as a starting point for the process [1]. The tubular absorber radius can be approximated as half the width of the mirror element [2] divided by its radius. In this case, the first mirror is located 0:5W + f tan (ξ 0 ) distance from the planes, whereas the second mirror is located at 0:5W distance. Values larger than one-half the length of the mirror should be avoided at all costs. As a result, shading will not be provided. The study refers to the first mirror element as Q 1 in Equation (1) for the time being.
where Q 1 is the first mirror location, R is the absorber radius, and f is the focal distance.
The first mirror element inclination is shown below: Upon impacting the second mirror element, its positioning and tilt concerning the aperture plane are adjusted to ensure that it will arrive at its focal point in the proper position. As a result, the first and second mirrors require some more breathing room. As a result, the second mirror shift is referred to as the shift. The second mirror is beginning to shift as in the following equation: The position and tilt of the second mirror w.r.t the aperture plane are critical factors as in the following equation: Generalized equations for the location of shift ðSÞ and its tilt of the n th mirror are obtained using geometrical considerations that are similar to those used in the previous formulations in the following equations: Q n = Q n−1 + W cos θ n−1 + S n , S n = W sin θ n−1 tan 2θ n + ξ 0 ð Þ , 3 International Journal of Photoenergy With S 1 = 0, θ 1 = 0, and Q 1 = 0:5 W + f tan ðξ 0 Þ are considered as the initial values for the optimisation process, and the value of n varies between 1 and K, where K is the number of mirrors elements found at either half of the parabolic concentrators. Shift, tilt, and location can be calculated using the iteration method by calculating the equations above for each mirror element. A total of 20 mirror components are required for a complete module with two absorbers. The secondary concentrator profile is designed based on the relationships shown in the following equations: where f l is the parabola, θ max is the focal length, 2a ' is the acceptance angle, z is the spherical coordinate, and r is the absorber radius.

Proposed Method
With a linear Fresnel reflector (LFR) tracking in the northsouth direction, it was thought that the reflector would be able to produce a level of performance that would be acceptable. Because the collector design is the primary focus of this study, it is critical to determine the maximum power output that can be achieved for a certain operational surface temperature of the absorber pipe. The machine learning was supported for automation predictions and optimization. Hence, the reduction of human level was possible. So the optimization will get accurate results while the manual calculations. The proposed model operates on the Carnot cycle. The Carnot cycle eliminates the need to make assumptions regarding piping configuration, flow rate, or the heat engine or heat transfer fluid that would be required to model a complete plant. Even though the energy approach has significant disadvantages, it is still extensively employed in the solar literature, despite the thought taking into account specific applications. The TMY hourly average of energy per unit area (in W/m 2 of the total mirror area of the collector) for an LFR is calculated as follows: where Q is the net transferred heat to external surface of target receiver as in Equation (8) and T r is temperature.
where Q Loss is the term used to describe the heat loss to temperature T a and it changes based on the receiver setups. In the solar literature, the insulated pipes of nonevacuated with evacuated and cover glazing tubes are the two most common types of receivers to be encountered. The amount of heat that can be delivered to a receiver Q in * from a solar collector total mirror area is determined by three factors: direct sun radiation (DNI) on the mirror area A m and the normal incidence η 0 ð0 = θÞ of the collector. The losses incurred by collectors are not taken into consideration in this computation as in the following equation: In the calculation of optical efficiency and IAM, the following parameters are taken into consideration: reflectance, transmission, absorbance, intercept factor, shadowing, and blocking. Aspects such as the effective mirror aperture area and incidence cosines are also taken into consideration. In order to approximate the elevation of individual mirror elements, the following parameters must be known: the corresponding width (W), slope angle (θ n ), and shift (S n ) of the mirrors that are in operation and this helps in eliminating the shadowing es n shown in the following equation: The height of the sun is often defined by the profile angle, denoted by p, which is the angle θ p between the plane and sun vector that consists of the rotation axes of each mirror. It is important to note that this plane is perpendicular to the tracking axis of the mirror. The computations of the Sun-Earth geometry are not provided in this document. It is required to use an iterative procedure to estimate the correct slope angle when the elevation varies. Depending on the LFR design, a small separation between mirrors can cause reflected rays from surrounding mirrors to be obstructed. It is proposed that the following steps should be taken to remove blocking, and the equation is shown in the following: where h is the receiver height and Q n is the horizontal distance between the receiver tower and mirror element. The LFR is biaxially dependent on the angle of direct sunlight incidence when viewed from different directions. Therefore, the transversal and longitudinal planes IAM ðθ t , θ l Þ were employed in this work as angle modifiers for rays travelling in IAMðθ t Þ, which is the considered vertical plane and is found perpendicular to the axis of rotation, and IAMðθ l Þ, which is perpendicular to the rotation axes. When calculating biaxial IAMs, ray-tracing is frequently employed. IAMðθ t Þ and IAMðθ l Þ are used to compute the overall optical efficiency, which is the total of the transversal and longitudinal incidence angles of the sunbeams. IAMðθ t Þ and IAMðθ l Þ are used to determine the overall optical efficiency. The estimation of hourly stagnation temperatures, T r,max , is 4 International Journal of Photoenergy made possible by an optical efficiency that is dependent on the incidence angle. The temperature reaches equilibrium when the amount of heat lost to the environment equals the amount of heat absorbed by the atmosphere and shown in the following equation.
where U L is the coefficient of heat loss and A r is the receiver area.
The heat loss coefficient is denoted by UL, while the receiver area is denoted by Ar. The captured radiation would be squandered if the stagnation temperature dropped below the desired operating temperature, as we anticipated. As a result, the collector has been rendered inoperable. Heat loss was estimated using a correlation of the parallel plate, which takes into account both convection and radiation heat losses from the receiver's bottom, together with conduction from the insulated sidewalls. Parallel plate correlation was used to estimate the heat loss. This results in a loss of the form Q Loss equal to the following equation: 4.1.
Classifier. An input layer I with a two-dimensional representation is followed by hidden convolution and pooling layers, as well as an output layer that is totally connected. Each convolution layer neuron has nonlinear kernels, which divide input into receptive fields as it passes through the layer. Following the completion of convolution at the k th kernel in the l th convolution layer, we can compute the following results in the following equation: where i c ðx, yÞ − ðx, yÞ th is the element of channel c for I and e k l ðu, vÞ − ðu, vÞ th is the element of kernel k for layer l. Using a sweeping average or maximum function across tiny patches of convolution output, it is possible to avoid overfitting on the training set, resulting in an even lower dimension of the returned features. Finally, the fully connected layer establishes a connection between the collected features and the target label of the underlying classification or regression operation. The classifier is the circuit which produces the different heat source classification. Each convolution layer neuron has nonlinear kernels, which divide input into receptive fields as it passes through the layer. Based on this classification, the proposed model provides the quality optimization while compared with the existing models. In applications where local spatial and temporal correlations of data are important, the convolution and pooling layers of the CNN achieve state-of-the-art performance because they process their local input patches at the same time, a feature known as parallel processing. As a result, in real-world applications, our model outperforms SAE, ANNs, and LSTM models. By using a densely packed cell array to maximise electrical output, the LFR is less than 30 mm wide, which helps to maximise thermal efficiency. To maximise electrical output, the LFR is less than 30 mm broad. In addition to the kernel-based CNN utilised in the previous study, recent research has developed spectral graph convolutions to capture spatial patterns in graph-structured power system datasets. The convolution operation of the graph CNN is computed for an N-node graph with D -dimensional features X ∈ R N×D , adjacency matrix A, and degree matrix D in the following equation: where W is the weighted matrix at the convolution layer. The linear Fresnel reflector was constructed and produces the quality solar tracking in the north-south direction. So the solar light energy optimization will increase due to these activities. There is also no mirror placed beneath the absorber to prevent the shadow generated by this device and the secondary concentrator.

Results and Discussions
The results of the proposed LRF with existing models are shown between Figures 2-5. The Analytical Hierarchy Process (AHP) was used to handle the issue of assigning importance to client needs in QFD research, which was previously addressed by other methods (AHP). For concept design modifications to be evaluated against consumer and technical criteria as well as their priorities while using an AHP framework, the addition of a Pugh matrix must be made to the framework. It is a difficult technique to execute an AHP, QFD, and Pugh matrix combination because of their interdependence. When used together, QFD and AHP are complementary strategies that can be utilised to aid in the prioritisation of technical difficulties. This will not be accomplished just through the use of the Pugh matrix. As a result, the more difficult technique was able to discern between the different notions. The researchers emphasised that they had a 15% preference for the Elevation Linear Fresnel Reflector (ELFR) design over the circular method in their study. Here, the Matlab is the simulation tool used to compute the performance of the proposed model. This tool is used to gather the results and help to compare the proposed model with the existing models. An often-heard criticism of quantitative factor analysis and adaptive hypothesis testing is that the results can be highly dependent on the criteria that are used in the procedure. As a result of this selection, various models emerge as the greatest. To address this issue, thorough technical and economic research, as well as comparisons with existing LFR designs, has been carried out.
The improved performance of the LFR can be observed immediately after installation. The LFR increases energy consumption by 13%, adds 274 additional operating hours per year, and reduces land use by 17% by keeping the working temperature at 300°C all year. The H-variable arrangement, which is a layout of horizontal mirror spacing specified for shadowing at a sun transverse angle of 45°, is an improvement when compared to the present International Journal of Photoenergy arrangement. The energy increase over a standard narrow constant horizontal mirror spacing configuration, denoted by the H-constant, is predicted to be 23%. The annual optical efficiency of the LFR is expected to be 49%, compared to 39% for the H-constant models. These figures are equal when compared to the annual optical efficiency of the Fresdemo LFR, which is 43% every year. Even though the LFR has certain potential financial drawbacks, it is still worth investigating. The cost per unit of energy increases by 2% and 6% for H -constant due to the cost associated with elevating components. In a scenario with high land costs, the cost per unit of energy for the LFR would be reduced by 60% if component costs were reduced by 60% compared to the H-constant.
The design that is most appropriate for a given situation will be dictated by the priorities that have been established. The LFR has the potential to be extremely beneficial, when additional factors are taken into consideration, effective land use becomes even more advantageous. Solar thermal power plants will benefit from higher temperatures for longer periods during the day, increasing the number of full load hours and the amount of storage available. Major modifications are required for an electricity-producing plant that uses ELFRs to overcome the system's rising capital costs and increasing complexity. The utilisation of more detailed source data can be utilised to develop more advanced forecasting models, which can then be used to attain an increased average accuracy rate of PV power forecasts. This was improving the use of minimum utilisation while the power forecasting was dry. The constraints of the LFR must be addressed, and the cost-effectiveness of the technology must be enhanced. To keep the cost and complexity of the prototype as low as possible, the team developed serial   International Journal of Photoenergy communication boards that ease control while minimising cabling and auxiliary power demands. The adoption of embedded control systems in large-scale installations would be advantageous because it would make things even easier to manage. The tracking of solar lights was too important to optimize the power in various proposed methods. The computation of the different methods getting the motor rotation on solar light tracking is slightly less than the proposed model predictions. The proposed model analyzes the high power location and time in the smart machine leaning method. So the proposed model gets more results compared with the other existing models.

Conclusions
In this paper, we study the distributed rooftop solar, i.e., LFR performance. LFR can take advantage of some of their most significant advantages, such as the removal of transmission losses and the generation of electricity at the point of sale. Concentrated solar power technology, on the other hand, is a realistic option when it comes to achieving ever-lower normalised energy costs and ever-shorter energy payback times. For CPV applications, materials, components, and manufacturing techniques from the power electronics sector, in particular, have been adapted to lower system costs and time to market, as well as to improve system performance and reliability. As a result of using a densely packed cell array to maximise electrical output, the LFR is less than 30 mm wide, which helps to maximise thermal efficiency.
To maximise electrical output, the LFR is less than 30 mm broad. The Matlab simulations suggest that the proposed machine learning-based LFR technique has a higher concentration rate than the current LFR technique, which is supported by the results of the experiment.

Data Availability
The data used to support the findings of this study are included within the article. Further data or information is available from the corresponding author upon request.