Comments (9)
Specify the TEMP as DC sweep parameter. The blue unified devices require to set Temp=TEMPER
explicitly. The red SPICE devices will work without this setting. Look at the attached example.
from qucs_s.
What you mean with blue and red transistors?
It looks your approach expect to have the Temp model or instance parameter. But there are models which haven't and get the temperature over the circuit temperature. For larger circuits it would be uncomfortable to edit any instance.
I found a simple way with Nutmeg script.
Thank you.
from qucs_s.
What you mean with blue and red transistors?
-
Blue transistors are unified devices. It has blue color on schematic. This transistor si supported by both Qucsator and Ngspice. This is blue transistor. It has blue color.
-
Red transistors are SPICE only and support extended SPICE parameters. It has red color on schematic. This is red transistor. It requires the .MODEL to be attached. This transistor doesn't require the TEMPER to specified explicitly and uses global temperature. The picture shows red transistor. It has red color.
But there are models which haven't and get the temperature over the circuit temperature.
I don't know if Verilog-A devices take the global temperature.
For larger circuits it would be uncomfortable to edit any instance.
The solution may be don't use the unified devices if you need temperature sweep. I cannot provide an unified setting tor Temp
parameter for blue devices. Qucsator will not accept TEMPER
and the simulation will show undefined variable error. But the number is accepted by both Qucsator/Ngspice. I can propose the following logic.
- If
Temp == Tnom
don't put the Temp in the parameter list. The global temperature will be uses. - If
Temp != Tnom
put the Temp in the parameter list. The device will be computed at the temperature specified inTemp
from qucs_s.
Ok, now understood.
The hicum2 version 3.0.0 has no external temp parameter and get the circuit temperature in the va code.
I changed the symbol colour belong your guideline:
A bit off-topic: Can I prevent the retraces in the plots? In ngspice we have the retraceplot as a plot option.
from qucs_s.
A bit off-topic: Can I prevent the retraces in the plots? In ngspice we have the retraceplot as a plot option.
can you explain in detail? give an example
i am not very familiar with ngpice
from qucs_s.
Can I prevent the retraces in the plots? In ngspice we have the retraceplot as a plot option
It is not bug, but rather a feature. Qucs plotting engine cannot understand that you are using sweep in a nested loop in DC ... TEMP
statement. When you are using parameter sweep simulation type Qucs-S creates some supplementary files. These files are needed to tell the plotting engine that this is a stack of plots but not a single plot. The script simulation type cannot give this information to the plotting engine. I think this cannot be changed without redesign of the plotting engine. But there may be a workaround. Try to sweep the temperature in while loop.
from qucs_s.
Accepted - there are other things with higher priority.
from qucs_s.
Closing as resolved.
from qucs_s.
Every Verilog example done in Qucs used "Blue", HTML "000080".
Native Spice components in Qucs-S uses QT "darkRed" or HTML "800000".
from qucs_s.
Related Issues (20)
- the open/save box is very slow HOT 5
- How use xxx.va model and other mos transistor which not included in Qucs-s? HOT 7
- Selection Box, Selecting Items and Moving Items Issues HOT 21
- Windows Security Complaints HOT 9
- Nutmeg script text selection issue HOT 5
- Getting the error "No simulation found. Please add at least one simulation!" HOT 1
- Get rid of Q3PtrList wrapper HOT 9
- Automatically add .OPTION INTERP if Parameter sweep + TRAN analysis presents on schematic HOT 1
- Issues Editing Sub-circuit Symbols HOT 13
- New Varactor Library for ngspice HOT 6
- Any updates on single frequency analysis? HOT 1
- New PIN Diode Library for ngspice HOT 2
- Sub-circuit Text Displayed HOT 6
- Data missing from old projects HOT 1
- Parameter Sweep of Varactor HOT 2
- Can't plot the subcircuit node voltage curve when using Nutmeg script HOT 1
- What is the rationale for the 0 dBm voltage value in power source? HOT 3
- Coupled transmission lines HOT 2
- Fill blue devices parameters from SPICE model HOT 9
- Add OP variables dump feature
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.