Electromagnetic transients of grid-tied photovoltaic systems based on detailed and averaged models of the voltage-sourced converter | IEEE Conference Publication | IEEE Xplore