problem with AC operating point analysis

Status
Not open for further replies.

promach

Advanced Member level 4
Joined
Feb 22, 2016
Messages
1,199
Helped
2
Reputation
4
Reaction score
5
Trophy points
1,318
Activity points
11,636
I am facing problem with AC operating point analysis for these netlist. Could anyone advise ?

test_gyrator.net

Code:
* gnetlist -g spice-noqsi -o test_gyrator.net test_gyrator.sch
* SPICE file generated by spice-noqsi version 20170819
* Send requests or bug reports to [EMAIL="jpd@noqsi.com"]jpd@noqsi.com[/EMAIL]
Vtest Vtest GND dc 1
+ac 1
R1 Vtest Ltest 50      
XGYRATOR Ltest GYRATOR
.INCLUDE gyrator.net
.control
set noaskquit
AC LIN 1000 100Meg 200Meg
run
let S11=(2*v(Ltest)/v(Vtest)-1)
settype s-param S11

let S11db=db(S11)
settype decibel S11db

let P11=180*ph(s11)/pi
settype phase P11

plot s11db ylimit -0.5 0
plot P11

print S11 > S11_gyrator.log
*plot smithgrid S11
*wrs2p s3046.s2p $ write touchstone vers. 1 file s3046.s2p
.endc

gyrator.net

Code:
* gnetlist -g spice-noqsi -o gyrator.net gyrator.sch
* SPICE file generated by spice-noqsi version 20170819
* Send requests or bug reports to [EMAIL="jpd@noqsi.com"]jpd@noqsi.com[/EMAIL]
.subckt GYRATOR X1.IN
V_IP_X1 2 1 DC 0V  
V_IP_Gm2 3 X1.IN DC 0V  
*
G2 3 GND 1 GND -20m
CL GND 1 1pF      
.ENDS





 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…