The circuit model file has been loaded into the example project already, although the steps below can be used to reload the circuit model. This is typically only necessary if the circuit has been modified. For more information, please refer to How to Add a Circuit Model to the System Definition.
In the Configuration Tree, under Power Electronics Add-On, click Circuit Model.
In the configuration page, Browse for the Circuit Model File Path.
Select the model (.mdl) file at the Circuit Model File Path shown below. This automatically triggers a model update in the System Definition.
Wait for the update to complete.
(optional) Click the Refresh button to see additional model information.
Click Save.
Circuit Model File Path: <Public Documents>\National Instruments\<NI VeriStand 20XX>\Examples\OPAL-RT\Power Electronics Add-On\Round Rotor SM Local Control\Circuit Model\RRSM_eHS_UB.mdl
Configuring the RRSM Model
In this example, the RRSM model has been pre-configured. For more information about machine configuration, please refer to the IM SM Section. Explore the machine configuration described below.
In the Configuration Tree, expand Circuit Model >> Machines and click IM SM 1 to open the configuration page for the machine.
Observe the configured machine parameters. The Input Mapping subsection allows the outputs of the circuit model to be connected to the inputs of the machine.
In the Configuration tree, expand IM SM 1 and click Mechanical Model to view the mechanical model parameters.
Confirm that the parameter values match those in the table below.
Machine Configuration | |
---|---|
Machine Type | Round Rotor Synchronous Machine |
Stator Resistance (Ohm) | 0.0029069 |
Stator Leakage Inductance (H) | 0.00030892 |
Damper Kd Resistance (Ohm) | 0.0664 |
Damper Leakage Inductance (H) | 0.001387 |
Damper Kq1 Resistance (Ohm) | 0.0292 |
Damper Kq1 Leakage Inductance (H) | 0.0006896 |
Pole Pairs | 2 |
Damper Kq2 Resistance (Ohm) | 0.007907 |
Damper Kq2 Leakage Inductance (H) | 0.002477 |
Stator Q Magnetizing Inductance (H) | 0.00097153 |
Stator D Magnetizing Inductance (H) | 0.0032164 |
Zero-Sequence | Don't Include |
Field Resistance (Ohm) | 0.00059013 |
Field Leakage Inductance (H) | 0.00030712 |
Solver Timestep (s) | 1.2E-7 |
Input Mapping Configuration | |
Stator Voltage Phase A | Circuit Model 1.Va_inv |
Stator Voltage Phase B | Circuit Model 1.Vb_inv |
Stator Voltage Phase C | Circuit Model 1.Vc_inv |
Field Voltage | Circuit Model 1.Vf_rrsm |
Mechanical Model Configuration | |
---|---|
Initial Rotor Angle (Deg) | 0 |
Viscous Damping | 0.006 |
Static Friction | 0 |
Inertia | 0.05 |
Mechanical Model Mode (VeriStand Channel) | 1 |