20.6.8.5. JMAG RT
The JMAG RT block is for co-simulation between CoLink and JMAG RT . This block needs to use JMAG RT Model. The file extension is rtt.
JMAG-RT (.rtt) files can be generated from JMAG software.
- The developer, JSOL, has made the JMAG-RT library for typical motors available at the following path:
20.6.8.5.1. JMAG RT Subsystem
JMAG RT Subsystem
![../_images/jmag_rt_subsystem_block.png](../_images/jmag_rt_subsystem_block.png)
JMAG RT Subsystem Input/Output
Input Parameter(s) |
Description |
Va, Vb, Vc |
Input Voltage. |
Tm |
Mechanical load torque. |
Coil Temp |
Coil Temperature. |
Magnet Temp |
Magnet Temperature |
Coil Temp |
Coil temperature. |
DC Voltage |
DC bus voltage which is used to refer the AC Copper loss look up table and harmonic iron loss look up table. |
Carrier Freq |
Carrier frequency which is used to refer the AC Copper loss look up table and harmonic iron loss look up table. |
Input Parameter(s) |
Description |
is_abc |
Stator line currents. |
thetam |
Rotor Angle. |
wm |
Rotor speed. |
Te |
Electromagnetic torque. |
Fabc |
Coil Flux. |
LdLq |
Coil d, q inductance. |
Iron loss |
Sumation of Eddy loss and Hysteresis loss. |
User Specified Parameters |
Parameters in RTT file. |
DC Copper Loss |
DC component of coil copper loss. |
AC Copper Loss |
AC component of coil copper loss. |
Inside of JMAG-RT Subsystem
![../_images/jmag_rt_subsystem.png](../_images/jmag_rt_subsystem.png)
20.6.8.5.2. JMAG RT Block
JMAG RT Block
![../_images/jmag_rt_block.png](../_images/jmag_rt_block.png)
JMAG RT Block Input/Output
Input Parameter(s) |
Description |
Va |
Voltage Input A. |
Vb |
Voltage Input B. |
Vc |
Voltage Input C. |
Theta |
Rotor Displacement |
Coil Temp |
Coil temperature. |
Magnet Temp |
Magnet Temperature. |
DC Voltage |
DC bus Voltage |
Carrier Freq |
Carrier Frequency |
Output Parameter(s) |
Description |
Ia |
Current Output A. |
Ib |
Current Output B. |
Ic |
Current Output C. |
Torque |
Rotor Torque. |
EddyLoss |
Eddy Loss. |
HysLoss |
Hysteresis Loss. |
Fu |
Coil Flux U Phase. |
Fv |
Coil Flux V Phase. |
Fw |
Coil Flux W Phase. |
Ld |
Inductance d. |
Lq |
Inductance q. |
Magnet Temp |
Magnet Temperature. |
DC Copper Loss |
DC component of coil copper loss . |
AC Copper Loss |
AC component of coil copper loss. |
User Parameters |
User Parameters which are defined in RTT file. |
20.6.8.5.3. JMAG RT Block Dailog
![../_images/jmag_rt_dialog.png](../_images/jmag_rt_dialog.png)
Highlight Items
RTT File Input box.
There are three types of accuracy: LdLq, Spatial Harmonic, and Flux Integral. To use each type of accuracy, the relevant items need to be defined within the RTT file.
Decide whether to use Iron Loss table data or not. If select the #3 . Table from JMAG considering PWM Carrier Frequency, specify filter inductance is available.
When the “Set values on manually check” box is checked, you can configure certain coefficients and turns of the coil. The values related to temperature located below can be configured when the “Use Temperature Correction Checkbox” is checked.
To calculate Temperature Correction, this checkbox must be checked.
There are two types for table data Interpolation. Linear and Cubic. Linear is default option.
Remains
Use AC Copper Loss Equivalent Resistance Table : To active AC Copper loss, this checkbox should be checked.
Resistance of Coil : Relate with working value of R.
Offset Angle : Initial displacement of rotor.