| HallSensorHall sensor |  | 
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Simple model of a hall sensor, i.e. measuring the angle of the flange (w.r.t. the optional support), multiplying by the number of phases p to obtain the electrical angle, and adding a correction term i.e. the initial angle of the flange phi0.
Note that phi0 has to be set that way, that in shaft position phi0 the flux linkage of phase 1 is a maximum.
| useSupport | Value: false Type: Boolean Description: = true, if support flange enabled, otherwise implicitly grounded | 
|---|---|
| p | Value: Type: Integer Description: Number of pole pairs | 
| phi0 | Value: -pi / p Type: Angle (rad) Description: Initial mechanical angle | 
|  | flange | Type: Flange_b Description: Flange of shaft | 
|---|---|---|
|  | support | Type: Support Description: Support/housing of component | 
|  | y | Type: RealOutput Description: "Electrical angle" | 
|  | Modelica.Electrical.Machines.Examples.SynchronousInductionMachines SMPM at no-load |