How to Add the Power Electronics Add-On to the System Definition
How to Create a Circuit Model
How to Add a Circuit Model to the System Definition
Different modeling resources within the FPGA design are used to simulate different parts of the electrical model. For example, in the case of a drive system, the circuit containing linear elements is simulated using the eHS Solver, whereas the machine configuration is simulated with a Machine Model (see image below). Due to this inherent decoupling of the two parts of the simulation, additional considerations must be made when simulating a drive coupled to a machine.
To couple a drive circuit with a machine, such as a PMSM, a specific set of Sources and Measurements must be added to the circuit model. In the case of the PMSM, typically, it is important to include the following interface elements:
To map the interface Sources and Measurements of the circuit to the Machine Model:
An RC snubber is often used to stabilize the decoupling of two solvers on the FPGA (e.g. eHS solver & a machine). Ideal snubber values can be calculated based on the following parameters of the simulation:
For details on how to select a snubber value for your simulation, please contact OPAL-RT Technical Support.