Skip to main content

Abstract Class: AutothrottleThrottle

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1777

A throttle controlled by an autothrottle system.

Constructors

Constructor

new AutothrottleThrottle(bus, info, servoSpeed, powerSmoothingConstant, powerSmoothingVelocityConstant, powerLookahead, powerLookaheadSmoothingConstant, powerLookaheadSmoothingVelocityConstant, throttleLeverManager?): AutothrottleThrottle

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1872

Constructor.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
infoAutothrottleThrottleInfoInformation describing this throttle.
servoSpeednumber | Accessible<number>The speed delivered by the servo controlling this throttle, in units of normalized position per second.
powerSmoothingConstantnumberThe smoothing time constant, in seconds, to use to smooth engine power data.
powerSmoothingVelocityConstantnumber | undefinedThe smoothing time constant, in seconds, to use to smooth estimated power velocity while smoothing engine power data. A value of zero is equivalent to no smoothing. If not defined, estimated power velocity will not be used to adjust smoothed engine power data.
powerLookaheadSubscribable<number>The lookahead time, in seconds, to use for engine power data.
powerLookaheadSmoothingConstantnumber | undefinedThe smoothing time constant, in seconds, to use to smooth lookahead engine power data. If not defined, defaults to the value of powerSmoothingConstant.
powerLookaheadSmoothingVelocityConstantnumber | undefinedThe smoothing time constant, in seconds, to use to smooth estimated power velocity while smoothing lookahead engine power data. A value of zero is equivalent to no smoothing. If not defined, estimated power velocity will not be used to adjust smoothed lookahead engine power data. If not defined, defaults to the value of powerSmoothingVelocityConstant.
throttleLeverManager?ThrottleLeverManagerThe throttle lever manager to use to request position changes for this throttle's lever. If not defined, position changes for the lever will be requested using key events (specifically the THROTTLE[N]_SET event).

Returns

AutothrottleThrottle

Properties

commandedPower

readonly commandedPower: number | undefined = undefined

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1822

The power commanded by this throttle, or undefined if the commanded power cannot be determined.


idlePosition

readonly idlePosition: number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1784

The idle position of this throttle.


index

readonly index: AutothrottleThrottleIndex

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1781

The index of the engine controlled by the throttle.


keyEventManager?

protected optional keyEventManager: KeyEventManager

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1835


maxThrustPosition

readonly maxThrustPosition: number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1787

The maximum thrust position of this throttle.


servoSpeed

readonly servoSpeed: Accessible<number>

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1849

Accessors

effectivePower

Get Signature

get effectivePower(): number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1817

The effective power delivered by this throttle's engine, after smoothing and lookahead have been applied.

Returns

number


isServoActive

Get Signature

get isServoActive(): boolean

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1827

Whether the autothrottle servo for this throttle is active.

Returns

boolean

Set Signature

set isServoActive(val): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1831

Parameters
ParameterType
valboolean
Returns

void


normPosition

Get Signature

get normPosition(): number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1803

The position of this throttle, normalized such that 0 is the idle position and 1 is the maximum thrust position.

Returns

number


position

Get Signature

get position(): number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1792

The current position of this throttle.

Returns

number


power

Get Signature

get power(): number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1810

The power delivered by this throttle's engine.

Returns

number

Methods

destroy()

destroy(): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:2012

Destroys this throttle.

Returns

void


drive()

drive(targetNormPos, dt): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1973

Drives this throttle toward a target normalized position over a period of time.

Parameters

ParameterTypeDescription
targetNormPosnumberThe target normalized position. Will be clamped to the range [0, 1].
dtnumberThe amount of time over which to drive the throttle, in seconds.

Returns

void


getCommandedPower()

protected getCommandedPower(): number | undefined

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1964

Gets the power commanded by this throttle, or undefined if the commanded power cannot be determined.

Returns

number | undefined

The power commanded by this throttle, or undefined if the commanded power cannot be determined.


getPower()

abstract protected getPower(): number

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1958

Gets the power delivered by this throttle's engine.

Returns

number

The power delivered by this throttle's engine.


resetPowerSmoothing()

resetPowerSmoothing(): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:2003

Resets this throttle's power smoothing.

Returns

void


update()

update(dt): void

Defined in: src/sdk/autothrottle/AbstractAutothrottle.ts:1930

Updates this throttle's current position and delivered power properties.

Parameters

ParameterTypeDescription
dtnumberThe elapsed time since the last update, in seconds.

Returns

void