XOR Phase Difference - The output varies between -1 and +1 and MUST be smoothed - which block?
simulate losses in the model of a frequency-dependent three-phase power line