Ttol in SW element not working?

Oh I see, Thanks a lot Kelvin

My intention is to use the switch as an ideal on/off switch. Again to make a simpler comparator with accurate switching time.

I tried your suggestion for Vh = 0 and now it works.

I believe I previously misunderstood the meaning of “smoothly transition”, thus all of my simulation all my switch model always use vh=-1. however, all of those the gating signal is provided by an ideal 0/1 source and thus I never see this issue.

@Engelhardt What will be the reasonable use case for a smooth transition on a switch?
anyway, is that a sigmoid function?