dopant activation
Introduction
This tutorial describes how to simulation doped organic layers with charge transfer to analyze doping efficiency or compute conductivity of doped injeciton layers. There are two ways to provide input for coulomb binding energy from QuantumPatch:
- Using a VC estimator from the disorder run, as described here. The following lightforge setup is based on this input.
- Computing VC via explicit computation of CT states, as described here. The respective lightforge setup is described here
Tutorial files:
The settings file can be created manually with the instructions given below or be downloaded here.
Computation of microscopic inpus with QuantumPatch
This simulation requires multiple QP runs on a mixed morphology from Deposit. Details and sample input files can be found in this use case.
Settings
A detailed description will follow shortly. In the meanwhile, please setup LightForge as depicted below. Please note that the above mentioned usecase may produce slightly different output files, as this project is still work in progress. A general remark: If a tab looks different than depicted, i.e. if some settings are not available, make sure to check all particle types in the General tab and set everything as depicted in the Physics tab. This exposes certain settings in other tabs.
General tab
The setup below is for analyzing doping activation, computing transport activation energy via temperature dependence and bulk conductivity in a doped material. Electrodes are therefore not included. Feel free to inlcude electrodes if you wish to analyze fermi-level alignment and injection behaviour. Remember to switch off PBC in x-direction when including electrodes.

IO tab
Inputs as depicted below are required:
- Disorder for both materials (with site energy prediction enabled, see also "Device" below) including VC estimator
- Electronic couplings
- IP output of dopant and host (from a single IP computation in the mixed morphology)
- Vacuum EA of dopant and host (two seperate files form vacuum computations including heuristic correction)
A description of required QP runs is available here.
Materials tab
Remark: Below, we take EA and IP from QP output. If you want to set these values manually, set "input_mode_transport" to "QP: sig PAR: eaip, l".

Device tab
As depicted below, the LightForge morphology is generated without stochastic expansion by including explicit site energies computed on a periodically expanded morphology in QuantumPatch. The fields "morphology width" and "thickness" are neglected in this case. Checkout the docu on the QuantumPatch postprocessing tab (command description available here with example settings) or this tutorial to see how to run a respective disorder run in QP. The respective Analysis.zip file, in our case renamed DisorderAnalysis_VCest.zip and labeled "Disorder" in the IO tab, contains all required input files and is loaded in the field "morphology_QP_output".

Topology tab
Some options in this tab are only available with the correct settings in the "Physics" tab. If you cannot set the settings as depicted below, proceed with the Physics tab and subsequently return to set topology parameters.

Physics tab
In addition to the setup depicted above, check the "show advanced" checkbox and insert values 0.4, 0.1, 0.1 in the mesh_scale table:

Operation tab
This setup simulates current at different temperatures to compute transport activation energy, as displayed in the use case. If you are interested in conductivity, you can specify multiple fields and chose a single temperature. In this case do not modify the Analysis tab from the presets.
Analysis tab
Computational resources
LightForge can be run in parallel using up to (Nsim * NT * NF + 1) cores, where Nsim is the number of simulations, NT the number of temperatures and NF the number of field strenghts as set in the Operation tab via "simulations", "temperature [K]", "field_strength [V/nm]" respectively, with one master thread added. In our case we have 15*4 individual simulations, so we allocate 2x31=62 cores (61 would be sufficient but not possible, as we distribute the workload accross two nodes).

Simulation using lightforge
Run lightforge by typing:
# For V4
$OPENMPI_PATH/bin/mpirun -x OMP_NUM_THREADS --bind-to none -n 60 --mca btl self,vader,tcp python -m mpi4py $LFPATH/lightforge.py -s settings
# For V3 and below
$MPI_PATH/bin/mpirun -np 60 python -m mpi4py $LFPATH/lightforge.py -s settings
The results of the search are