ra3xdh / qucs_s

Qucs-S is a circuit simulation program with Qt-based GUI
https://ra3xdh.github.io/
GNU General Public License v2.0
867 stars 111 forks source link

Hide microstrip filters when Ngspice is selected #96

Closed darkstar007 closed 2 years ago

darkstar007 commented 2 years ago

If I create I filter as show here and then click 'calc and put into clipboard' and then paste into the main window,it generates lots of pop-up warnings as shown here which have to be individually dismissed by clicking on them - its rather annoying and possibly broken?

Thanks, Matt

ra3xdh commented 2 years ago

The microstrip devices are SPICE-incompatible and set hidden if the Ngspice is selected as the primary simulation kernel. See also #94 The solution may be to hide the microstrip filters from the filter design tool if the SPICE mode is active to prevent such errors in the future.

darkstar007 commented 2 years ago

OK, thanks - setting the simulator to Qucsator and the issue go away.

I'd recommend greying the filters out (and a tooltip to say why they are greyed out) when ngspice is selected as the simulator would be a good approach.

Thanks, Matt

ra3xdh commented 2 years ago

Fixed on current branch. The incompatible filters are greyed now.