When descending through the atmosphere, solar panels can be employed as air brakes. Solar panels create different amounts of power depending on the distance between the spaceship and the sun. It generates more electricity when it is close to the sun and less power when it is far away from the sun.