DotNet.Ships.Class.Distributor - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
EliteDangerousAlmanac / Ships / Distributor
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Distributor.cs:72
The power distributor's capacitor capacities and pip-scaled recharge rates.
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.
staticMetrics(input):DistributorMetrics
Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Distributor.cs:91
Calculates the SYS, ENG and WEP recharge at one set of pip allocations.
All three capacities, their rated four-pip recharge rates and the pips to model.
The capacity, the rated recharge and the actual recharge for each capacitor, and the allocations used.
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.
ArgumentNullException
input is null.
ArgumentOutOfRangeException
A capacity or recharge rate is negative or not finite, or a pip allocation is outside zero through four.