예제 #1
0
 def flight_sequence(self) -> List[Union[IFlightPart, str]]:
     return [
         AltitudeChangeSegment(
             target=FlightPoint(equivalent_airspeed="constant", altitude=400.0 * foot),
             engine_setting=EngineSetting.TAKEOFF,
             **self.segment_kwargs,
         ),
         SpeedChangeSegment(
             target=FlightPoint(equivalent_airspeed=250.0 * knot),
             engine_setting=EngineSetting.TAKEOFF,
             **self.segment_kwargs,
         ),
         AltitudeChangeSegment(
             target=FlightPoint(equivalent_airspeed="constant", altitude=1500.0 * foot),
             engine_setting=EngineSetting.TAKEOFF,
             **self.segment_kwargs,
         ),
     ]
예제 #2
0
 def flight_sequence(self) -> List[Union[IFlightPart, str]]:
     self.segment_kwargs["engine_setting"] = EngineSetting.IDLE
     return [
         AltitudeChangeSegment(
             target=FlightPoint(equivalent_airspeed=300.0 * knot, mach="constant"),
             **self.segment_kwargs,
         ),
         AltitudeChangeSegment(
             target=FlightPoint(altitude=10000.0 * foot, equivalent_airspeed="constant"),
             **self.segment_kwargs,
         ),
         SpeedChangeSegment(
             target=FlightPoint(equivalent_airspeed=250.0 * knot), **self.segment_kwargs,
         ),
         AltitudeChangeSegment(
             target=FlightPoint(altitude=self.target_altitude, equivalent_airspeed="constant"),
             **self.segment_kwargs,
         ),
     ]