The following book is adapted from a chapter from my final year MEng project report at the University of York.
As a first pass I'll be copying the chapter more or less as-is into markdown format. Once all the content is there, I intend to improve it to make it more useful as an educational tool.
Knowledge of basic circuit theory, e.g. Kirchhoff's laws, is assumed. For an introduction to circuit theory, consider Khan Academy's video tutorials.
If you want to learn more about circuit simulation, I highly recommend Electronic Circuit & System Simulation Methods. At the time of writing, new paperbacks and ebooks are prohibitively expensive. Luckily there are some reasonably priced used copies available.
Electronic Circuit Simulation by Thom Wright is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.