I’m making a direct vector control simulation with a voltage model for flux estimation and I’ve decided on using a HB controller for the PWM. I’m new to using plecs and I don’t know what I’m doing wrong. There is a picture of what I made so far.
I don’t believe the type cast blocks are necessary in this case, but what is the issue you are having? Can you share your full model file?