Modeling Optimization and Intelligent Control Techniques in Renewable Energy Systems