LinSwp: Linear Sweep digitial simulation

Description Usage Arguments Value Examples

Description

Return a graph I vs E of the electrochemical process

Usage

1
2
3
4
LinSwp(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

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

EleChemr documentation built on May 16, 2019, 1:12 a.m.

Related to LinSwp in EleChemr...