EleChemr (version 1.1.0)

PotStep: Chrono amperometry with a finite step digital simulation

Description

Return a graph I vs t of the electrochemical process

Usage

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

Arguments

Co

bulk concentration

exptime

experimental time to be simulated

Dx

diffusion coefficient

Dm

simulation parameter, maximum 0.5 for explicit methods

eta

overpotential of the step

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

Examples

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

# }

Run the code above in your browser using DataCamp Workspace