Solar photovoltaic energy generation and conversion --from devices to grid integration