Info

This question is closed. Reopen it to edit or answer.

Why am i getting a convergence problem while having a system with multiple switches?

1 view (last 30 days)
I have a model which has three switches connected to a capacitor. Only one of the switches are connected at a time. The control signals' timing has been so adjusted that one switch turns on only after the other switch has turned off. I am getting an error (NaN or Inf) exactly at the threshold of the switch. Can someone tell me why this is happening?

Answers (0)

Community Treasure Hunt

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

Start Hunting!