I want to add a carrier delay in SVPWM in PLECS demo named three phase voltage source inverter

I want to add a carrier delay, but the mode I cannot edit.

Hi Yu_Johanna_Cao,

I believe you have also contacted the Plexim support team by email regarding the same question. We would appreciate it if you could avoid submitting the same request through multiple support channels, as this can result in multiple team members working on the same issue. Please continue the discussion through a single channel.

Additionally, the question here does not provide enough detail for us to understand what you are trying to accomplish. I am going to assume that your question is the same as the one in your support ticket namely, how to add a phase delay to the SVPWM component.

PLECS library components cannot be modified directly. Instead, PLECS allows you to create a local copy of a library component by breaking the library link for that specific component. You can then modify the local copy as needed.

Please see the documentation for details:

Hope this helps.

I want to add SVPWM phase shift of carrier and the shift angle can be defined. For example, the carrier shift is pi.

Have you had a chance to try the approach I suggested of breaking the library link to the SVPWM component and then modifying the carrier generation to implement the desired phase delay?