A novel PV-modular multilevel converter for building integrated photovoltaics