Uvvis Spectroscopy: Case Study - Azobenzene E/Z Isomers
Uvvis Spectroscopy: Case Study - Azobenzene E/Z Isomers
Uvvis Spectroscopy: Case Study - Azobenzene E/Z Isomers
UVVis spectroscopy
UVVis spectroscopy
Predicting the UV/Vis spectrum is, essentially, predicting the electronic excited states of a
system, their energies and the probabilities of transition between them.
In ORCA, there are several methods that can compute excited state properties with higher or
lower accuracy, but here we will discuss only two of them: the simpler and widely used TD-
DFT, that presents a good speed to accuracy trade-off, and the newer STEOM-DLPNO-
CCSD, that is closer to the high-end of excited state methods.
It turns out that the E and Z isomers have different colors - one is yellow and the other red -
and the authors attribute this to a change in the lower energy band, assigned as a n − π ∗
transition. Let's see how we could have predicted these results from first principles.
TD-DFT
The time-dependent density functional theory (TD-DFT) is one of the most common
approaches to predict UVVis spectra, because it is rather simple and not computationally too
expensive. Its usage in ORCA is simple, for instance choosing the B3LYP functional and a
triplet-zeta basis:
!B3LYP DEF2-TZVP CPCM(HEXANE)
%TDDFT
NROOTS 30
END
* XYZfile 0 1 Eisomer_optimized.xyz
The %TDDFT automatically requests the excited-state calculation necessary for the
prediction of the spectrum and the NROOTS flag controls the number of excited states you
want to include.
Here we also used the CPCM as a solvation model for both the ground and the excited states
to simulate the hexane used in the experiment, which for the excited state case means the
LR-CPCM model by default. After the regular SCF, the TD-DFT header is printed:
------------------------------------------------------------------------------
------------------------------------------------------------------------------
with details with respect to the orbital windows, memory used and integral algorithms.
Note
The default version of TD-DFT in ORCA makes use of the TDA approximation. This can
be turned off by setting TDA FALSE under %TDDFT.
The necessary grids are build and the Davidson procedure starts:
------------------------
DAVIDSON-DIAGONALIZATION
------------------------
****Iteration 0****
[...]
Note that the RI and COSX approximations are also used to compute the necessary integrals
for the TD-DFT solution. The error here is usually even smaller than in the SCF, and the
calculation runs much faster (by a factor of about 10), so it is highly recommended to use
these.
------------------------------------
the weight of the individual excitations are printed if larger than 1.0e-02
[...]
It is important to have in mind that these energies actually are the vertical energy differences,
or the energy of that state in the ground state geometry.
Below the energies, the contributions of each single excitation are printed, first with its
relative contribution (these will be discussed later), followed by the eigenvector value.
After a detailed printing of the CPCM correction, ORCA does the calculation of some
necessary integrals:
-----------------------------
TD-DFT/TDA-EXCITATION SPECTRA
-----------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
[...]
The states and their respective vertical transition energies are printed again, now together
with the oscillator strength and transition dipole moments. Strictly speaking, this is yet not a
"spectrum" like the experimental one because we only have transition lines, not bands.
What we can do to approximate the experimental spectrum then is, e.g, convolute these lines
with a Gaussian function to turn them into bands. This can be done easily by using Avogadro:
open the output file, then go into "Extensions" and then "Spectra..." to open the "Spectra
Visualization" window:
There you can click on "Advanced" and then "Absorption Settings" to set the details such as
the line width and even "Export Spectra Data" to replot this graphic using a different
software:
Back to the example
Here is a plot of the predicted spectrum for both the E and Z isomers obtained from the
calculation above, using B3LYP and the DEF2-TZVP basis:
The two low energy peaks at about 507 and 417 nm for the E and Z isomers match quite well
the experimental results of 490 and 404 nm. If one converts this wavelength to color and
takes its complementary, the correspondence is fairly good:
Important
It is not that common that these results agree so well to the experiment, and here it can
be somewhat accidental. It is much more prevalent that the predicted spectra is "shifted"
by ±0.1 to ±0.5 eV and it is costumary in the literature to fix that, if there is any reference,
to correct systematic errors.
We can make use of the calculated results to help with that complicated task, by checking on
the composition of the excited states. As mentioned previously, it is printed in the TD-DFT
output that the first excited state (of the E isomer) is composed of:
Which means that the S1 state is composed of about 94% a HOMO to LUMO transition,
from orbital 54 to orbital 55 (the "a" there means alpha orbital).
If you run a calculation using !LARGEPRINT on the main input, you can visualize these
orbitals by opening the basename.out file directly in Avogadro, and they will be:
As you can see, the HOMO is a n-like molecular orbital, mostly located on the isolated
electron pairs of the nitrogens, and the LUMO is a π ∗ orbital, primarily around the N=N
bond, thus corroborating the suggested assignment.
We also printed the S2 main component, which is 94% HOMO-1 to LUMO transition. From
the image above, it is also possible to see that the HOMO-1 now is more like a regular π
orbital, and the π − π ∗ assignment seems like a good assumption. However, now we even
have the information that it is from the ring orbitals to the N=N antibonding orbital.
Important
Avogadro counts orbitals starting from 1, but ORCA starts counting from 0. So orbital 54
in ORCA will be orbital 55 in Avogadro, and so on!
Another approach to investigate the nature of the excited states is to look at the NTOs of
each transition [Martin2003]. These a more "compact" version of the molecular orbitals and
can help interpreting more complex cases. Take, for instance, the excited state 13 of the E
isomer:
There are at least seven large transitions involved, which might be quite confusing to
untangle. Now, if one requests a TD-DFT calculation using DONTO TRUE:
!B3LYP DEF2-TZVP CPCM(HEXANE)
%TDDFT
NROOTS 30
DONTO TRUE
END
* XYZfile 0 1 isomer_optimized.xyz
------------------------------------------
------------------------------------------
and the S13 is now described in terms of only two main transitions. These NTOs are saved in
a file named basename.s13.nto, and can be printed using the orca_plot tool.
After generating the .cube files for orbitals 53-56, these can be plotted using Avogadro.
Open the .cube file, go to "Extensions", then "Create Surfaces...", and on "Surface Type" select
the MO. After clicking on "Calculate", the orbitals will show up:
which are clearly π − π ∗ transitions on the aromatic rings, and S13 can then be assigned as
such.
The STEOM-CCSD is a method that also includes Correlation energy into the calculation of
the excited states, thus increasing the quality of the prediction [Iszak2019a]. It is in itself a
heavy method and very computational demanding, but the ORCA team has recently
developed The DLPNO scheme version of it (DLPNO-STEOM), that presents a much better
scaling and it is not much costlier than TD-DFT [Iszak2019b].
In order to use that, just optimize your geometry somehow and run:
%MDCI
NROOTS 15
DOSOLV TRUE
END
* XYZFILE 0 1 AZOE_HEX.xyz
As in other DLPNO or correlated methods using the RI, the /C basis is necessary for the
calculation. We also added the CPCM correction for both the ground and excited states, here
the latter is invoked by setting DOSOLV TRUE under %MDCI, which is the block that
controls these calcualtions.
The MAXITER 100 defines the maximum number of iterations during the many steps of
STEOM, and sometimes it is necessary to increase it to achieve convergence.
Note
As with the other CC methods, a large amount of memory might be needed. Also, be sure
you use a sufficiently large basis, of at least the size of DEF2-TZVPP for consistent
results.
The output printed is much larger than that of TD-DFT, for there are many more steps
necessary to conclude the overall computation. In summary what is done is:
1. First a regular DLPNO-CCSD calculation is performed.
2. That is followed by a simple CIS calcuation, that is necessary to reduce the active
space.
3. Then both a DLPNO-IP-EOM and a DLPNO-EA-EOM are made.
4. Several integrals are transformed.
---------------------------------------------------
---------------------------------------------------
[...]
The equations are solved rootwise by default, and after everything converges, the results are
printed:
------------------
STEOM-CCSD RESULTS
------------------
Amplitude Excitation
0.674029 50 -> 55
0.249536 50 -> 59
0.127342 50 -> 61
0.120800 52 -> 55
-0.595419 54 -> 55
-0.194231 54 -> 59
[...]
Similarly to TD-DFT, the square of the amplitudes is the percentage of that excitation in the
final state. The solvent shift is done, some other integrals are calculated and the "spectrum" is
printed:
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
The output file can be opened in Avogadro and the spectrum plotted as explained above in
Plotting the calculated spectrum:
Here we added the gray vertical lines to guide the eye to the first three peaks of the
spectrum. As you can see, although TD-DFT works well to predict the first, the higher energy
ones are largely displaced.
That can happen when these states are significantly different, and the associated error is not
comparable. One advantages of the STEOM is that there is a more balanced treatment of
different excited states and such situations and avoided.
The calculated results are now well in line with the experiment through the whole spectrum,
except for a small deviation on the intensities. We can arrange these results in a table to
facilitate visualization: below there is comparison of the energy error of the first three peaks
measured for the E isomer. The TD-DFT can be as high as 1 eV!
Comparison of the experimental and calculated UV/Vis
peaks from the spectra using TD-DFT (B3LYP) and
STEOM-CCSD with the same DEF2-TZVPP basis. The
values are in eV.
Important
Even if the predicted spectrum matches the experiment, the calculation is still not
reproducing exactly what happens during light absorption. The full experimental spectra
must also include vibrational resolution, and maybe even vibronic coupling. That can be
included with the ORCA_ESD module.