Skip to content

ships.Function.frameShiftDriveMassFactor

github-actions[bot] edited this page Aug 26, 2026 · 64 revisions

@elite-dangerous-almanac/core / ships / frameShiftDriveMassFactor

Function: frameShiftDriveMassFactor()

frameShiftDriveMassFactor(mass, fuel, fsd): number

Defined in: src/ships/jump-range.ts:145

Resolve the frame shift drive's mass factor at one loaded mass.

Parameters

mass

number

Ship mass excluding the fuel being modelled, in tonnes — finite and non-negative.

fuel

number

Fuel aboard for this calculation, in tonnes — finite and non-negative. The full amount contributes to loaded mass, even when one jump burns less.

fsd

Pick<FrameShiftDriveParams, "optMass">

A drive's post-engineering optimised mass. A complete FrameShiftDriveParams object is accepted structurally.

Returns

number

The dimensionless optMass / (mass + fuel) factor used by singleJumpRange: 1 at the drive's optimised mass, below 1 above it and above 1 below it.

Remarks

An FSD does not use the three-point min/optimal/max curve that thrusters and shield generators do. Its mass contribution to jump range is this direct inverse ratio. Guardian FSD Booster range is added after the base jump equation and is therefore not part of this factor.

Throws

If an input is negative or non-finite, optMass is not positive, or the loaded mass is zero.

Example

import { frameShiftDriveMassFactor } from '@elite-dangerous-almanac/core/ships/jump-range';

frameShiftDriveMassFactor(990, 10, { optMass: 1000 }); // -> 1

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally