Variable renewable energy grid integration