Comparative study of SiC- and Si-based photovoltaic inverters