Optimal Control for Electrically Propelled Aircraft and Urban Air Mobility Network