Parametrizer GUI

WaNo and Overview

Parametrizer WaNo

Input files and parameters

Molecule Settings:

  • Molecule (Mol2): Input of a 3D molecular structure in the mol2-file format.
  • Molecule Identifier: three-digit alphanumeric string that is used to label the molecule throughout the workflow in various output files.
  • Optimize Molecule: Check this box to perform geometry optimization of your compound.
  • Charge: Choose the charge state of the molecule, which shall be parametrized.
  • Multiplicity: Select the multiplicity of the molecule. Select 1 for a system, having just paired electons (singlet), select 2 for a radical system, having one unpaired electron (doublet), or select 3 (triplet) for a system, having two unpaired electrons.
  • Excited State of Interest: Set to 0 for groundstate S0 optimization and groundstate S0 singlepoints. To optimize in the S1 state, select 1.
    Especially for excited state optimization: Setting SCF convergence to tight or extreme might be required for convergence. Higher Geometry Convergence only increases convergence thresholds and will not lead to faster convergence, but might be required, if the resulting structure does not converge into the correct excited or ground-state. If an excited state is optimized, please use an already ground-state optimized molecule as a starting structure.

DFT Engine:

  • Engine: Choose the DFT Engine for geometry optimization and computation of partial charges. Currently available: Turbomole (DFT, requires Turbomole license), Psi4 (DFT) and DFTB+ (DFTB). For details, check the DFTEngines-section
  • Engine-specific settings:
    • Turbomole:

      • Partial Charge Method: Electrostatic potential fit (EPS), Mulliken available or No charges (required when you want to calculate excitation energies Meta-hybrid GGA e.g. M06-2X functional)
      • D3 Dispersion Correction: Account for Pauli-repulsion. We recommend to use this option for geometry optimization.
      • static_polarizability: This is required for specific QuantumPatch runs. It will print out the static polarizability tensor of the molecule.
      • Functional and basis set: Check the Turbomole manual for details. We recommend to use B3LYP, SVP and the ESP-fit method for computation of partial charges.
      • Preoptimization: Preoptimization of the molecular geometry with XTB or DFTB may achieve a significant reduction of computation time. We recommend to use DFTB for molecules containing only elements supported by DFTB (see list of supported atom types ) or XTB if the molecule contains additional elements.
      • SCF and Geometry convergence sets the Turbomole convergence criterion. For the subsequent computation of sensitive quantities such as excitation energies in QuantumPatch, we recommend to use the Tight or Extreme option. If a computation does not converge, increase the threshold.
      • Analysis options: enables optional tasks after the Turbomole calculation. Currently, Estimate electrostatic disorder and Generate orbital plots are available.
      • SCF and Geometry convergence sets the Turbomole convergence criterion. For the subsequent computation of sensitive quantities such as excitation energies in QuantumPatch, we recommend to use the Tight or Extreme option, but stick to Normal otherwise.
      • Analysis options: performs additional computations after the standard Turbomole run:
        • "Estimate electrostatic disorder": Provides an estimated value of electrostatic disorder for this material, based on the electrostatic potential surrounding a single molecule.
        • "Generate ESP surface plots": Plots the electrostatic potential on a surface around the molecule.
        • "Generate orbital plots": Provides plots of HOMO and LUMO orbitals, as well as vmd input files for customized vizualization.
      • Inclusion of an implicite solvent: supported for Turbomole as DFT Engine, check the option cosmo and enter a dielectric constant for the implicite solvent into the appearing epsilon field. Calculations in excited states require to select Partial Charge Method to No Charges!
      • For wPBE_own, wPBEH_own or CAM-B3LYP_own (range separated functionals), the following additional options are available:
        • use default range sep values: If enabled, standard values for omega, alpha and beta are used. If disabled, values for omega (if not automatically tuned, see below), alpha and beta (alpha and beta only impact wPBEH_own and CAM-B3LYP_own) can be set manually. Make sure that the sum of alpha and beta is 1!
        • do_w_fit: If disabled, the value of omega, as defined above, will be used. If enabled, automated omega-tuning is performed. Select the fit method in w_fit dropdown EA,IP,T1 or ADC(2). This predicts an optimized omega value with respect to the predicted EA, IP or first triplet excitation energy. If excited state > 0 is selected, the tuning will be performed at ground state and afterwards a simulation with the requested excitation is performed with the tuned omega value. You can also use the implicit solvent model, COSMO, in the fit, however, we recommend COSMO just for the T1 and not for the IP or EA fit. If you define COSMO in the Turbomole Settings and check no_cosmo in the w_fit box, the w-fit will not use COSMO, but the last single point calculation with the tuned w will use the defined COSMO settings.
    • Psi4:

      • Partial Charge Method: Electrostatic potential fit (EPS) or Mulliken available. ESP recommended.
      • D3 Dispersion Correction: Account for Pauli-repulsion. We recommend to use this option for geometry optimization.
      • Functional and basis set: Check the Psi4 manual for details.
      • Preoptimization: Preoptimization of the molecular geometry with XTB or DFTB may achieve a significant reduction of computation time. We recommend to use DFTB for molecules containing only elements supported by DFTB (see list of supported atom types ) or XTB if the molecule contains additional elements.
    • DFTB+:

      • Partial Charge Method: Improved Charge Model 5 (CM5) or Mulliken available. CM5 recommended.
      • D3 Dispersion Correction: Account for Pauli-repulsion. We recommend to use this option for geometry optimization.
    • XTB:

      • Partial Charge Method: Charge Model (CM5) or Mulliken charges are available. CM5 is recommended for GFN XTB version 1 and Mulliken for GFN XTB 2 (GFN2 does not support CM5 right now, therefore, just Mulliken charges can and will be calculated, even if CM5 is selected).
      • SCF convergence sets the XTB convergence criterion. Normal is recommended.
      • Optimization cycles sets the number of runns which are used to get an optimized structure. 2000 should be enough to obtain a final structure.
      • GFN selects the version of XTB. GFN 2 is recommanded.

Automated w-tuning of range separated functionals

Param Workflow

Range separated functionals are useful e.g. for the computation of excited properties of molecules (see e.g. Excitation energies in solution or the Exciton Preprocessor). The advantage is that the w-tuning needs to be done only once and the parameter set for a specific molecule can be used in other runs without rerunning the fit. In this tutorial we show how to tune range separated functionals, i.e. fitting the w-parameter, and how to automatically import the fitted w into other modules.

Setting up w-tuning in the Parametrizer module

The setup of the engine for the w-fit is depicted to the right:

  • Chose CAM-B3LYP_own as functional. def2-SVP we recommend as basis set for most use cases.
  • For most use cases, disable cosmo (implicit solvent model) and Preoptimization: Use an optimized configuration of another Parametrizer run.
  • Uncheck "use default range sep values"
  • Set alpha to 0.1 and beta to 0.9. If, after the w-tuning, you use the tuned w in other computations, remember to set alpha and beta to the same values there.
  • Enable "do_w_fit"
  • Chose a fitting reference: IP, EA, T1, S1 or ADC(2). ADC(2) is useful if you are looking for a cheaper method to compute results with ADC(2) accuracy (see e.g. the use case Excitation energies in solution)
  • no_cosmo: This is needed if cosmo is enabled, but the fit should be done without cosmo.

The fitted value for w is written into the file "output_dict.yml" in the entry "w-fit".

Importing fitted values in other modules

With SimStack you can directly import the fitted w value into a simulation module preceeding the Parametrizer module. This is exemplified in the figure below for the EPP (Exciton Preprocessor) module, but works similar e.g. for QP or a second Parametrizer module:

  1. Construct a workflow starting with the Parametrizer module to run the w-fit. Set up the Parametrizer as described above.
  2. In the preceeding module, define an engine with CAM-B3LYP_own and the same basis as used in the Parametrizer module. Set alpha and beta as done in the Parametrizer module. Enable TDA (at least this is recommended in the EPP).
  3. Import the fitted w-value from the Parametrizer by clicking on the button right of the input field for w. From the list of exported values, chose "Parametrizer3.w-fit".
Param Workflow

Output Files - Inputs for further modules

Molecular structure and forcefield files

Filename File description Interface to module...
molecule.pdb pdb-file containing atom positions and bond information of the (optimized) molecular structure. Deposit or DihedralParametrizer
molecule.spf Force-field file for Deposit including partial charges and Lennard-Jones parameters as well as a list of dihedral angles for the DihedralParametrizer. Deposit or DihedralParametrizer
output_molecule.mol2 mol2-file for general use. Can be read into subsequent Parametrizer runs to run additional analysis e.g. with other functionals as used in the inital optimization. e.g. Parametrizer

Single molecule analysis output

Electronic structure information

Information on electronic structure is printed to the file mol_data.yml. The detailed output depends on the selected settings, chosen analysis mode (Estimate electrostatic disorder , Generate ESP surface plot or Generate orbital plots) and is exemplified for both options below:

  • mol_data.yml file contains always the ID of the HOMO and LUMO and their energies, the dipole moment as xyz-vector and the total energy of the molecule.
  • the first five excitation energies (1. - 5.) and their lifetimes are listed, if the option:Excited State of Interest=1 is selected.
  • the analysis of several constructed ESP surfaces are listed and the electrostatic disorder is estimated, as illustrated below, if analysis options:Estimate electrostatic disorder is selected. The detailed output depends on the selected settings, chosen analysis mode (Estimate electrostatic disorder, Generate ESP surface plot or Generate orbital plots) and is exemplified for both options below. Additionally, if excited state > 0 is selected, you can enable the option calculate UV/VIS spectrum, which will create a file named UV_VIS_molecular identifier_spectrum.png.
  • mol_data.yml file contains:
    • the ID of the HOMO and LUMO and their energies, the dipole moment as xyz-vector and the total energy of the molecule.
    • the first five excitation energies (1. - 5.) and their lifetimes are listed, when the option:Excited State of Interest=1 is selected.
    • the analysis of several constructed ESP surfaces are listed and the electrostatic disorder is estimated, as illustrated below, when analysis options:Estimate electrostatic disorder is selected.
mol_data.yml content of a calculation with the selected option: Estimate electrostatic disorder mol_data.yml content of a calculation with selected excitation energy 1

Visual inspection of molecular orbitals or ESP surface

Parametrizer can also be used to visualize the HOMO and LUMO of the molecule if the Analysis option:Generate orbital plots is selected. The folder DFT_runtime_files contains another folder vmd_output with the following files: file.tcl, file.plt, file.sh and file.xyz.
If VMD is installed, you can directly create a png-file using:
bash plot_homo.sh for the HOMO orbital and bash plot_lumo.sh* for the LUMO orbital. Furthermore, the command vmd -e plot_homo.tcl opens VMD and creates a representation of the molecule and orbital.

Example: Orbital plots for anthracene

If analysis options: Generate ESP surface plot is selected, one ESP surface will be constructed and can be visualized. The folder DFT_runtime_files contains the folder vmd_output with the following files: vmd_grid_plot.tcl, plot_grid.sh, grid.pdb and geometry.xyz
The plot_grid.sh script can be used to create a figure of the molecule with an ESP surface. The command vmd -e vmd__grid_plot.tcl opens VMD and creates a representation of the orbitals. The calculated minimal ESP value corresponds to blue and the color code goes from blue to green to red.

Example: ESP surface plot for anthracene

Raw DFT runtime data

This folder contains all the files, which were created during the calculation. For example, if Turbomole is selected as a DFT engine, a TM.out will be included, summarizing the individual calculation steps and their results. The folder can be used to track down the potential source of crashed simulations.

Parallelization and Performance

For every option not checked in the "Resources" tab, the server defaults that depend on your HPC machine will be used. Check individual options to modify specific values.

Recommended resources for Parametrizer:

Resource Recommendation
CPUs per Node: Parametrizer is parallelized up to a single node. We recommend to use a full node especially for larger compounds, if Turbomole or Psi4 is used.
Number of Nodes: 1
Memory: 1500MB
Walltime: Computation time depends strongly on DFTEngine, size of the compound and number of cores, whether or not the geometry is optimized and if so, also on the quality of the initial geometry provided as input.
Queue: Default

Troubleshooting

  • Calculations of excited states, using M06-2X, require to choose the following options:

    • Partial Charge Method: No Charges
      If chosen, partial charges for excited molecules, using M06-2X, cannot be calculated.

 

 

The results of the search are