Analysis tools¶
In general, CatINT includes two main tools for analyzing the results of the simulation:
$CATINT/tools/plotting_catint.py$CATINT/tools/plotting_catmap.py
plotting_catmap.py¶
$CATINT/tools/plotting_catmap.py reads the results from the catmap_output folder and plots the current densities, coverages and degree of rate control. It supports also the comparison with experimental data, that is contained in the $CATINT/data/[reaction]/CSV folder.
plotting_catint.py¶
$CATINT/tools/plotting_catint.py reads the results from the comsol_results_? folder and plots all desired variables. Currently, CatINT supports a range of variables to be plotted. In general, for a variable named surface_[variable], the variable is plotted at the reaction plane at a potential specified via --desc (maps to closest actually calculated potential). In all other cases, the variable is just plotted as a function of space (x):
- properties (
--prop) supporting reaction plane (prependsurface_) and spatial plot: concentration: Concentrations of all speciesactivity: Activities of all speciesactivity_coefficient: Activity coefficients of all speciesefield: Electric fieldpotential: Electrostatic potentialcharge_density: Charge densitypH: pH calculated using the proton activity (if in species list, otherwise the hydroxide activity)
- properties (
- Other supported properties are:
electrode_current_density: Partial current density of all products, should give the same results as the plotting of thecatmap_outputdata using the$CATINT/tools/plotting_catmap.pyscriptpKw: The water self-dissociation product at the reaction plane as a function of potentialconcentration_at_x: Plot the concentrations of species at a specified distance x (specified using ``--xfixed)
Also remember to set the potential scale correctly by specifying --scale RHE/SHE.