Hello
I am using activate for PWM control simulation. For the switch, i use idea-GTO-Thysistor. And connect PWM block to the switch directly.

But every simulation, i get warning from the message center as below.
[PWM_Switch_Analysis_1.scm]: Warning: Modelica Compiler Warning, the following are declared as continuous variables, but are defined using a discrete equation: [`vss_PWM_Switch_Analysis_1_im.container.subcontainer.SignalPWM.zeroOrderHold.y`], converting these to discrete variables ( 99 )
Block(s): SignalPWM
Model: PWM_Switch_Analysis_1
I am wondering what is the right choice of switch in Activate for PWM control simulation. Since PWM control is quite normal in actuator, motor control application.
Thanks for the answer. Have a nice day!