I am trying to import one of the spice models (from here) into QUCS.
I haven't been able to find much documentation about this except for vague hints that it is possible.
I am trying to import one of the spice models (from here) into QUCS.
I haven't been able to find much documentation about this except for vague hints that it is possible.
http://qucs.sourceforge.net/docs/tutorial/spicetoqucs.pdf
One area where Qucs and SPICE differ significantly is in their circuit file netlist formats which are very different. Qucs cannot directly simulate standard SPICE circuit netlists but requires them to be converted to their Qucs equivalent prior to simulation. ... Although Qucs cannot directly simulate SPICE netlists the software does contain a SPICE to Qucs netlist conversion program called QUCSCONV. This routine takes as input a SPICE netlist file and outputs an equivalent Qucs formatted netlist file. The Qucs netlist file can be read and simulated by the Qucs simulation engine. To make the process transparent, and indeed straightforward for users, the conversion stage in simulating SPICE netlist files 5 has been automated via the Qucs GUI simulate command (F2 key).
You cannot edit the SPICE block's symbol, though, so it recommends putting the SPICE subcircuit inside a QUCS subcircuit. So the steps would be something like this:
(This doesn't actually work for me, but maybe it will get you closer to an answer)
spice notice, no .END directive found, continuing
even though a subcircuit should end in .ENDS, not .END, and the file does?)Add>>
for all the nodes, to put ports on them in the box. Press Ok. And when you've done all this... it doesn't work. But that's how you do it. If I figure out how to make it work, I'll update it.
What does work is to redraw the entire subcircuit using native components, but that's even more tedious.