## 5 Conclusions  
This article presented a methodology for designing a PID controller with self-adjusting gains by an FLC. An FLC is a programming technique that brings together the experience of the technical expert who operates a wind turbine and knows the weather conditions that affect the SHAWT. With an FLC, we achieved flexibility in decision making and had an optimal solution for different wind conditions. A statistical analysis of historic wind speed made it possible to determine the installation location of an anemometer, and the mechanical pitch system anticipated blade  
Figure 22: Pitch angle movement. movement at the proper angle, so that when the wind reaches the rotor, it does not cause physical damage by sudden acceleration. A dynamic analysis of the wind flow ensured that the results obtained were not altered by an error in the wind speed measurement caused by objects in the wind path such as the buildings or trees near the turbine installation site. For the simulation of the mathematical model of the system with the control algorithm, and having as input variables step forms for characterizing the wind speed, it was shown that the controller can compensate for nonlinearity of the system, as the temporal transition of the PID controller gains allow an appropriate response in different wind conditions. It could be observed that the pitch angle positioning was faster in wind speed increments and, consequently, the shaft rotation speed was kept for a 37% longer time in nominal values, compared to the response obtained from the classic PID controller. With the implementation of the FLC-PID controller in the wind turbine, the exceeding of the nominal speed of the generator shaft was reduced by 20%. These data conclude that there is a lower risk of damage to the operation of the rotor due to vibration or mechanical fatigue and reduces the risk of electromagnetic saturation in the generator. Both imply operation stoppage due to maintenance, repair costs, and production losses. Under normal operating conditions, with the proposed FLC-PID controller, an increase in generated energy of 7% was obtained compared to the classic PID controller, because it was possible to maintain the generator rotation at nominal speed even with a reduction in wind speed. The fast response of the controller causes the pitch angle to be positioned at an angle that allows the wind momentum to be recovered, and there is no rotor deceleration. The results obtained prove that with the implementation of the proposed FLC-PID, it is possible to increase the performance of a SHAWT. Therefore, the article presents a great contribution in the field of wind turbines, as researchers have neglected the use of SHAWTs. Scientific research has concentrated on increasing power generation in a large turbine, as the only purpose is commercialization. The use of wind turbines for energy generation in smaller quantities for own consumption has been left aside. This research provides theoretical resources for researchers or manufacturers to promote the efficient and safe use of SHAWTs in places with limited wind resources, or places where it is difficult to implement a conventional energy grid. Mainly, the authors want to contribute to the increase in electric energy generation by renewable and environmentally friendly means. The scientific contribution of this research is important because, despite the intense research in the study of wind turbines, the field of SHAWT has not been relevant. The improvement in a power generation system becomes an opportunity to meet the energy demand by renewable means when the wind resources are limited. It is important to advance energy self-sufficiency individually in buildings with large spaces such as universities, industrial parks, small towns, or places with difficult access. Future work suggests taking advantage of recent advances in computational capabilities such as machine learning based on actionable information.