Integration with renewable energy sources