Optimal Control And Energy Management For Hybrid Aircraft