LabVIEW Electric Motor Simulation Toolkit API Reference

Content Type
Programming Language
Current manual

SRM FEA Model VI

SRM FEA Model VI

Owning Palette: Switched Reluctance Motor VIs

Requires: Electric Motor Simulation Toolkit

Simulates a switched reluctance motor (SRM) using the JMAG finite element analysis (FEA) model function.

Example

initialize? specifies whether to initialize the internal state of the electric motor. This VI performs calculations that are dependent on all previous data since the VI last ran or since you set initialize? to TRUE. If you set initialize? to TRUE, this VI resets the internal state of the motor to 0 and restarts the electric motor simulation. The default value is FALSE.
SRM FEA model specifies a reference to the SRM FEA model. Use the Read SRM RTT File VI to generate this reference.
voltage specifies the voltage of each phase of the electric motor in an array. The size of the voltage array must be the same as the number of phase.
rotor position specifies the mechanical rotor position, in degrees, of the electric motor.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
dt specifies the time interval, in seconds, at which LabVIEW simulates the electric motor. The value of dt must be greater than 0.
resistance specifies resistance in ohms. If the value of resistance is equal to or less than zero, this VI uses the data in the SRM FEA model reference for calculation. The default value is -1.
current returns the phase current of the electric motor in an array. The size of the current array must match the number of phases.
torque returns the electromagnetic torque, in newton meters, of the electric motor.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the SRM FEA Model Closed Loop Control VI in the labview\examples\Electric Motor Simulation\SRM\SRM FEA Model Closed Loop Control directory for an example of using the SRM FEA Model VI.

In This Section
Was this information helpful?