fastoad.models.performances.mission.segments.registered.takeoff.rotation module
Classes for acceleration/deceleration segments.
- class fastoad.models.performances.mission.segments.registered.takeoff.rotation.RotationSegment(name: str = '', target: ~fastoad.model_base.flight_point.FlightPoint = <object object>, isa_offset: float = 0.0, propulsion: ~fastoad.model_base.propulsion.IPropulsion = <object object>, polar: ~fastoad.models.performances.mission.polar.Polar = <object object>, polar_modifier: ~fastoad.models.performances.mission.polar_modifier.AbstractPolarModifier = <factory>, reference_area: float = <object object>, time_step: float = 0.1, maximum_CL: float = None, altitude_bounds: tuple = (-500.0, 40000.0), mach_bounds: tuple = (-1e-06, 5.0), interrupt_if_getting_further_from_target: bool = True, engine_setting: ~fastoad.constants.EngineSetting = EngineSetting.CLIMB, thrust_rate: float = 1.0, wheels_friction: float = 0.03, rotation_rate: float = 0.05235987755982989, alpha_limit: float = 0.23561944901923448)[source]
Bases:
AbstractGroundSegment
Computes a flight path segment with constant rotation rate while on ground and accelerating.
The target is the lift-off. A protection is included is the aircraft reaches alpha_limit (tail-strike).
- rotation_rate: float = 0.05235987755982989
Rotation rate in radians/s, i.e. derivative of angle of attack. Default value is CS-25 specification.
- alpha_limit: float = 0.23561944901923448
Angle of attack (in radians) where tail strike is expected. Default value is good for SMR aircraft.
- get_distance_to_target(flight_points: List[FlightPoint], target: FlightPoint) float [source]
Computes a “distance” from last flight point to target.
Computed does not need to have a real meaning. The important point is that it must be signed so that algorithm knows on which “side” of the target we are. And of course, it should be 0. if flight point is on target.
- Parameters:
flight_points – list of all currently computed flight_points
target – segment target (will not contain relative values)
- Returns:
if target is attained, a non-null value otherwise
- get_next_alpha(previous_point: FlightPoint, time_step: float) float [source]
Determine the next AoA based on imposed rotation rate.
- Parameters:
previous_point – the flight point from which next alpha is computed
time_step – the duration between computed flight point and previous_point
- property target: FlightPoint
The base class of the class hierarchy.
When called, it accepts no arguments and returns a new featureless instance that has no instance attributes and cannot be given any.