Skip to main content

Class: AutothrottleThrottle

A throttle controlled by an autothrottle system.

Constructors

constructor

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

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
infoAutothrottleThrottleInfoInformation describing this throttle.
servoSpeednumberThe 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.
powerSmoothingVelocityConstantundefined | numberThe 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.
powerLookaheadSmoothingConstantundefined | numberThe smoothing time constant, in seconds, to use to smooth lookahead engine power data. If not defined, defaults to the value of powerSmoothingConstant.
powerLookaheadSmoothingVelocityConstantundefined | numberThe 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

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1431

Properties

idlePosition

Readonly idlePosition: number

The idle position of this throttle.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1348


index

Readonly index: AutothrottleThrottleIndex

The index of the engine controlled by the throttle.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1345


keyEventManager

Protected Optional keyEventManager: KeyEventManager

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1396


maxThrustPosition

Readonly maxThrustPosition: number

The maximum thrust position of this throttle.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1351


servoSpeed

Readonly servoSpeed: number

The speed delivered by the servo controlling this throttle, in units of normalized position per second.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1434

Accessors

effectivePower

get effectivePower(): number

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

Returns

number

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1381


isServoActive

get isServoActive(): boolean

Whether the autothrottle servo for this throttle is active.

Returns

boolean

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1388

set isServoActive(val): void

Parameters

NameType
valboolean

Returns

void

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1392


normPosition

get normPosition(): number

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

Returns

number

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1367


position

get position(): number

The current position of this throttle.

Returns

number

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1356


power

get power(): number

The power delivered by this throttle's engine.

Returns

number

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1374

Methods

destroy

destroy(): void

Destroys this throttle.

Returns

void

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1559


drive

drive(targetNormPos, dt): void

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

Parameters

NameTypeDescription
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

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1520


getPower

getPower(): number

Gets the power delivered by this throttle's engine.

Returns

number

The power delivered by this throttle's engine.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1513


resetPowerSmoothing

resetPowerSmoothing(): void

Resets this throttle's power smoothing.

Returns

void

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1550


update

update(dt): void

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

Parameters

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

Returns

void

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:1487