Standard calculations

Double layer capacitance

LiquidElectrolytes.dlcapsweepFunction
       dlcapsweep(sys;voltages=(-1:0.1:1)*ufac"V",
                              δ=1.0e-4,
                              molarity=0.1*ufac"mol/dm^3",
                              store_solutions=false,
                              solver_kwargs...)

Calculate double layer capacitances for voltages given in voltages. Returns a DLCapSweepResult

Assumptions:

  • Only one double layer in the system - close to working electrode
  • 1D domain
source
LiquidElectrolytes.DLCapSweepResultType
struct DLCapSweepResult{Tv, Tc, Ts} <: AbstractSimulationResult

Result data type for dlcapsweep

  • voltages::Any: Vector of voltages
  • dlcaps::Any: Vector of double layer capacitances
  • solutions::Any: Vector of solutions
source

Voltage-current sweeps

LiquidElectrolytes.ivsweepFunction
 ivsweep(
      sys;
      voltages = (-0.5:0.1:0.5) * ufac"V",
      store_solutions = false,
      solver_kwargs...,
      )

Calculate molar reaction rates and bulk flux rates for each voltage in voltages.

source
LiquidElectrolytes.IVSweepResultType
struct IVSweepResult{Tv, Twe, Tbulk, Ts} <: AbstractSimulationResult

Result data type for ivsweep

  • voltages::Any: Vector of voltages
  • j_we::Any: Working electrode molar reaction rates
  • j_bulk::Any: Bulk molar fluxes
  • solutions::Any: Vector of solutions
source