ships.Function.heatLevelAtTime - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / heatLevelAtTime
heatLevelAtTime(
params):number
Defined in: src/ships/heat.ts:333
The heat level a build reaches after holding a thermal load for a while.
The hull's two heat stats, the load, and where the ship starts from.
number
The hull's heat capacity.
number
The hull's maximum heat dissipation, per second.
number
How long the load is held, in seconds.
number
The heat level the ship starts at.
number
The thermal load being generated, per second.
number
The heat level after seconds, in the same model units as
equilibriumHeatLevel.
If any figure is not a finite non-negative number, or
heatCapacity is 0.
import { heatLevelAtTime } from '@elite-dangerous-almanac/core/ships/heat';
// An Anaconda firing a load its hull cannot shed, from a cold-ish start.
heatLevelAtTime({
heatCapacity: 334, heatDissipation: 67.15, thermalLoad: 90, startLevel: 0.5, seconds: 10,
}); // -> 1.4355… ten seconds in, and past heat level 1