::SpiceGenTcl::Common::AnalysesTop, Main, Index
ClassesTop, Main, Index
Ac [::SpiceGenTcl::Common::Analyses]Top, Main, Index
Method summary
| Constructor for the class. | |
actOnParam | See ::SpiceGenTcl::Analysis.actOnParam |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Analysis.genSPICEString |
Properties
-name | Readable, writable. |
-type | Readable, writable. |
Superclasses
Mixins
Subclasses
::SpiceGenTcl::Ngspice::Analyses::Ac, ::SpiceGenTcl::Xyce::Analyses::Ac, ::SpiceGenTcl::Ltspice::Analyses::Ac
constructor [::SpiceGenTcl::Common::Analyses::Ac]Ac, Top, Main, Index
Creates object of class Ac that describes AC analysis.
Parameters
-fstart value | Start frequency. |
-fstop value | Stop frequency. |
-n value | Number of points. |
-name value | Name argument, optional. |
-variation value | Parameter that defines frequency scale, could be dec, oct or lin |
Description
.ac variation n fstart fstop
Example of class initialization:
Ac new -variation dec -n 10 -fstart 1 -fstop 1e6 -name dc1
method constructor {args} {
# Creates object of class `Ac` that describes AC analysis.
# -variation value - parameter that defines frequency scale, could be `dec`, `oct` or `lin`
# -n value - number of points
# -fstart value - start frequency
# -fstop value - stop frequency
# -name value - name argument, optional
# ```
# .ac variation n fstart fstop
# ```
# Example of class initialization:
# ```
# Ac new -variation dec -n 10 -fstart 1 -fstop 1e6 -name dc1
# ```
# Synopsis: -variation value -n value -fstart value -fstop value ?-name value?
set arguments [argparse -inline -help {Creates object of class `Ac` that describes AC analysis} {
-name=
{-variation= -required -enum {dec oct lin} -help {Frequency scale}}
{-n= -required -help {Number of points}}
{-fstart= -required -help {Start frequency}}
{-fstop= -required -help {Stop frequency}}
}]
my NameProcess $arguments [self object]
lappend params [list -posnocheck variation [dget $arguments variation]]
set paramsOrder {n fstart fstop}
my ParamsProcess $paramsOrder $arguments params
##nagelfar variable name
next ac $params -name $name
}Dc [::SpiceGenTcl::Common::Analyses]Top, Main, Index
Method summary
| Constructor for the class. | |
actOnParam | See ::SpiceGenTcl::Analysis.actOnParam |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Analysis.genSPICEString |
Properties
-name | Readable, writable. |
-type | Readable, writable. |
Superclasses
Mixins
Subclasses
::SpiceGenTcl::Ngspice::Analyses::Dc, ::SpiceGenTcl::Xyce::Analyses::Dc, ::SpiceGenTcl::Ltspice::Analyses::Dc
constructor [::SpiceGenTcl::Common::Analyses::Dc]Dc, Top, Main, Index
Creates object of class Dc that describes DC analysis.
Parameters
-incr value | Incrementing value. |
-name value | Name argument, optional. |
-src value | Name of independent voltage or current source, a resistor, or the circuit temperature. |
-start value | Start value. |
-stop value | Stop value. |
Description
.dc src start stop vincr
Example of class initialization:
Dc new -src v1 -start {-eq time1} -stop 5 -incr 0.1 -name dc1
method constructor {args} {
# Creates object of class `Dc` that describes DC analysis.
# -src value - name of independent voltage or current source, a resistor, or the circuit temperature
# -start value - start value
# -stop value - stop value
# -incr value - incrementing value
# -name value - name argument, optional
# ```
# .dc src start stop vincr
# ```
# Example of class initialization:
# ```
# Dc new -src v1 -start {-eq time1} -stop 5 -incr 0.1 -name dc1
# ```
# Synopsis: -src value -start value -stop value -incr value ?-name value?
set arguments [argparse -inline -help {Creates object of class `Dc` that describes DC analysis} {
{-name= -help {Name argument}}
{-src= -required -help {Name of independent voltage or current source, a resistor, or the circuit temperature}}
{-start= -required -help {Start value}}
{-stop= -required -help {Stop value}}
{-incr= -required -help {Incrementing value}}
}]
my NameProcess $arguments [self object]
lappend params [list -posnocheck src [dget $arguments src]]
set paramsOrder {start stop incr}
my ParamsProcess $paramsOrder $arguments params
##nagelfar variable name
next dc $params -name $name
}Op [::SpiceGenTcl::Common::Analyses]Top, Main, Index
Method summary
| Constructor for the class. | |
actOnParam | See ::SpiceGenTcl::Analysis.actOnParam |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Analysis.genSPICEString |
Properties
-name | Readable, writable. |
-type | Readable, writable. |
Superclasses
Mixins
Subclasses
::SpiceGenTcl::Ngspice::Analyses::Op, ::SpiceGenTcl::Xyce::Analyses::Op, ::SpiceGenTcl::Ltspice::Analyses::Op
constructor [::SpiceGenTcl::Common::Analyses::Op]Op, Top, Main, Index
Creates object of class Op that describes OP analysis.
Parameters
-name value | Name argument, optional. |
Description
.op
Example of class initialization:
Op new -name op1
method constructor {args} {
# Creates object of class `Op` that describes OP analysis.
# -name value - name argument, optional
# ```
# .op
# ```
# Example of class initialization:
# ```
# Op new -name op1
# ```
# Synopsis: ?-name value?
set arguments [argparse -inline -help {Creates object of class `Op` that describes OP analysis} {
-name=
}]
my NameProcess $arguments [self object]
##nagelfar variable name
next op {} -name $name
}Tran [::SpiceGenTcl::Common::Analyses]Top, Main, Index
Method summary
| Constructor for the class. | |
actOnParam | See ::SpiceGenTcl::Analysis.actOnParam |
configure | Configure properties. |
genSPICEString | See ::SpiceGenTcl::Analysis.genSPICEString |
Properties
-name | Readable, writable. |
-type | Readable, writable. |
Superclasses
Mixins
Subclasses
::SpiceGenTcl::Ngspice::Analyses::Tran, ::SpiceGenTcl::Xyce::Analyses::Tran, ::SpiceGenTcl::Ltspice::Analyses::Tran
constructor [::SpiceGenTcl::Common::Analyses::Tran]Tran, Top, Main, Index
Creates object of class Tran that describes TRAN analysis.
Parameters
-name value | Name argument, optional. |
-tmax value | Size of maximum time step in actual simulation, optional, require -tstart |
-tstart value | Start time of saving data, optional. |
-tstep value | Size of maximum time step for plotting. |
-tstop value | Stop time value. |
-uic | Skip initial operating point solution, optional. |
Description
.tran tstep tstop <tstart<tmax>> <uic>
Example of class initialization:
Tran new -tstep 1e-9 -tstop 10e-6 -name dc1
method constructor {args} {
# Creates object of class `Tran` that describes TRAN analysis.
# -tstep value - size of maximum time step for plotting
# -tstop value - stop time value
# -tstart value - start time of saving data, optional
# -tmax value - size of maximum time step in actual simulation, optional, require `-tstart`
# -uic - skip initial operating point solution, optional
# -name value - name argument, optional
# ```
# .tran tstep tstop <tstart<tmax>> <uic>
# ```
# Example of class initialization:
# ```
# Tran new -tstep 1e-9 -tstop 10e-6 -name dc1
# ```
# Synopsis: -tstep value -tstop value ?-tstart value ?-tmax value?? ?-uic? ?-name value?
set arguments [argparse -inline -help {Creates object of class `Tran` that describes TRAN analysis} {
-name=
{-tstep= -required -help {Size of maximum time step for plotting}}
{-tstop= -required -help {Stop time value}}
{-tstart= -help {Start time of saving data}}
{-tmax= -require {tstart} -help {Size of maximum time step in actual simulation}}
{-uic -boolean -help {Skip initial operating point solution}}
}]
my NameProcess $arguments [self object]
set paramsOrder {tstep tstop tstart tmax}
my ParamsProcess $paramsOrder $arguments params
if {[dget $arguments uic]} {
lappend params {-sw uic}
}
##nagelfar variable name
next tran $params -name $name
}