003_ac_sim : AC analysis
Requires: SmartSpice & Smartview
Minimum Versions: SMARTSPICE 3.16.12.R
The input deck uses AC analysis and several sweeps in parameter values to see response in a simple circuit. The results of the .MEASURE statement are stored in a separate output file which is distinctly separate from the RAW file.
To run the simulation, Source the deck and press the green run button. When the simulation completes, the results are shown in SmartSpice log Window.
Input Files
multiple_sweep_ac.in
****** MULTI_SWEEP_AC ****** .options nomod post=1 savemeasureout vin 1 0 dc 1 ac acmag= 'mag*1' acphase='ph-2' r1 1 2 parr r2 2 0 100 c1 2 0 'capac/10' ** ******************* Label Definition .PARAM parr=100 pstart=100 incr=pstart mag=1 ph=2 capac=10n ** ******************* AC + SWEEP .ac dec 10 10K 100meg + SWEEP parr 100 200 100 sweep capac 10n 20n 10n .meas ac cross_pt cross v(2) val=0.1 from=100k to=20Meg .end
multiple_sweep_ac_measure.out
SmartSpice v. 3.16.12.R ****** MULTI_SWEEP_AC ****** AC Analysis, 27 deg C, step parr = 100, step capac = 1e-008,Thu Aug 19 18:21:29 2010 cross_pt = 1.5640e+007 ****** MULTI_SWEEP_AC ****** AC Analysis, 27 deg C, step parr = 200, step capac = 1e-008,Thu Aug 19 18:21:29 2010 cross_pt = 7.6422e+006 ****** MULTI_SWEEP_AC ****** AC Analysis, 27 deg C, step parr = 100, step capac = 2e-008,Thu Aug 19 18:21:29 2010 cross_pt = 7.8231e+006 ****** MULTI_SWEEP_AC ****** AC Analysis, 27 deg C, step parr = 200, step capac = 2e-008,Thu Aug 19 18:21:29 2010 cross_pt = 3.8222e+006
003_ac_sim
[an error occurred while processing this directive]
Graphics