Hello, How can I find the power factor when my system contains harmonics? Which block should I use to measure P and Q in order to calculate the power factor in the case where harmonics are present in the system? What formula should I use for the calculation?