ChronAmp {EleChemr}R Documentation

Chrono amperometry digital simulation

Description

Return a graph I vs t of the electrochemical process

Usage

ChronAmp(
  Co = 0.001,
  exptime = 1,
  Dx = 1e-05,
  Dm = 0.45,
  Temp = 298.15,
  n = 1,
  Area = 1,
  DerApprox = 2,
  l = 100,
  errCheck = FALSE,
  Method = "Euler"
)

Arguments

Co

bulk concentration expressed in Molar

exptime

experimental time to be simulated expressed in seconds

Dx

diffusion coefficient expressed in cm^2/s

Dm

simulation parameter, maximum 0.5 for explicit methods

Temp

temperature in kelvin

n

number of electrons involved in the process

Area

area of the electrode expressed in cm^2

DerApprox

number of point for the approximation of the first derivative

l

number of time steps of the simulation

errCheck

if true the function returns a list with parameters for CottrCheck function

Method

method to be used for the simulation = "Euler" "BI" "RK4" "CN" "BDF"

Value

if errCheck == F a graph I vs t, if errCheck == T a list

Examples

ChronAmp(Co = 0.001, exptime = 1, DerApprox = 2, Dm = 0.45, errCheck = FALSE, Method = "Euler")


[Package EleChemr version 1.2.0 Index]