Hello:
I used four npc half-bridge power modules with a transformer to create a npc-dab, the offline simulation is working however when i applied to the RTBox it shows the error like topic. shoud i use other components rather than transformer or there’s other recommendations to solve this issue? thank you.
combineDABrtbox2-2.plecs (144.3 KB)
You are not actually using a transformer, you are using a coupled inductor, you could use the ideal transformer instead, since it will be simpler to compute and it lets you adjust the terminal voltages.
If I use a dedicated task frame to run the DAB in a different CPU core, and I increase your discretization step size to 15us. The model runs, you can see that there are overruns for the first simulation step sizes, after that the model is calculated
combineDABrtbox2-2.plecs (99.2 KB)
under 10us. It seems you are using an RTBox 3 so I would try first to run the model on the FPGA, to decrease the simulation step size.