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

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?

Réponses (0)

Cette question est clôturée.

Question posée :

le 17 Juil 2013

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by