setNominalVoltage

open fun setNominalVoltage(@NonNull nominalVoltage: Measure<Voltage>)

Sets the nominal voltage to use for power calculations. The equation used is applied = power * (nominalVoltage / sensorVoltage).

A voltage sensor must be set for this to work via setNominalVoltageSensor This value will be ignored if no sensor is set.

Parameters

nominalVoltage

the nominal voltage parameter to use, defaults to 12V