Does the Breaker component meet your needs? See the excerpt from the component's documentation below:
"This component provides an ideal short or open circuit between its two electrical terminals. The switch closes when the controlling signal becomes non-zero. It opens when both the signal and the current are zero. Therefore, this circuit breaker can be used to interrupt inductive AC currents."
If that doesn't sound suitable, could you better describe the behavior you're trying to model?