X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Lm002ZbmgX6mNnoHUVryeOh6I2dYxIlzkcHRj/YR/PQ=; b=u3k2VCpzm7v6yHtrOkXiO75s2ivH+SZvqjUO+sQRNsl7gWyhSFv2ar3SO8QbfP6sme jkZp0GN9vUHmkjMw5T7sL0HiVV7NwFsSo7EpqvBv41JBlCNNktlKhC+GVmhQ+yjWMKKv Luir36jnggyRowS9GCcuD8/fqhtfDnPgQ5l0Jnoea9DmT+JJ5N+apfHOZRErRueWxboi JQRlrEFUHIsUyUdMUNVIWrbjnOGYRCG/TPTXaA9B8kv3ET1EKbYsWhc9pkZ4M6iuqBjy hGVtBG44YVSjPkynrt55+WgthLXTPqvlLpc8wHvOjbQbqfkCp93ZZL7CrgSSWj+YArKR nRpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Lm002ZbmgX6mNnoHUVryeOh6I2dYxIlzkcHRj/YR/PQ=; b=k8eiNJaHQEz2rn+sJCuGHHtiM6VNTB+K8n4IT0bEHf69BJRpPP+Vb/UZu8TtXR9CRA VvM+nw9zD0EnKKpVOw+oIPvMzPbf/UrSFrWWiQsFhxLeMeEJsj027gJdXj5KEDhlcHXu fQScBo1Qcl+b06cfya4g0Lx56EPzwxe1KWP+LRiQXDja0ik4OE39IU9rseDWc/UN7kVU eNtbaEU7K6TsUD/05MF0IogIW4frtTl0SRM+uhi1Y4FRwxnlcwXNOQdlzb5SCgGYJEWp +OafH72aDtQgBx/w2e/nDnN8CFd9GY+m7qEAxHq6m3EX8Qk5roDt2kjTe/6FnA1AD1x7 Sirg== X-Gm-Message-State: ALyK8tJz//aJaL06eBTphEs4Z/Vldh+zLuYnUF4CmoV3JUoK0elIN2mPrzDWdSDgu7klZfAHaMeUXOGF9BcC+Q== X-Received: by 10.129.40.210 with SMTP id o201mr10242491ywo.250.1467389607351; Fri, 01 Jul 2016 09:13:27 -0700 (PDT) MIME-Version: 1.0 From: "Shashank Chintalagiri (shashank DOT chintalagiri AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Fri, 1 Jul 2016 21:43:26 +0530 Message-ID: Subject: [geda-user] Help with gnucap / POLY(2) To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 Reply-To: geda-user AT delorie DOT com I recently began trying out simulation using gschem -> gspiceui -> gnucap. I've been able to simulate simple circuits using transistors and RC withtout too much trouble, though it take a fair bit of guesswork. I've now hit a rather problematic wall, though. When trying to include an opamp (Analog Devices OP1177), I find that the model includes POLY(2) dependent sources which gnucap seems to not like. Could someone point me to a reference or so which can explain how to break down this sort of source into something that gnucap can handle? If there is no other option, I'm ok with it reducing the accuracy of the model. The following are the lines I have causing trouble: * (within) INPUT STAGE & POLE AT 100 MHZ EOS 9 3 POLY(2) (26, 28) (73, 98) 15E-6 1 1 * (within) COMMON-MODE GAIN NETWORK WITH ZERO AT 1 kHZ E2 25 98 POLY(2) 1 98 2 98 0 0.28 0.28 On a side note the Analog Devices model file includes a +/- symbol in a comment in the header which gnucap / gspiceui chokes on with a failure to convert to unicode. Thanks and regards, Chintalagiri Shashank