Source: http://orion.ipt.pt/~jorge/Electronica1/PSPICE/Manuais/scug.pdf