Git Product home page Git Product logo

Comments (6)

ra3xdh avatar ra3xdh commented on June 20, 2024

in the tran parameter specification are options from other simulators left over

Please explain. The TRAN simulation is unified simulation. The incompatible options cannot be removed. We can only mark them as Qucsator-only.

Also uic have to be separated from start/maxstep spec.

Please explain. You should set InitialDC=yes/no instead of UIC.

the coil is of-grid - have to change grid scale from 10 to 2.

Try right mouse button menu -> Align on grid or Ctrl+U shortcut. It is a known problem. The device may fall out of grid. We are working on solution #92 The fix may be not as simple as it seems.

from qucs_s.

dwarning avatar dwarning commented on June 20, 2024

OK - marking them as Qucsator only would be sufficient.

If I set InitialDC = no and set max time step I got:
tran 1e-08 0.0001 0 20n uic
If I set InitialDC = no and set no max time step I got:
tran 1e-08 0.0001 0 uic
If I set InitialDC = yes and set max time step I got:
tran 1e-08 0.0001 0 20n

So you see in my version 2.1.0 build from git the InitialDC is wrong.

What about the parameter parse problem? #366

from qucs_s.

ra3xdh avatar ra3xdh commented on June 20, 2024

build from git the InitialDC is wrong.

The InitialDC is not wrong. It uses the following logic. Everything according the section 15.3.10 of the Ngspice manual.

  • MaxStep = 0 and InitialDC=yes outputs tran tstep tstop tstart
  • MaxStep > 0 and InitialDC=yes outputs tran tstep tstop tstart tmax where tmax=MaxStep
  • MaxStep = 0 and InitialDC=no outputs tran tstep tstop tstart UIC
  • MaxStep > 0 and InitialDC=no outputs tran tstep tstop tstart tmax UIC where tmax=MaxStep

Where tstop=Stop tstart=Start tstep=(Stop-Start)/Points What logic for setting tmax and UIC should be applied?

What about the parameter parse problem? #366

This fix will require some time. Please wait.

from qucs_s.

dwarning avatar dwarning commented on June 20, 2024

I thought InitialDC means UIC (Use Initial Conditions) and I have to set on yes to get it.

I think I found the file in question. In schematic_file.cpp line 270ff is the missing place for skipping unwanted strings in comments.
But the problem is more general: We have dozen of different forms in actual, modern CMC models, with and without macro using for instance and model parameter definition.
Maybe using a preprocessor would be easier.

from qucs_s.

ra3xdh avatar ra3xdh commented on June 20, 2024

I thought InitialDC means UIC

The InitialDC=yes means to perform DC OP simulation automatically. The Initial DC=no means do not perform DC OP, but apply IC instead.

Maybe using a preprocessor would be easier

I will consider how to switch to preprocessor instead of direct parsing of VA file. In the past props.json file was generated by ADMS. Now we have to parse the VA file to obtain the parameters.

from qucs_s.

ra3xdh avatar ra3xdh commented on June 20, 2024

Assume the questions are answered. The bug with VA-files parsing will be fixed in #366 Closing this ticket.

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.