Add resistor's parameters tc1 and tc2 to ngspice #434
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I noticed that some people find it more convenient to change the parameters of passive components (resistor, capacitor, inductor) in the window 'Edit Component Properties', rather than using red components and specifying parameters in text.
I did some research on what parameters of passive blue components are supported to work with ngspice:
capacitor:
inductor:
resistor:
Inductor with Q
Capacitor with Q
Thus since most of parameters for inductor and capacitor are supported, then they should also supported for the resistor, which is not true.
And although this has already been discussed in the #193 I decided to add parsing temperature parameters for resistor. Also I added a comment 'Qucsator only' in the parameter Description for parameters that are ignored by Ngspice.
Simulation results for blue and red resistors are shown bellow: