Re: workarounds for the lack of nodeset
al davis via Gnucap-devel <[email protected]>
| Newsgroups | gmane.comp.gnu.gnucap.devel |
|---|---|
| Message-ID | <20190726205740.004c361f@z> |
I never had a need for nodeset, but it looks fairly easy to do. In Spice, it works by jamming non-ideal sources into the matrix, 1 ohm in parallel with a current source is close enough to a voltage source. On DC or starting tran .. First converge with sources in. Then take them out and converge again. Coding recommendations for gnucap ...... A single plugin file should do it. The command .. builds a subckt with a bunch of sources, and instantiates it. The sources would be the non-ideal voltage source (V) or a G device with a special bm_ (plugin) The bm_ .. would fiddle the value according to status, effectively removing itself ... f1=1 to start, then 0. f0=voltage to start, then 0. and sense something to change state. _______________________________________________ Gnucap-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnucap-devel