ex_nand: Nand Gate, Index 1 IDE

Description Usage Arguments Details Value Note Author(s) References Examples

Description

It is an index 1 IDE, 14 equations

Usage

1
2
3
nand  (times = 0:80, yini =NULL, dyini = NULL,
       parms = list(), printmescd = TRUE, method = mebdfi, 
       atol = 1e-6, rtol = 1e-6, 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

rtol

relative error tolerance, either a scalar or a vector, one value for each y,

atol

absolute error tolerance, either a scalar or a vector, one value for each y.

printmescd

if TRUE the mixed error significant digits computed using the reference solution at time 417600 are printed

...

additional arguments passed to the solver .

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

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.

Note

This model is implemented in FORTRAN

Author(s)

Karline Soetaert <[email protected]>

Francesca Mazzia

References

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

Examples

1
2
3
4
5
out <- nand(method = "daspk")
plot(out, lwd = 2, which = 1:9)

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

deTestSet documentation built on May 29, 2017, 2:56 p.m.