Introduction to Compact Models and Circuit Simulation