Automatic control of tethered airplanes for kitepower applications