Modeling and Control of a Three Phase Voltage Source Inverter with an LCL Filter