Model of soft-switching converter and power control of grid-connected photovoltaic systems