profileFromMeasurement
profileFromMeasurement(
input):SupplyProfile
Defined in: packages/chain/src/supply-profile.ts:118
Build a profile from the caller’s own measurement, following Orman’s method: read the open-circuit volts E, then the loaded volts across a known resistor Rload, and compute Rint = (Vopen - Vloaded) / (Vloaded / Rload).
Parameters
Section titled “Parameters”loadedVolts
Section titled “loadedVolts”number
loadOhms
Section titled “loadOhms”number
openCircuitVolts
Section titled “openCircuitVolts”number