Charge carrier mobility (parametric)
Introduction
In this tutorial we will calculate the hole mobility in an idealized organic material using common material parameters, based on manually supplied material parameters. In a first step we have to specify the system and the simulation by creating a settings file, in the second step we have to run a simulation using lightforge.
Tutorial files:
The settings file can be created manually with the instructions given below or be downloaded here.
Prerequisites
Make sure the environment varibales neccesary to run lightforge are set as shown here.
Settings
Create a file called "settings" with the following content:
pbc: [True, True, True]
Periodic boundary conditions in all dimensions
particles:
holes: True
electrons: False
excitons: False
We will only simulate holes
materials:
- name: htl
input_mode_transport: "PAR: eaip,sig,l"
molecule_parameters:
energies:
- [5.0,2.0]
- [0.07,0.07]
- [0.2,0.2]
We define one material named htl with full parametric input. IP is 5.0 eV, EA 2.0 eV, disorder of both IP and EA 0.07 eV. Reorganization energy for both electron hole transport ist 0.2 eV
morphology_width: 20
Our system is 20nm in y and z dimensions.
layers:
- thickness: 20
morphology_input_mode: cubic
molecule_species:
- material: htl
concentration: 1.0
One layer of 20 nm thickness, where molecules are represented by a simple cubic lattice. There is one type of molecule in the layer
neighbours: 26
transfer_integral_source: Miller-Abrahams
We consider hops to the nearest 26 neighbours and calculate transfer matrix elements using a parametric model.
pair_input:
- molecule 1: htl
molecule 2: htl
transfer_integral_parameters:
hole_transfer_integrals:
wf_decay_length: 0.1
maximum_ti: 0.003
Transfer integrals hopping from htl to htl need to be defined
experiments:
- simulations: 1
measurement: DC
Temperature: 300
field_direction: [1, 0, 0]
field_strength: 0.03 0.04 0.05
initial_holes: 10
We do an IV simulation at three different fields 0.03 V/nm - 0.05 V/nm. Our periodic 20x20x20 box containts 10 holes
iv_fluctuation: 0.15
new_wano: True
The simulation terminates if the current can be estimated with an error of 15%.
Simulation using lightforge
Run lightforge by typing:
# For V4
$OPENMPI_PATH/bin/mpirun -x OMP_NUM_THREADS --bind-to none -n 1 --mca btl self,vader,tcp python -m mpi4py $LFPATH/lightforge.py -s settings
# For V3 and below
$MPI_PATH/bin/mpirun -np 1 python -m mpi4py $LFPATH/lightforge.py -s settings
or to simulate the mobilities for the three specified fields simultaneously:
# For V4
$OPENMPI_PATH/bin/mpirun -x OMP_NUM_THREADS --bind-to none -n 4 --mca btl self,vader,tcp python -m mpi4py $LFPATH/lightforge.py -s settings
# For V3 and below
$MPI_PATH/bin/mpirun -np 4 python -m mpi4py $LFPATH/lightforge.py -s settings
Monitoring the calculation
In the case of a serial calculation the status of the calculation is printed out to the terminal. In case of a parallel calculation the status of the simulation of each data point is written to the files output_job_i.
Inspecting the results
The folder experiments contains several files with the results of the simulation. Field dependent mobilities are shown in mobility.png
The results of the search are