Arm power control of the modular multilevel converter in photovoltaic applications