Modeling, Control, and Operation of a Grid-Tied Solar Photovoltaic Inverter in Unbalanced Conditions