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?

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 17 de Jul. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by