Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #377876

Re: Please help -- SPICE simulation and imolementation mismatch

From jeroen Belleman <jeroen@nospam.please>
Newsgroups sci.electronics.design
Subject Re: Please help -- SPICE simulation and imolementation mismatch
Date 2015-09-20 23:03 +0200
Organization Aioe.org NNTP Server
Message-ID <mtn6us$35k$1@speranza.aioe.org> (permalink)
References <b040675b-f4e3-493c-ad82-f8c20d2f4f93@googlegroups.com> <GI6dnfAUZbb-c2HInZ2dnUU7-a-dnZ2d@giganews.com> <GI6dnfMUZbZOc2HInZ2dnUU7-a-dnZ2d@giganews.com> <7d6e041e-fe19-4773-a0ed-312b9c10538c@googlegroups.com>

Show all headers | View raw


On 20/09/15 05:05, dakupoto@gmail.com wrote:
> Thanks to each of you for pointing out
> the capacitor reactance, that I overlooked,
> and has caused much misery.  The Ngspice
> file is listed below:
>
> .PARAMS PERMFS=8.854187817p RELPERM=8
> .PARAMS LEN=0.02 THK=0.005 ; METERs
>
> .SUBCKT NICAP 1 2
> * 1 IN
> * 2 OUT
> C0 1 3 '(PERMFS*RELPERM*LEN*LEN)/THK'
> L_ESL 3 4 4.5nH
> R_ESR 4 2 0.5
> .ENDS
>
> .SUBCKT CC 1 2
> * 1 IN
> * 2 OUT
> XC0 1 3 NICAP
> XC1 4 2 NICAP
> R0 3 4 5K
>
> R0 1 2 1.0
> VSIG 1 0 DC 0.005 SIN(0, 6.0, 60.0, 0, 0, 0)
> VTEST 3 0 DC 0.0 AC 0.0
> XJ0 2 3 CC
>
> .OPTIONS NOPAGE METHOD=GEAR
> .IC V(2)=0.0
> .PROBE
> .TRAN 50ms 500ms 10ms UIC
> .PRINT TRAN V(2) I(VTEST)
> .END
>


There's an .ENDS missing in there.

Didn't you mention that you were doing this with LTspice?

Jeroen Belleman

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Please help -- SPICE simulation and imolementation mismatch dakupoto@gmail.com - 2015-09-18 21:24 -0700
  Re: Please help -- SPICE simulation and imolementation mismatch "P E Schoen" <paul@pstech-inc.com> - 2015-09-19 00:40 -0400
    Re: Please help -- SPICE simulation and imolementation mismatch joe hey <joehey@mailinator.com> - 2015-09-19 12:34 +0000
  Re: Please help -- SPICE simulation and imolementation mismatch Tim Wescott <tim@seemywebsite.com> - 2015-09-19 00:10 -0500
    Re: Please help -- SPICE simulation and imolementation mismatch Tim Wescott <tim@seemywebsite.com> - 2015-09-19 00:12 -0500
      Re: Please help -- SPICE simulation and imolementation mismatch Phil Hobbs <pcdhobbs@gmail.com> - 2015-09-19 00:42 -0700
        Re: Please help -- SPICE simulation and imolementation mismatch joe hey <joehey@mailinator.com> - 2015-09-19 12:36 +0000
          Re: Please help -- SPICE simulation and imolementation mismatch DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-19 09:24 -0400
            Re: Please help -- SPICE simulation and imolementation mismatch Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-09-19 12:06 -0400
              Re: Please help -- SPICE simulation and imolementation mismatch DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-09-20 08:40 -0400
      Re: Please help -- SPICE simulation and imolementation mismatch dakupoto@gmail.com - 2015-09-19 20:05 -0700
        Re: Please help -- SPICE simulation and imolementation mismatch jeroen Belleman <jeroen@nospam.please> - 2015-09-20 23:03 +0200
  Re: Please help -- SPICE simulation and imolementation mismatch piglet <erichpwagner@hotmail.com> - 2015-09-19 09:18 +0100
    Re: Please help -- SPICE simulation and imolementation mismatch jeroen Belleman <jeroen@nospam.please> - 2015-09-19 12:54 +0200

csiph-web