Smoke came from your pc unit most in case they are power supply issue, i am hoping that does not damage your main board unit. Specially power control chip set. However here is the guide "https://www.ifixit.com/Guide/iMac+Intel+...-Inch+EMC+2639+Power+Supply+Replacement/2...