These graduate-level lecture notes provide a comprehensive guide to solar cell and module SPICE modeling. They cover the role of compact modeling, semiconductor device physics (photogeneration, recombination mechanisms, superposition), equivalent-circuit models (single-diode, double-diode, and Bishop reverse-bias models), implicit equation solvers (Lambert W function and numerical methods), and parameter extraction techniques such as the De Soto method. Furthermore, the notes explain temperature and irradiance scaling, module/array scaling, partial shading and bypass diodes, SPICE implementation (behavioral and Verilog-A approaches), validation frameworks, and extensions to emerging technologies like high-efficiency silicon and perovskite/silicon tandems.