Control of Power Inverters in Renewable Energy and