hi, I am working with a microgrid model and I have power inverter/converter components. When I simulate in phasor mode i get errors. I am trying to do it in phasor mode since my model is very slow with discrete mode.I understand that Simulation under phasor mode (in Simulink software), does not allow some electric element models like diodes, inverter bridge models, transistor elements (IGBT and MOSFET). How can I solve this problem? What can I substitute for these elements? How can I model for these components which can be used for phasor mode?