Measures the absolute angle phi of a flange in an ideal way and provides the result as output signal phi (to be further processed with blocks of the Modelica.Blocks library).