The Rotor Displacement Angle component calculates the rotor-lagging angle by measuring the stator phase voltages, transforming those values to the corresponding space phasor in a stator-fixed coordinate system, rotating the space phasor to the rotor-fixed coordinate system, and then calculating the angle of the space phasor.
The housing of the sensor is implicitly fixed. Because the stator of the machine is also implicitly fixed, the angle of the flange is equal to the angle of the machine rotor against the stator.