[free-electronic-lab] Using the Alter Command in ngspice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

>From the documentation I understand that in interactive mode, using
the alter command one can change the device parameters. Does this also
mean I can change the values of a resistance or voltage source in the
netlist? If so how? I used the following circuit:

Bridge Rectifier
.options TEMP=25
V2 2 1 SIN(0 vmax 60)
R2 0 3 resistance
D8 1 3 1N4007
D6 2 3 1N4007
D4 0 2 1N4007
D2 0 1 1N4007
.param resistance = 10k
.param vmax = 5
.end

I've tried
alter r2 = 10
alter r2 resistance = 10

But it won't work. How do I alter vmax or resistance?

Thanks
--
Ashwith J. Rego
-----------------
My Webpage: http://ashwith.wordpress.com/
Find me on LinkedIn at: http://www.linkedin.com/in/ashwith
Follow Me on Twitter at: http://twitter.com/Louisda16th
_______________________________________________
electronic-lab mailing list
electronic-lab@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/electronic-lab


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Forum]     [KDE Users]

  Powered by Linux