Can i know how this simulation softwares(like Pspice, Psim, matlab simulink) work ? Which methods they use to solve any circuit with non-linear elements ? How can we solve any circuit numerically ?
If you mean solving algebraic functions,in PSIM there is a block called "Math Function" which will take in anywhere between one to five independent input variables.
In Simulink, the "User defined function" block can be used to solve similar functions.
Hope it was helpful!
__________________
The smallest deed is greater than the grandest intention.
Actually my question is "Which method PSim software use to solve any circuit containing Inductor and Capacitor elements and non-sinusoidal waveform" ? Which algorithm that software use to solve it ??
I believe some of these SPICE programs use matrices to find node voltages. See my blog. I just posted a blog on complex numbers, ohm's law, and matrices. I believe that they use the basic ohm's law in the time domain (nodal analysis, mesh currents, etc.) and input this into a big matrix for the different nodes. I'm not 100% certain, but that's the best method.