Hacker News new | past | comments | ask | show | jobs | submit login
Guide to QucsStudio: Circuit Simulator with C++/Octave Support (electroagenda.com)
44 points by electroagenda on July 25, 2023 | hide | past | favorite | 12 comments



I have used Qucs (not QucsStudio) for years. Nice article, but it doesn't touch my two biggest pain points:

(1) Transient analysis is unreliable. Jacobian error. Jacobian error. JACOBIAN ERROR. Fixing this involves magic thought patterns (is there something in this circuit that might be unstable? maybe throwing resistors everywhere will help? Or changing the minimum timestep?) and luck. I have spent more time dealing with this than any other thing in this software; often it's easier to give up and build the circuit IRL.

The software gives you NO hints or help as to what is causing these sim divergences or how to fix it. Brick wall. I exploit a bug to get the graphs to re-render using only the half-calculated results, so I can _try_ to see the circuit behaviour just before the issue, but often this doesn't work.

EDIT: Sorry the article does touch on this in the conclusion:

> Obviously, QucsStudio also has its limitations. It is sometimes frustrating to find that a simulation stops converging when a parameter is slightly changed. In general, using QucsStudio requires a deeper knowledge than other tools, typically paid tools, where the convergence of simulations is more refined. This can lead to unexpected delays in the design process.

Frustrating indeed >:(

(2) Interface uses an old version of Qt, which my distro doesn't provide the libs for. This means I can't compile or run Qucs any more. Instead I run the Windows .exe using wine (note: crashes if you have any themes/visual styles setup in winecfg, make sure to go back to the classic windows theme).

Are either of these things improved in QucsStudio?


(1) In theory, QucsStudio kernel simulator might be different to Qucs' one (qucsator). In my experience transient simulations usually converge without problems. The main issues I get take place in harmonic balance simulators.

(2) QucsStudio does not have native installer for Linux. So you depend on wine.


Thankyou electroagenda. I'll give it a go :)


QUCS is a pretty awesome tool considering the price :)

I didn't realize that QUCS-S did EM simulation (section 3.1.6.2 in this article) and I'm curious what the features/limitations are. The killer feature in a tool like this for signal integrity applications would be support for IBIS or IBIS-AMI models for time donation simulation... There's a great FOSS simulator for AMI but it's not integrated with a schematic environment.

Considering how slowly EDA/simulation tools move combined with their insane cost, it's an area that's certainly ready for a FOSS tool to move in the way software tools have gone.


Please be careful with the acronyms:

Qucs-S stands for Qucs-Spice. That is different to QucsStudio.

These variants are explained at the beginning of the article.


Holy cow, I had heard all of those acronyms but did not even realize QUCS-S and QucsStudio were actually different, thank you for pointing that out. (This also necessarily shows that I didn't do a good enough job reading your work here).


Didn't the maintainer of QUCS publicly throw in the towel a few years ago?

If I recall correctly, he more or less rage quit after people were using his work to design some pretty advanced RF stuff for sale, but weren't able to pay him to develop some more advanced simulation capabilities.

He's posted a few cryptic comments saying that he's built support for full EM transverse mode simulation but won't release it publicly.


But are you talking about Qucs or QucsStudio?


Maybe I can cut down my pcbway habit from like 20 to maybe like only 15 full physical spins per project!


If only... If only...


Yeah long after the circuit is fine I basically never stop massaging the pcb.

It's probably some form of disorder but why not? The software is free and the pcbs are $30 including the dhl fast shipping. I really like what I have by v028! And bonus I am now killer at damage free desolering and transplanting parts haha.

Some of these cpld and flash parts have been through the ultrasonic so many times by now they must have accumulated literally hours of time and it's a wonder they haven't been damaged by that much time in the buzzer.

I swear some weeks my favorite tv show is just twirling the 3d render around and around in kicad.


The ability to desolder without damaging a board is an underappreciated skill . It's not a disorder man. You're a geek and there's nothing wrong with that.

Happy to have bumped heads with someone who found something they love. Best wishes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: