Title: Advanced Optimization Techniques for Renewable Energy Linked to Electrical Systems