The link above will take you to a program coded to rotate the SolarNano Generator. Technically it would take input from various sensors for detecting the different weather and climatic conditions on planet Howler. The sensors detect the direction from which the generator is receiving solar energy. Some sensors are also used to detect snowfall.
The basic aim of this program is to rotate the generator (up to a certain degree) based on the climatic conditions sensed. During winters (snowfall), the generator flips over completely exposing the Triboelectric Nanogenerator. Additionally, this program gives the degrees by which the generator needs to rotate during photoperiods, to reach the position from which maximum about of solar energy is absorbed. Note: The angle measure is for the the angle between an imaginary horizontal plane and the perpendicular line drawn from the center of the generator.