Schematic diagram of the working principle of solar generator