powered by
Return a graph I vs t of the electrochemical process
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" )
bulk concentration expressed in Molar
experimental time to be simulated expressed in seconds
diffusion coefficient expressed in cm^2/s
simulation parameter, maximum 0.5 for explicit methods
overpotential of the step expressed in Volt
temperature in kelvin
number of electrons involved in the process
area of the electrode expressed in cm^2
number of time steps of the simulation
number of point for the approximation of the first derivative
if true the function returns a list with parameters for CottrCheck function
method to be used for the simulation = "Euler" "BI" "RK4" "CN" "BDF"
if errCheck == F a graph I vs t, if errCheck == T a list
# 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 DataLab