
Embedded Metering Library API
5.5.1.2.5 power_t fundamental_active_power(int ph)
Returns the latest calculated fundamental active power reading of phase ph. The returned value of this
function is invalid when the EVM is operating in dc measurement mode.
Parameter: ph = 1
Return: latest fundamental active power
5.5.1.2.6 power_t fundamental_reactive_power (int ph)
Returns the latest calculated fundamental reactive power reading of phase ph. The returned value of this
function is invalid when the EVM is operating in dc measurement mode.
Parameter: ph = 1
Return: latest fundamental reactive power
5.5.1.2.7 Power_factor_t power_factor (int ph)
Returns the latest power factor reading of phase ph. The returned value of this function is invalid when the
EVM is operating in dc measurement mode.
Parameter: ph = 1
Return: latest power factor of phase ph
5.5.1.2.8 rms_voltage_t rms_voltage (int ph)
Returns the latest root mean square voltage of phase ph
Parameter: ph = 1
Return: latest root mean square voltage measured on phase ph
5.5.1.2.9 rms_voltage_t fundamental_rms_voltage (int ph)
Returns the latest fundamental root mean square voltage of phase ph
Parameter: ph = 1
Return: latest fundamental root mean square voltage of phase ph
5.5.1.2.10 thd_t voltage_thd (int ph)
Returns the latest THD on voltage of phase ph
Parameter: ph = 1
Return: latest THD on voltage of phase
5.5.1.2.11 rms_current_t rms_current (int ph)
Returns the latest root mean square current of phase ph
Parameter: ph = 1
Return: latest root mean square current measured on phase ph
5.5.1.2.12 rms_current_t fundamental_rms_current (int ph)
Returns the latest fundamental root mean square current of phase ph
Parameter: ph = 1
Return: latest fundamental root mean square current of phase ph
39
SLAU587 – August 2014
Firmware and Embedded Metering Library API
Copyright © 2014, Texas Instruments Incorporated