How to realize the variable frequncy PWM with simcoder

Hello,I have a problem now. How to realize the variable frequncy PWM for 28379D with simcoder in PSIM12? I want to generate the variable frequncy PWM in order to control the LLC resonant converter.

you need this element.

Thanks for your help. I know this element, but I don’t know how to use this one ,even according to the help document. Could you give me much more specific operating steps or some examples? Thanks.

I’m not sure how much more help I can provide The input to the block drives the change in the linked PWM element. image
In this case, .5 on the variable element means we get 20kHz switching as the base rate was 10kHz. If the variable block had a “2” it would be 5k