I have been using the metering library on KM14Z board. Currently I am facing problem in calculating the power factor using the Filter based algorithm of metering library. There are no API's available to calculate the power factor, therefore I am calculating it by dividing Active power with S(VA).
PF = P(Watts)/S(VA).
This calculation gives me wrong results. Could someone guide me on this issue.
Thanks in advance.