Learn R Programming

deTestSet (version 1.0)

nand: Nand Gate, Index 1 IDE

Description

It is an index 1 IDE, 14 equations

Usage

nand  (times = 0:80, yini =NULL, dyini = NULL,
  parms = list(), method = "mebdfi", maxsteps = 1e5, ...)

Arguments

yini
the initial (state) values for the DE system. If y has a name attribute, the names will be used to label the output matrix.
dyini
the initial derivatives of the state variables of the DE system.
times
time sequence for which output is wanted; the first value of times must be the initial time.
parms
list of parameters that overrule the default parameter values
method
the solver to use; only mebdfi available for now
maxsteps
maximal number of steps per output interval taken by the solver
...
additional arguments passed to the solver .

Value

  • A matrix of class deSolve with up to as many rows as elements in times and as many columns as elements in yini, plus an additional column (the first) for the time value.

    There will be one row for each element in times unless the solver returns with an unrecoverable error. If yini has a names attribute, it will be used to label the columns of the output value.

Details

The default parameters are: RGS = 4, RGD = 4, RBS = 10, RBD = 10, CGS = 0.6e-4, CGD = 0.6e-4, CBD = 2.4e-5, CBS = 2.4e-5, C9 = 0.5e-4, DELTA = 0.2e-1, CURIS = 1.e-14, VTH = 25.85, VDD = 5., VBB = -2.5

References

http://www.dm.uniba.it/~testset

Examples

Run this code
out <- nand(method = "daspk")
plot(out, lwd = 2, which = 1:9)

# compare with reference solution
max(abs(out[nrow(out),-1] - reference("nand")))

Run the code above in your browser using DataLab