ships.Function.equilibriumHeatLevel - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Function: equilibriumHeatLevel()

equilibriumHeatLevel(dissipation, thermalLoad): number

Defined in: src/ships/heat.ts:263

The heat level a thermal load settles at.

A hull sheds heat in proportion to the square of its heat level, so a load twice as large settles only √2 as hot. Above heat level 1 dissipation stops rising, which is why a load beyond dissipation settles nowhere at all.

Parameters

dissipation

number

The hull's maximum heat dissipation, per second.

thermalLoad

number

The load being shed, per second.

Returns

number

The settled heat level, in model units — 1 is where dissipation maxes out and OVERHEAT_HEAT_LEVEL is the overheating point. A load above dissipation returns a level above 1, which the ship never actually reaches as a resting point: it passes through it and keeps climbing.

Throws

If either argument is not a finite non-negative number.

Example

import { equilibriumHeatLevel } from '@elite-dangerous-almanac/core/ships/heat';

equilibriumHeatLevel(67.15, 16.8); // -> 0.5   an Anaconda idling
equilibriumHeatLevel(67.15, 67.15); // -> 1    everything the hull can shed
⚠️ **GitHub.com Fallback** ⚠️