powered by
Return a graph I vs E of the electrochemical process
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, l = 100, DerApprox = 2, errCheck = FALSE, Method = "Euler" )
bulk concentration expressed in Molar
diffusion coefficient expressed in cm^2/s
reduction potential of the species expressed in Volt
simulation parameter, maximum 0.5 for explicit methods
initial potential of the sweep expressed in Volt
final potential of the sweep expressed in Volt
potential scan rate of the simulation expressed in V/s
heterogeneous electron transfer rate constant expressed in m/s
charge transfer coefficient
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 E, if errCheck == T a list
# NOT RUN { LinSwp(Co = 0.001, Dm =0.45, DerApprox = 2, errCheck = FALSE, Method = "Euler") # }
Run the code above in your browser using DataLab