DotNet.Ships.Class.Distributor - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / Distributor

Class: Distributor

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Distributor.cs:72

The power distributor's capacitor capacities and pip-scaled recharge rates.

Remarks

A distributor's catalogue recharge figures are its four-pip maxima. SYS, ENG and WEP all use the same non-linear allocation curve.

The SYS and WEP curves follow EDCD/Coriolis. The ENG curve is cross-checked against EDSY's boost-frequency calculation. See ATTRIBUTIONS.md for credit and licence terms.

Methods

Metrics()

static Metrics(input): DistributorMetrics

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Distributor.cs:91

Calculates the SYS, ENG and WEP recharge at one set of pip allocations.

Parameters

input

DistributorInput

All three capacities, their rated four-pip recharge rates and the pips to model.

Returns

DistributorMetrics

The capacity, the rated recharge and the actual recharge for each capacitor, and the allocations used.

Remarks

Each allocation defaults independently to four. The allocations do not have to sum to the six pips the game offers, so a caller can compare independent scenarios in one result.

Exceptions

ArgumentNullException

input is null.

ArgumentOutOfRangeException

A capacity or recharge rate is negative or not finite, or a pip allocation is outside zero through four.

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