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)
- Replace FreeHDL by GHDL HOT 1
- Get rid of digital simulation wrapper scripts
- Active Filter Tool confusion HOT 1
- Device falls out of grid after rotation HOT 3
- Update Matching Tool to Qucs 0.0.20 Version HOT 2
- Regulators.lib and ngspice issues with LM317 spice models HOT 14
- LDMOS simulation froze Windows HOT 12
- Greyed out choices in Spice .Model HOT 2
- Nutmeg Scripting for Power Amplifier Wingspread Analysis HOT 4
- QUCS-S 2.1.0: Tuner Slider Bug HOT 2
- Backward schematic compatibility HOT 4
- Schematic Editor: Deactivate/Activate of Blocks Does Not Work Consistent HOT 2
- Tuner Slider Does Not Handle Numbers and Units in .PARAM Block Correctly HOT 1
- Provide an option to disable transient model for RF port HOT 9
- Add entry field for external model for Verilog-A HOT 5
- New Regulators.lib HOT 1
- False error reported? HOT 7
- Qucs-S 24.1-7df03e9 - Yet Another Tuner Slider Bug HOT 3
- net name restrictions HOT 1
- Tuner Slider GUI Window Size Scaling Issue 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.