Skip to content

Calculate the Schottky Barrier Height

1. Introduction

Calculate the p-type and n-type Schottky barrier heights (SBH) of a labeled metal/semiconductor interface by the potential lineup method. The job calculates the interface and its semiconductor part.

2. Open the notebook

In JupyterLite, the notebook is made/workflows/schottky_barrier.ipynb, entry 8.3.1 "Schottky barrier heights at a metal/semiconductor interface" of made/workflows/Introduction.ipynb.

3. Set the parameters

Cell 1.2 holds the interface, workflow and compute parameters:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from datetime import datetime
from mat3ra.ide.compute import QueueName
from mat3ra.made.tools.convert.interface_parts_enum import InterfacePartsEnum

# 2. Auth and organization parameters
ORGANIZATION_NAME = None

# 3. Material parameters
FOLDER = "../uploads"
INTERFACE_NAME = "Interface"  # To search for in "uploads" folder, account's materials, then Standata
RELAXED_INTERFACE_NAME = None  # To search for in "uploads" folder, account's materials, then Standata. Defaults to the interface
SEMICONDUCTOR_PART = InterfacePartsEnum.FILM
INTERFACE_SYSTEM_NAME = None  # Used as tag to group the materials. Defaults to shorthand from the loaded interface name

# 4. Workflow parameters
APPLICATION_NAME = "espresso"
WORKFLOW_SEARCH_TERM = "schottky_barrier.json"
MY_WORKFLOW_NAME = "SBH"

# 5. Compute parameters
CLUSTER_NAME = None
QUEUE_NAME = QueueName.D
PPN = 1

# 6. Job parameters
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M")
POLL_INTERVAL = 60  # seconds

INTERFACE_NAME is the interface's name or a part of it, looked up with load_material; the Interface with Minimal Strain (ZSL) notebook builds a labeled interface whose name contains the default "Interface". RELAXED_INTERFACE_NAME names a relaxed copy of the interface, split at the gap that the labels of the unrelaxed interface locate. SEMICONDUCTOR_PART is the labeled part that is the semiconductor, the film by default; the other part is the metal. INTERFACE_SYSTEM_NAME is the tag of the two saved materials.

The overview explains the account, FOLDER, workflow, compute and job parameters.

Cell 1.3 holds the method parameters:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Method parameters
PSEUDOPOTENTIAL_TYPE = "us"  # "us" (ultrasoft), "nc" (norm-conserving), "paw"
FUNCTIONAL = "pbe"  # for gga: "pbe", "pbesol"; for lda: "pz"
MODEL_SUBTYPE = "gga"

# K-grid and k-path
SCF_KGRID = None  # e.g. [8, 8, 1]
KPATH = None  # e.g. [{"point": "Γ", "steps": 20}, {"point": "M", "steps": 20}]

# Set SCF diagonalization, mixing and occupations in QE input
ADDITIONAL_PARAMETERS = {
    "electrons": {
        "diagonalization": "david",  # "david" or "cg"
        "mixing_beta": 0.3
    },
    # "system": {"smearing": "mv", "degauss": 0.02},
}
# Dipole correction along z; emaxpos to emaxpos + eopreg (crystal units) inside the vacuum:
# ADDITIONAL_PARAMETERS["control"] = {"tefield": True, "dipfield": True}
# ADDITIONAL_PARAMETERS["system"] = {**ADDITIONAL_PARAMETERS.get("system", {}), "edir": 3, "eamp": 0.0, "eopreg": 0.05, "emaxpos": 0.95}

# Energy cutoffs
ECUTWFC = 40
ECUTRHO = 200

# Band gap used for the n-type barrier, in eV. None uses the DFT gap of the semiconductor.
BAND_GAP = None

SCF_KGRID applies to both the interface and the semiconductor. ADDITIONAL_PARAMETERS sets the diagonalization and the mixing; its "system" entry sets the smearing of the metallic interface, and the commented lines add a dipole correction along z, whose region from emaxpos to emaxpos + eopreg has to lie in the vacuum. BAND_GAP replaces the gap of the semiconductor in the n-type barrier, for example with a measured or a hybrid-functional gap; the p-type barrier keeps the calculated value.

The overview explains the model, k-point and cutoff and engine input parameters.

4. Run and read the result

Run the notebook with Run > Run All and log in when it asks, as in Authentication in JupyterLite.

Section 3 extracts the semiconductor part by the labels, removes the labels, and saves the interface and the semiconductor to the account, tagged with INTERFACE_SYSTEM_NAME. After the job finishes, section 8 prints the Fermi energy of the interface, the valence band maximum and the band gap of the semiconductor, and the p-type and n-type barrier heights; it plots the average electrostatic potential profiles, and the profile of the interface with the metal and semiconductor regions and the lineup.

5. Interactive JupyterLite notebook

The interactive JupyterLite notebook for calculating the Schottky barrier heights can be accessed below.