I am working on implementation of PWM generator circuit which uses a carrier signal and input signal. I am trying to use a comparator for that.But when I start simulating it gives me error of solver.
I used the ssc_new_elec to start with and it gives me error as below Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix. Initial conditions solve failed to converge. Equations of one or more components may be dependent or inconsistent. This can cause problems in transient initialization. Here is the set of components involved: 'comparator/Voltage Source (SL)/Controlled Voltage Source'
Any help/comments would be helpful.
Best Regards Bijeta Chakraborty