Grid-connected photovoltaic power systems