Hej Please have a look on attached files. when I try to run the simulation then it does not converge. Also is there any continuous integrator in PSIM? My plan is to have PMSM and inverter model in PSIM and control part in MATLAB/Simulink so please if you have any source to look into then please mention it.
you might have created an algebraic loop, delay the feedback loop by 1 timestep.