DotNet.Ships.Record.PowerBudget - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / PowerBudget

Record: PowerBudget

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Power.cs:97

What a build's power plant makes and what the build asks of it.

Constructors

new PowerBudget()

new PowerBudget(Available, Retracted, Deployed, Headroom, Utilisation, WithinBudget, Bands, Consumers)

Parameters

Available

double

The power the plant generates, in megawatts, post-engineering.

Retracted

double

The total draw with the hardpoints retracted, in megawatts.

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.

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.

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.

Properties

Available

Available: double

The power the plant generates, in megawatts, post-engineering.

Bands

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

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

Deployed: double

The total draw with the hardpoints deployed, in megawatts. This is the figure that must fit.

Headroom

Headroom: double

The available power less the deployed draw, in megawatts. A negative figure means the build is over budget.

Retracted

Retracted: double

The total draw with the hardpoints retracted, in megawatts.

Utilisation

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

WithinBudget: bool

Whether the whole build stays powered with the hardpoints deployed.

⚠️ **GitHub.com Fallback** ⚠️