ships.Function.heatMetrics - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / heatMetrics
heatMetrics(
input):HeatMetrics
Defined in: src/ships/heat.ts:471
Everything an outfitting screen shows about a build's heat: what it idles at, what it runs at flying and jumping, and whether firing everything cooks it.
The HeatInput.
The HeatMetrics.
If any figure is not a finite non-negative number, or
heatCapacity is 0.
import { heatMetrics } from '@elite-dangerous-almanac/core/ships/heat';
const heat = heatMetrics({
heatCapacity: 224, heatDissipation: 41.63, heatEfficiency: 0.4, // Fer-de-Lance, 6A plant
retractedPowerDraw: 14.2, deployedPowerDraw: 20.1, thrusterHeatRate: 1.2,
weaponsCapacity: 31, weapons: [{ heatPerSecond: 8.4, distributorDraw: 2.6 }],
});
heat.firingSustained.overheats; // -> false: the guns run cool enough to hold
heat.firingDrained.secondsToOverheat; // -> 16.63… seconds on an empty capacitor