-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xyce and Qucs integration #181
Comments
Simulated the first circuit with Xyce and Qucs! I have added combo box for simulation backend selection. Check Unfortunately, only RCL passive circuits could be simulated. Diodes and Transistors need auto level determination system implementation. |
Terrific!! 👏 |
I can't wait to start comparing the accuracy of Perhaps we could think of a component filter based on list of supported components. I mean, to help the user know which components are currently handled for npspice and xyce. So, the UI adapts to the backend. Just thinking... |
Excellent work @ra3xdh ! @guitorri, I see some more work for you in the documentation stuff here 😄 ... I was already thinking that the components documentation done via Doxygen needs an additional section saying which simulations are supported (e.g. HB is often not supported, S-param. file does not support TR, etc.)... now need to add also which simulators are supported... |
@guitorri The list of supported components is on Wikipage here https://github.com/Qucs/qucs/wiki/QEP:-Qucs-schematic-simulation-with-ngspice . Xyce supports all of Ngspice supported components except semiconductor devices (diodes, transistors). I will fix semiconductor devices support with Xyce during the next week. There is a list of supported simulations on this wikipage. |
Very nice! |
Thanks Vadim |
I tried to add EDD charge equations support via current source I=dQ(V)/dt . It leads to I=ddt(Q(V)) B-type current source. This source cannot be simulated with Xyce. It fails to calculate initial DC conditions. Ngspice has no diff() function or equivalent. It seems to be unable to simulate charge-oriented EDD with Ngspice. Here is converted Xyce Netlist (nonlinear capacitance example from equations tutorial): Here is simulation log: |
Hello Vadim |
Hello Vadim |
@MikeBrinson , PDF attachment was lost on Github. Please send it via e-mail to me directly. |
Hello Vadim mbrin72043@yahoo.co.uk @MikeBrinson , attachment was lost on Github. Please send it via e-mail to me directly.— |
Added first working parameter sweep support (only Xyce, Ngspice will be added later). Unfortunately, But transient simulation with par sweep don't work. Qucs cannot support datasets with adaptive step. Xyce and Ngspice use adaptive time step and time step value for each parameter sweep differs from specified time step. Qucsator uses the same time step for each parameter sweep step. There may be three ways to overcome this issue:
What is your opinion? |
may i suggest to remove the checkmarks in the first post and insert them, once the features have been really merged? if there are related commits, it would be nice to add some references. |
Closing, because #275 is closed. See details at #275 (comment) Qucs-S and XYCE support development will be continued at http://ra3xdh.github.io/ Use issue tacker https://github.com/ra3xdh/qucs/issues to report bugs on spice4qucs. |
Xyce is a new spice-compatible simulation kernel. It provides circuits simulation using parallel computations (via openMPI ). More info about Xyce at http://xyce.sandia.gov/. The purpose of Qucs<-->Xyce integration is simulation of Qucs schematics with Xyce.
Here is tasklist for Xyce<-->Qucs integration
Spice Equation
componentYou can discuss and propose your own tasks.
The text was updated successfully, but these errors were encountered: