Using solar panels to drive inverters