RCAIDE.Library.Mission.Segments.Climb.Constant_Throttle_Constant_Speed
Constant_Throttle_Constant_Speed#
Functions
|
Sets the specified conditions which are given for the segment type. |
|
Unpacks and sets the proper value for body angle |
|
On each iteration creates the differentials and integration funcitons from knowns about the problem. |
- unpack_body_angle(segment)[source]#
Unpacks and sets the proper value for body angle
- Parameters:
segment (Segment) – The mission segment being analyzed
Notes
This function handles the initialization of the body angle for a climb segment with constant throttle and constant speed.
Required Segment Components
- segment:
- state:
- unknowns:
- body_anglearray
Aircraft body angle [rad]
- conditions:
- frames:
- body:
- transform_to_inertialarray
Rotation matrix from body to inertial frame
- Returns:
Updates segment conditions directly: - conditions.frames.body.transform_to_inertial
- Return type:
None
- initialize_conditions(segment)[source]#
Sets the specified conditions which are given for the segment type.
Assumptions: Constant throttle estting, with a constant true airspeed
Source: N/A
Inputs: segment.air_speed [meters/second] segment.altitude_start [meters] segment.altitude_end [meters] segment.state.numerics.dimensionless.control_points [Unitless] conditions.freestream.density [kilograms/meter^3]
Outputs: conditions.frames.inertial.velocity_vector [meters/second]
Properties Used: N/A
- update_differentials_altitude(segment)[source]#
On each iteration creates the differentials and integration funcitons from knowns about the problem. Sets the time at each point. Must return in dimensional time, with t[0] = 0
Assumptions: Constant throttle setting, with a constant true airspeed.
Source: N/A
Inputs: segment.climb_angle [radians] state.conditions.frames.inertial.velocity_vector [meter/second] segment.altitude_start [meters] segment.altitude_end [meters]
Outputs: state.conditions.frames.inertial.time [seconds] conditions.frames.inertial.position_vector [meters] conditions.freestream.altitude [meters]
Properties Used: N/A