DotNet.Ships.Record.PowerBudget - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / PowerBudget
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:97
What a build's power plant makes and what the build asks of it.
new PowerBudget(
Available,Retracted,Deployed,Headroom,Utilisation,WithinBudget,Bands,Consumers)
double
The power the plant generates, in megawatts, post-engineering.
double
The total draw with the hardpoints retracted, in megawatts.
double
The total draw with the hardpoints deployed, in megawatts. This is the figure that must fit.
double
The available power less the deployed draw, in megawatts. A negative figure means the build is over budget.
double
The deployed draw as a fraction of the available power. It is infinite when a build draws power with no plant fitted, and zero when it draws none.
bool
Whether the whole build stays powered with the hardpoints deployed.
IReadOnlyList<PowerBand>
The five priority groups, group one first. A group is powered when its running total, its own draw plus every higher-priority group's, fits in the available power.
IReadOnlyList<PowerConsumerResult>
Every supplied consumer in source order, the switched-off entries included. The enabled entries reconcile with the band and aggregate totals.
Available:
double
The power the plant generates, in megawatts, post-engineering.
Bands:
IReadOnlyList<PowerBand>
The five priority groups, group one first. A group is powered when its running total, its own draw plus every higher-priority group's, fits in the available power.
Consumers:
IReadOnlyList<PowerConsumerResult>
Every supplied consumer in source order, the switched-off entries included. The enabled entries reconcile with the band and aggregate totals.
Deployed:
double
The total draw with the hardpoints deployed, in megawatts. This is the figure that must fit.
Headroom:
double
The available power less the deployed draw, in megawatts. A negative figure means the build is over budget.
Retracted:
double
The total draw with the hardpoints retracted, in megawatts.
Utilisation:
double
The deployed draw as a fraction of the available power. It is infinite when a build draws power with no plant fitted, and zero when it draws none.
WithinBudget:
bool
Whether the whole build stays powered with the hardpoints deployed.