Git Product home page Git Product logo

Comments (5)

cmat21 avatar cmat21 commented on June 16, 2024 1

Hi @dsm , consider checking the number of point on settings transient, maybe that will help.
few_points

enough_points

from qucs_s.

ivandi69 avatar ivandi69 commented on June 16, 2024

tran 0.001 3
works just fine

from qucs_s.

ra3xdh avatar ra3xdh commented on June 16, 2024

@dsm

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.

image

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.

dsm avatar dsm commented on June 16, 2024

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.

ra3xdh avatar ra3xdh commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.