WOLFRAM SYSTEM MODELER
    SMPM_VoltageSourceTest example: PermanentMagnetSynchronousMachine fed by FOC  | 
     | 

SystemModel["Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_VoltageSource"]

This information is part of the Modelica Standard Library maintained by the Modelica Association.
A synchronous machine with permanent magnets accelerates a quadratic speed dependent load from standstill. The rms values of d- and q-current in rotor fixed coordinate system are controlled by the voltageController, and the output voltages fed to the machine. The result shows that the torque is influenced by the q-current, whereas the stator voltage is influenced by the d-current.
Default machine parameters are used
| Idq | 
         Value: {-53.5, 84.6} Type: Current[2] (A) Description: Desired d- and q-current  | 
    
|---|---|
| wNominal | 
         Value: 2 * pi * smpmData.fsNominal / smpmData.p Type: AngularVelocity (rad/s) Description: Nominal speed  | 
    
| TLoad | 
         Value: 181.4 Type: Torque (N⋅m) Description: Nominal load torque  | 
    
| JLoad | 
         Value: 0.29 Type: Inertia (kg⋅m²) Description: Load's moment of inertia  | 
    
| smpmData | 
         Value: Type: SM_PermanentMagnetData Description: Synchronous machine data  | 
    
| smpm | 
         Type: SM_PermanentMagnet Description: Permanent magnet synchronous machine with optional damper cage  | 
    |
|---|---|---|
| signalVoltage | 
         Type: SignalVoltage Description: Polyphase signal voltage source  | 
    |
| star | 
         Type: Star Description: Star-connection  | 
    |
| ground | 
         Type: Ground Description: Ground node  | 
    |
| iq | 
         Type: Constant Description: Generate constant signal of type Real  | 
    |
| id | 
         Type: Constant Description: Generate constant signal of type Real  | 
    |
| terminalBox | 
         Type: TerminalBox Description: Terminal box Y/D-connection  | 
    |
| angleSensor | 
         Type: AngleSensor Description: Ideal sensor to measure the absolute flange angle  | 
    |
| inertiaLoad | 
         Type: Inertia Description: 1D-rotational component with inertia  | 
    |
| quadraticSpeedDependentTorque | 
         Type: QuadraticSpeedDependentTorque Description: Quadratic dependency of torque versus speed  | 
    |
| currentSensor | 
         Type: CurrentSensor Description: Polyphase current sensor  | 
    |
| currentController | 
         Type: DQCurrentController Description: Current controller in dq coordinate system  | 
    |
| torqueSensor | 
         Type: TorqueSensor Description: Ideal sensor to measure the torque between two flanges (= flange_a.tau)  | 
    |
| speedSensor | 
         Type: SpeedSensor Description: Ideal sensor to measure the absolute flange angular velocity  | 
    |
| rotorDisplacementAngle | 
         Type: RotorDisplacementAngle Description: Rotor lagging angle  | 
    |
| groundM | 
         Type: Ground Description: Ground node  | 
    |
| starM | 
         Type: Star Description: Star-connection  | 
    |
| voltageQuasiRMSSensor | 
         Type: VoltageQuasiRMSSensor Description: Length of space phasor -> RMS voltage  | 
    |
| smpmData | 
         Type: SM_PermanentMagnetData Description: Synchronous machine data  | 
    |
| currentQuasiRMSSensor | 
         Type: CurrentQuasiRMSSensor Description: Length of space phasor -> RMS current  |