How to speed up the inverter simulation based on blocks of matlab
Show older comments
I have a 3 phase inverter simulation based on block ready from matlab (IGBT) .
The simulation is so slow, After runing the solver profiler it lead me to the most block crossing 0 which is a relational operation block that is inside sub blocks responsible for creating sawthoot signal and comparing it with a reference to generate a voltage for inverter (PWM)
My questions: knowing that the block is a matlab block , how it is possible that it takes too much time ?
Question 2 : Some people replacing inverter simulation by using controlled voltage source instead !
which take less time, is this technic effective ?
Photo attached 

2 Comments
Raghava S N
on 26 Sep 2024
Hi @YASSER, could you please share the model you are working with? That will help in better understanding the issue.
YASSER
on 29 Sep 2024
Accepted Answer
More Answers (0)
Categories
Find more on Converters (High Power) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!