Comments (5)
Hi @dsm , consider checking the number of point on settings transient, maybe that will help.
from qucs_s.
tran 0.001 3
works just fine
from qucs_s.
You are using a default diode model in the first circuit. LTspice and Qucs-S have the different default diode model. You have BV=10V
in Qucs-S by default and diode goes to breakdown producing wrong output. Set the BV=1000V
and everything will work as expected. The another issue is that you have used default transient points number. Ngspice is able to adjust transient time step but only to some extension. You have to set the points numbers manually for long transient simulation durations. Espesially if Tstop is greater than 5-10 waves of the input signal source. You have Tstop=3s and F=50Hz. Ngspice may skip the sine waves and show wrong result.
The convergence issues with 1N4007 model is not a Qucs-S bug. It is related to Ngspice bug: https://sourceforge.net/p/ngspice/mailman/ngspice-devel/?viewmonth=202205 I have reported this once, but it seems it has appeared again. The workaround is to set Ikf=1e-20
in the diode parameters. I can patch the diodes libraries to provide this workaround for all users.
from qucs_s.
BV=1000V will solve the problem and number of the point not set to default but not as high as 32768. thank you for your explanation.
from qucs_s.
I am transferring this to discussion. The issue with Ikf
parameter probably should be reported to Ngspice team after providing a minimal netlist example to reproduce.
from qucs_s.
Related Issues (20)
- XSPICE Cores Library revisited HOT 2
- Cursor doesn't show Line/Column anymore in Text editing mode HOT 1
- Current doesn't work in equations HOT 1
- DC bias simulation gives zero output HOT 1
- Add alternative LC cauer filter HOT 6
- Redesign File->Open examples menu HOT 6
- Improve SpiceLibComp device HOT 16
- qucsator not calculating output HOT 8
- Warnings during run-time; The Stop button isn't grayed out after the simulation HOT 3
- support SAX simulation HOT 2
- Windows build broken HOT 2
- Xyce pametric plot HOT 2
- Relative path in Nutmeg script HOT 13
- Plotted data appears, disappears, appears... HOT 3
- Open recent project HOT 1
- Order of blocks in control section HOT 2
- Keyboard shortcuts not working using Qt>=6.6 HOT 1
- macos build failed with qucsator_rf HOT 12
- Expired Sign Keys HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qucs_s.