#### Description

This example investigates a quasi static model of a permanent
magnet synchronous machine. The machine is fed by a current source.
The current components are oriented at the magnetic field
orientation and transformed to the stator fixed reference frame.
This way the machines are operated at constant torque. The machines
start to accelerate from standstill.

In this simulation the angle is the following angles are
calculated:

`phiv`

= angle of voltage phasor
`phii`

= angle of current phasor
`phis = phiv - phii`

= angle between voltage and
current phasor
`theta`

= rotor displacement angle
`epsilon = phis - theta`

= current angle

##### Note

The resistors connected to the terminals of the windings of the
quasi static machine model are necessary to numerically stabilize
the simulation.

#### Plot the following variable(s)

`smpm.wMechanical`

: speed
`smpm.abs_vs[1]`

: RMS stator voltage of phase 1
`smpm.abs_vs[1]`

against
`smpm.wMechanical`

: voltage versus speed characteristic
of machine
`phis`

against `smpm.wMechanical`

: phase
angle between voltage and current phasor against speed
`epsilon`

against `smpm.wMechanical`

:
current angle against speed
`theta`

against `smpm.wMechanical`

: rotor
displacement angle against speed

Generated at 2020-04-08T01:39:33Z by OpenModelicaOpenModelica
1.16.0~dev-268-gc5be668 using GenerateDoc.mos