EleChemr (version 1.1.0)

CV: Cyclic voltammetry digitial simulation

Description

Return a graph I vs E of the electrochemical process

Usage

CV(Co = 0.001, Dx = 1e-05, Eo = 0, Dm = 0.45, Vi = 0.3,
  Vf = -0.3, Vs = 0.001, ko = 0.01, alpha = 0.5, Temp = 298.15,
  n = 1, Area = 1, DerApprox = 2, errCheck = FALSE,
  Method = "Euler")

Arguments

Co

bulk concentration

Dx

diffusion coefficient

Eo

reduction potential of the species

Dm

simulation parameter, maximum 0.5 for explicit methods

Vi

initial potential of the sweep

Vf

final potential of the sweep

Vs

potential scan rate of the simulation

ko

heterogeneous electron transfer rate constant

alpha

charge transfer coefficient

Temp

temperature in kelvin

n

number of electrons involved in the process

Area

area of the electrode

DerApprox

number of point for the approximation of the first derivative

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 E, if errCheck == T a list

Examples

Run this code
# NOT RUN {
CV(Co = 0.001, DerApprox = 2, Dm = 0.45, errCheck = FALSE, Method = "Euler")

# }

Run the code above in your browser using DataLab