Topics in electric circuit simulation