LabVIEW Electric Motor Simulation Toolkit API Reference

Create PMSM FEA Model VI

  • Updated2023-02-21
  • 4 minute(s) read

Create PMSM FEA Model VI

Owning Palette: Permanent Magnet Synchronous Motor VIs

Requires: Electric Motor Simulation Toolkit

Reads the RTT file to get a LabVIEW class reference of permanent magnet synchronous motor (PMSM) FEA model.

Examples

RTT file specifies the path to an RTT file. The RTT file contains motor parameters and data that the JMAG-RT software generates.
temperature correction parameters specifies the characteristics of the electric motor for temperature correction. If the value of any temperature correction parameter is not a number (NaN), this VI reads the temperature correction parameter from the RTT file.
coil base temperature specifies the base temperature, in kelvins, of the motor coil. The value of coil base temperature must be equal to or greater than 0. The default is NaN.
coil temperature coefficient specifies the coefficient, in K^-1, for temperature correction of the motor resistance. The material of the coil determines the value of coil temperature coefficient. The default is NaN.
magnet base temperature specifies the base temperature, in kelvins, of the motor magnet. The value of magnet base temperature must be equal to or greater than 0. The default is NaN.
magnet temperature coefficient specifies the coefficient, in K^-1, for temperature correction of the magnet flux. The material of the magnet determines the value of magnet temperature coefficient. The default is NaN.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
PMSM FEA model returns and saves the parameters and data of the PMSM in a LabVIEW class. You can use this LabVIEW class object as input to the PMSM FEA Model VI and the Generate PMSM FEA Model FPGA Data VI.
PMSM type returns the connection type and the number of poles of the electric motor.
connection type returns how the permanent magnet synchronous motor is connected to the circuit. Currently, the Electric Motor Simulation Toolkit only supports the star connection. If the RTT file uses delta connection, LabVIEW returns error code -376401.

0Star—Returns the connection type as star connection. High voltage transmission systems typically use star connections. Star connections offer the advantage of providing multiple voltages.
1Delta—Returns the connection type as delta connection. Low voltage distribution systems typically use delta connections. Delta connections offer the advantage of high reliability.
number of poles returns the number of poles in the electric motor.
error out contains error information. This output provides standard error out functionality.

Examples

Refer to the following VIs for examples of using the Create PMSM FEA Model VI:

  • PMSM Open Loop Simulation VI: labview\examples\Electric Motor Simulation\PMSM\PMSM Open Loop Simulation
  • labview\examples\Electric Motor Simulation\PMSM\PMSM FEA Model Control Simulation\PMSM FEA Model Control Simulation.lvproj

Log in to get a better experience