PotStep {EleChemr} | R Documentation |
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,
l = 100,
DerApprox = 2,
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 |
eta |
overpotential of the step expressed in Volt |
Temp |
temperature in kelvin |
n |
number of electrons involved in the process |
Area |
area of the electrode expressed in cm^2 |
l |
number of time steps of the simulation |
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
PotStep(Co = 0.001, exptime = 1, Dm =0.45, DerApprox = 2, errCheck = FALSE, Method = "Euler")
[Package EleChemr version 1.2.0 Index]