About tools to simulate circuits. Specify the tool used.
Simulations use mathmatical models to predict the behaviour of a circuit. The wikipedia article is a good starting point to learn more. This tag should be used for questions related to circuit simulation tools (software).
Typically circuits are described to the simulator in either a text file "SPICE netlist" or as a graphical schematics.