1
\$\begingroup\$

I'm trying to do an AC sweep of the following circuit: enter image description here

But I'm getting the following error:

*Analysis directives: 
.AC DEC 5 0 1000000
----------$
ERROR(ORPSIM-16103): Invalid value
.OPTIONS ADVCONV
.PROBE64 V(alias(*)) I(alias(*)) W(alias(*)) D(alias(*)) NOISE(alias(*)) 
.INC "..\SCHEMATIC1.net" 



 **** INCLUDING SCHEMATIC1.net ****
 * source ECE209LEC
 C_C4         N00807 N00815  0.11u  TC=0,0 
 R_R4         N00807 N00963  1000 TC=0,0 
 C_C2         0 N00889  40n  TC=0,0 
 R_R2         N00791 N00889  1k TC=0,0 
 C_C1         N00791 N00799  0.26u  TC=0,0 
 V_V1         N00873 0  
 +SIN 0 10 1000 0 0 0
 R_R1         N00873 N00791  1k TC=0,0 
 C_C3         0 N00963  90n  TC=0,0 
 E_U1         N01832 0 VALUE {LIMIT(V(N00889,N00799)*1E6,-15V,+15V)}
 E_U2         N01817 0 VALUE {LIMIT(V(N00963,N00815)*1E6,-15V,+15V)}
 R_R3         N01832 N00807  1000 TC=0,0 
 ** Floating/unmodeled pin fixups **
 R__UC0001   N01817  0   {1/GMIN}

 **** RESUMING freq.cir ****
 .END

For the start frequency I chose 0 and the end frequency 1000000.

What can I do to fix it?

\$\endgroup\$
  • 3
    \$\begingroup\$ You can't start an AC simulation at 0Hz since this would be DC. \$\endgroup\$ – Mario Nov 3 '16 at 20:47
  • \$\begingroup\$ As Mario says, it doesn't make sense to put 0Hz. In fact, you can have an infinite amount of decade between 0Hz and 1MHz (0.000001, 0.00001, etc.). \$\endgroup\$ – lucas92 Nov 3 '16 at 20:48
  • \$\begingroup\$ @lucas92 Thank you! I was finally able to fix it thanks to you, guys. \$\endgroup\$ – Jack Nov 3 '16 at 21:38
  • \$\begingroup\$ Why doesn't DC make sense if it's a linear sweep? \$\endgroup\$ – endolith Feb 7 '17 at 22:29
2
\$\begingroup\$

Your start point for an AC sweep cannot be 0. It must be a greater value than 0, otherwise it would be DC.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.