CV/Dunn capacitive contribution plots
Plot capacitive fractions and components by cycle and scan rate and export figures, data, and an Origin project.

Compare cyclic voltammograms by cycle and scan rate, with the capacitive contribution estimated using the Dunn method shown as a shaded area. Use Fraction fill to compare cycle-level fractions or switch to Capacitive component to see how the fitted capacitive current varies with potential.
Prepare the data
- Use CV data for the same sample on the same reference potential scale. Provide one dataset per scan rate and at least three distinct rates.
- Select an input folder or multiple files. The workflow accepts instrument files, generic CV text and CSV, and standard extracted CV tables with Metadata and Scans_Split sheets.
- A cycle is available for comparison when every dataset has complete increasing- and decreasing-potential scans for that cycle. The fit uses the potential range shared by both directions at all rates.
- The workflow fits data on a common current scale. It can convert current density to current when valid electrode areas are available. If all inputs contain current densities and some areas are missing, the plots and data use mA/cm².
Steps
- Select the data and review scan rates. The workflow uses the instrument settings when available. Rates are shown in mV/s. Use your experiment records to resolve missing or conflicting rates.
- Select cycles and scan rates for plotting. Expand Plot settings to adjust the selection. All complete cycles in common and all rates are selected initially. Each cycle is fitted using all confirmed rates. Selecting just two rates to plot gives the same fitted values for those rates.
- Choose a plot mode and style. Fraction fill is selected by default. Set the comparison columns, measured line color, fill color, opacity, and title, then select Apply settings.
- Inspect the preview. When multiple cycles are selected, use Preview cycle to switch the displayed cycle. Hover over the Plotly curves to read potential and current, or scroll to zoom. The preview shows one cycle at a time. Exports include all cycles checked in the plot settings.
- Export the results. Use Export plots and data for images and tables. Expand More export options and use Generate Origin project to save editable graphs.
Calculation and interpretation
The workflow interpolates the increasing- and decreasing-potential branches separately onto a shared potential grid. At each potential E, it regresses I/√v against √v, where v is the scan rate. The slope k₁ and intercept k₂ give the capacitive current Icap = k₁v and diffusion current Idiff = k₂√v.
Fraction fill integrates |Icap| and |Idiff| over both scan directions. The capacitive fraction for a cycle and rate is the summed capacitive integral divided by the sum of the capacitive and diffusion integrals. The fill scales the width of the measured loop around its midpoint. For a fraction of 60%, the shaded area occupies 60% of the measured loop area in the shared potential window. The same fraction applies across that window.
Capacitive component fills between the signed capacitive currents of the two branches, preserving the direction and magnitude of each fitted term. For example, a capacitive current of −2.4 mA and a diffusion current of +0.5 mA give a fitted total of about −1.9 mA. In this case the capacitive component can extend beyond the measured loop. The preview reports the largest excursion and its potential. Use the fit table to check the signs of both terms and the residual, calculated as measured current minus the sum of the fitted terms.
Output files
| File | Contents |
|---|---|
| cycle-〈cycle〉_scan-〈index〉.png | A 300 DPI figure for each selected cycle and rate. See the summary table for the scan rate of each file. |
| cycle-〈cycle〉_comparison.png | A comparison figure of the selected scan rates for one cycle. |
| dunn_summary.csv | Cycle, rate, plot mode, potential window, capacitive fraction, and largest excursion of the fitted capacitive component. |
| dunn_fit.csv | Interpolated measured current, capacitive current, diffusion current, and residual by scan direction. |
| dunn_fill.csv | The potential grid and both fill boundaries used for the selected plot mode. |
| dunn-overlay-〈id〉.opju | An Origin project with source worksheets, editable native graphs, and comparison figures. |
Origin projects require a supported local installation of Origin. Images and CSV tables can be exported separately. Open the results folder from the workflow after export.
Interpreting the fit
The Dunn model describes current using one term proportional to scan rate and another proportional to its square root. If residuals rise markedly within a potential range, check the curves and cycle numbers across scan rates before attributing the fitted terms to capacitive and diffusion processes in that range.
- CV/Dunn: Capacitive and Diffusion Contribution Ratios shows the integrated contributions for the two scan directions.
- CV/Dunn: Potential–Scan-Rate Contribution Heatmap and 3D Plot shows how the fraction varies with potential and scan rate and includes fit quality and residual plots.