Return a graph I vs E of the electrochemical process, up to 4 EE mechanisms and CE mechanisms can be simulated
Gen_CV(Co = 0.001, Cred = 0, kco = 0, Dx1 = 1e-05, Eo1 = 0,
kc1 = 0, Vi = 0.3, Vf = -0.3, Vs = 0.001, ko1 = 0.01,
alpha1 = 0.5, Dred = 1e-05, Dred2 = 1e-05, Eo2 = 0, kc2 = 0,
ko2 = 0.01, alpha2 = 0.5, Dm = 0.45, Dred3 = 1e-05, Eo3 = 0,
kc3 = 0, ko3 = 0.01, alpha3 = 0.5, Dred4 = 1e-05, Eo4 = 0,
kc4 = 0, ko4 = 0.01, alpha4 = 0.5, Temp = 298.15, n = 1,
Area = 1, DerApprox = 2, errCheck = FALSE, Method = "Euler")
bulk concentration
bulk concentration
Chemical rate constant for Ox Species
diffusion coefficient of the oxidized species
reduction potential of the first electrochemical reaction
Chemical rate constant for Red Species
initial potential of the sweep
final potential of the sweep
potential scan rate of the simulation
heterogeneous electron transfer rate constant of the first electrochemical reaction
charge transfer coefficient of the first electrochemical reaction
diffusion coefficient of the first reduced species
diffusion coefficient of the second reduced species
reduction potential of the second electrochemical reaction
Chemical rate constant for second Red Species
heterogeneous electron transfer rate constant of the second electrochemical reaction
charge transfer coefficient of the second electrochemical reaction
simulation parameter, maximum 0.5 for explicit methods
diffusion coefficient of the third reduced species
reduction potential of the third electrochemical reaction
Chemical rate constant for third Red Species
heterogeneous electron transfer rate constant of the third electrochemical reaction
charge transfer coefficient of the third electrochemical reaction
diffusion coefficient of the fourth reduced species
reduction potential of the fourth electrochemical reaction
Chemical rate constant for fourth Red Species
heterogeneous electron transfer rate constant of the fourth electrochemical reaction
charge transfer coefficient of the fourth electrochemical reaction
temperature in kelvin
number of electrons involved in the process
area of the electrode
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 {
Gen_CV(Co = 0.001, DerApprox = 2, Dm = 0.45, errCheck = FALSE, Method = "Euler")
Gen_CV(Co = 0.001, Eo2 = -0.15, Dm = 0.45, kc1 = 0.0001)
# }
Run the code above in your browser using DataLab