Mission and Shape Optimization of a HALE Aircraft including Transient Power and Thermal Constraints