How to open the electrical switch again after it closed

Hello everybody,
I'm currently modeling a simple eltrical circuit and I've implemented the switch from the electrical foundaiton library. Since the Switch should close and open over time I used the Clock block as the physical signal input. In practise the switch should close after 1 sec. and reopen again after 1.5 sec. The problem I have now is that the switch closes when the time reaches 1 but i don't see any possibility to open the switch again after 1.5 sec.
Is there any solution to my problem?

2 Comments

Can you share your Simulink model(export to R2017a)?
This is just for testing purposes. I already went ahead and implemented a IF-Block to get the needed results. I just feel like there must be a better way.

Sign in to comment.

Categories

Find more on Simscape Electrical in Help Center and File Exchange

Asked:

on 14 Nov 2017

Answered:

on 4 Jun 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!