Performance assessment of the inverter-based grid connection of photovoltaic systems