TrendsCatalyticActivity

From ChemWiki
Revision as of 20:55, 22 November 2020 by Ccucinot (Talk | contribs)

Jump to: navigation, search

This is the optional experiment which may be chosen by any third year student. If you are looking for the Programming-Ising experiment, you will find it here.


Understanding trends in catalytic activity for hydrogen evolution

This is the welcome page for the computational experiment about trends in catalytic activity for hydrogen evolution, part of the third year computational chemistry lab. This computational experiment has been developed by Dr. Clotilde Cucinotta.

The computational experiment will be from 10:00 to 17:00 on Monday, Tuesday, Thursday and Friday. During these 4 days demonstrators will be available to answer all your questions.

There is an introductory lecture to the lab at 10:00 on the Start Date of your session. On Thursday 2pm there will be a lecture about visualization of atomic structures with of VMD. You will receive an email with more details.

The deadline is at 12:00 noon on Wed of the week following the experiment.

Work submitted late will be penalised according to the Late Submission Policy.

There is a link set up on Blackboard for submitting the report in PDF format and a .zip folder with all the input files and the output files produced during the experiment, in 3rd Year Chemistry Laboratories (2020 - 2021) / Y3C Third Year Computational Laboratory/.

The provided template for the report [LINK] contains a number questions and sub-questions. The final report is expected to contain answers to all these questions.

Questions related to this computational experiment can be directed to the demonstrators, Dr Yueyu Zhang and Ms. Margherita Buraschi via Teams


Their availability is specified below:

Monday Tuesday Thursday Friday
Margherita 15:30-16:30 10:00-11:00 14:00-15:00 14:00-15:00
Yueyu 11:00-12:00 14:00-15:00 10:00-11:00 10:00-11:00

Outside the time in which the demonstrators are available, all your questions should be posted in the forum on Blackboard. Please note that the submission boxes will appear only once you have completed the curriculum review. Your report will be marked out of 20.


Introduction

In the electrochemistry course you learned about an important quantity, the exchange current, and how it reflects how viable is the reaction kinetics of an electrochemical transformation.

In this experiment you will predict what is the most efficient metal catalyst for hydrogen evolution by plotting the adsorption energy for hydrogen on different metals versus the measured exchange currents for this reaction. According to the Sabatier principle (named after the chemist Paul Sabatier), high catalytic activity is associated to an interaction between reactants and catalysts, which needs to be neither too strong nor too weak. As a consequence, the plot will have a maximum corresponding to the to the most active catalyst and the ideal adsorption energy: you will observe a so-named volcano plot.

You will learn how to:

  • open a remote terminal on our hpc cluster login.hpc.ic.ac.uk
  • use the most basic feature of Unix operating system
  • use a quantum-mechanical programme, CP2K to calculate the adsorption energies for Hydrogen on the closely packed surfaces of different metals
  • extract from these calculations optimised geometries and energies, and evaluate adsorption energies.
  • use a visualization programme to represent relaxation trajectories and optimised configurations
  • generate a volcano plot.


Please note that: To run this experiment, you will need access to the Imperial College supercomputers. If you have VPN installed, you should be able to access the computers directly, via browser


  • In order to connect to the hpc cluster via browser you need to activate using VPN



  • to plot the graphs produced during this computational experiment you might want to use Anaconda and use Jupiter notebook. Please install them if you will use these tools to make a picture of the Volcano plot.



Instructions

To connect to our cluster your will need to digit the address line below in your browser:

    login.hpc.ic.ac.uk

In this way you will launch an interactive session which will open a remote terminal on our cluster:

Remote terminal


Once you insert your credentials (your Imperial's user name and password) you are on our hpc cluster and can launch your calculations. Since there is no graphical interface available for CP2K code, you will need to submit your calculations from command line using the Unix operating system of our cluster, so the first step is to learn the basics of Unix.

Unix induction tutorial

To carry out the Unix induction tutorial you can use the remote terminal you have launched as instructed above.

To learn all you need about Unix operating system and its most basic commands you can work through the introduction and the first two tutorials of the online course at the University of Surrey.

If you need a bit more practice and want to go more in deep in your knowledge of Unix environment, you can go through the following Unix induction tutorial, developed by Dr. Giuseppe Mallia.


Calculations

When you feel confident with using basic Unix commands (e.g. pwd, cd, ls, cp, mv), you can proceed (again via remote terminal) with running the calculations for the calculation of the adsorption energy of Hydrogen on different metal substrates.

To this end you will have to evaluate the energy of the clean metal slab E_{surf}, the chemical potential to bring Hydrogen from its reservoir (a Hydrogen molecule in gas phase) to the surface, \frac{n}{2}E_{H_2}, and the energy of the system where the hydrogen atom is adsorbed on the metal slab, E_{surf +nH}.

Having these numbers will make possible to evaluate the adsorption energy for Hydrogen on the metal

  \Delta E = \frac{1}{n}(E_{surf +nH}-E_{surf}-\frac{n}{2}E_{H_2})

n is the number of H atoms adsorbed on the surface. In our case n=1



Steps:


1. You can download all the input files to carry out your calculations by doing wget https://github.com/ImperialCollegeLondon/VolcanoPlot/archive/main.zip

If you wish, you can also download them on your computer https://github.com/ImperialCollegeLondon/VolcanoPlot/archive/main.zip as a .zip file, but this is not needed to run the calculations on our cluster.

Please avoid to save the zip file in a folder tree, where a folder has a name with one or more space (" ").

You will see that you will have downloaded a file, main.zip, which you will unzip doing

    > unzip main.zip

This will generate a folder named VolcanoPlot-main, containing a tar file comp-lab.tar. You need to go to this directory and untar the comp-lab.tar file:

    > cd VolcanoPlot-main      
    > tar -xvf comp-lab.tar

Once untared you will find there are several directories

  • Pt Mo Ag Au: Directories with the input files to evaluate the energy of the metal surfaces and the energy of the metal surface with a H atom adsorbed on it.
  • H2: directory with the input files to evaluate the energy of the hydrogen molecule
  • files: folder containing the basis set and potential files,needed to run the CP2K calculation. Please keep them in this location


1. Go to project folder named as the metal surface it represents. For example, for platinum you will have to write:

     > cd Pt  

in that folder, you will find two subfolders, named as 'METAL' and 'METAL-H'. You will be able to list these folders doing:

     > ls                                                                                                                                              

The folder 'METAL' and 'METAL-H' contain three files each: cp2k.inp, job.pbs and Struct_in.xyz, needed to run the code for the calculation of energy and relaxed atomic structure of the metallic surface under consideration. In particular, cp2k.inp is the input file with the simulation parameters; Struct_in.xyz contains the Cartesian coordinates for the atoms in your system; job.pbs is the script that you will need to submit to run your calculation (see instruction below). You will be able to list them them by doing:

    > ls METAL/ 

or

    > ls METAL-H/


2. go to one of the subfolders (you may start from the subfolder named METAL)and submit the calculation by doing

    > qsub job.pbs


3. check the status of the job by doing:

    > qstat 

If the job is correctly submitted you will get some information about the number identifying you job (Job ID), the specific 'Class' of calculation, the name assigned to this job (Job Name), the status of your job (it could be running, or queued (Status) and additional comments related to the starting time of your simulation (Comment). Do not worry if the starting time of your simulation is not very close. This information is not final.


4. Take note of the Job Name and the corresponding running directory (the absolute path for your calculation may be something similar to:


   /rds/general/user/[YOUR USERNAME]/home/VolcanoPlot-main/[SYSTEM]/[METAL, METAL-H or MOLECULE]/)


5. Wait until the job is finished. You do not need to stay in this directory. You can now go to the other subfolder (if you started from the subfolder named 'METAL' can now do


  cd ../METAL-H 


and do the steps 2 to 4 to submit another calculation.


6. Once you have submitted the calculations for the first metal, you can run the calculations for the other metals and for the H molecule, repeating steps 1 to 5.


5.Check from time to time if your calculations are still running by doing

   > qstat

If you see that a calculation is not running anymore (its JOB ID will have disappeared from the qstat list), it might mean that the calculation is complete.


7. Go to the directory where the calculation was running. You will see there several files. The most relevant for you are:

  • log.out is the main output of your simulation, with information about the convergence of the SCF cycle and
  • Volcano-pos-1.xyz is the trajectory file with all the the geometry steps.
  • Volcano-RESTART.wfn contains the wavefunctions for your system.


To extract the final energy corresponding to the optimised structure for your system you will have to do:

    > grep "ENERGY| Total FORCE_EVAL ( QS ) energy (a.u.):" log.out. 

After that, record the last line of the output. So, for instance, if you are analysing the energy of a metal surface where a H atom has been adsorbed, you will get E_{surf+nH}; if you are analysig the energy of a clean metal surface, you will get E_{surf}


8. Repeat this for all the systems you have simulated and make a table with the energies for all systems versus



Previous years related contents

- Python

- Thermodynamics

- Electrochemistry

Good skills on Unix operating system is not a requirement. All the scripts are written in a way where you only need to submit the script executing the commands. However, feel free to edit and play with the scripts.

New contents

  • Unix operating system
  • Structural optimizations
  • Periodic boundary conditions
  • Evaluation of adsorption energies
  • Volcano plots and Sabatier principle


Write up

The report structure will consist of three sections:

  • Introduction/Summary (Half-page)
  • Questions & answers (No page limit)
  • Conclusions (Half-page)


Tips to write a report:

  • The golden rule: Aim for clarity
    • Structured statements that flow in a logical manner.
    • Good use of diagrams and appropriate level of theory.
    • Careful choice of content.
  • Keep your language clear and simple.
  • Label all tables and figures. Labels should be self-contained, which means that tables and figures should be interpretable by themself.
  • Appropriate referencing of figures and tables.
  • Cite previous works (with an accepted citation style) whenever is appropriate.

Introduction/Summary:

  • The purpose of the Introduction/Summary is to put the reader in the context of the experiment and to explain how the experiment was carried in the lab. It may contain a brief review of previous research, why the research was undertaken, an explanation of the techniques and why they are used and why it is important in a broader context.


Questions & Answers:

  • There are a number of questions in the lab script that need to be answered in this section of the report.
  • Depending on the nature of the question, it might be appropriate to use figures or tables to give a proper answer.
  • It is highly encouraged to rationalise the answers.

Conclusions:

  • The Conclusions gives a general description of the results and findings and it should be related back to the Introduction. If appropriate, suggest improvements or additional experiments.


Submission of the report

You will need to submit

  • The report as a PDF document, via Turnitin in Blackboard.
  • all the input and output files you produced in your calculation via Blackboard, as a .zip folder.

Please note that the submission boxes on Blackboard will appear only once you have completed the curriculum review.


Suggested Time Frame

Try to learn to use the Unix environment by Monday at the latest, to have submitted all the calculations by Tuesday at noon and to have finished all the calculations by Thursday. It will take time to analyse the results and understand all the new concepts that you will learn in this lab. You should be able to complete your experiment and to write your report by Friday.

If your calculations won't have finished to run by Thursday, the relevant output files to proceed with the analysis will be provided on Thursday morning.


Mark Scheme

The break-down for the marks for this lab are as follows:

Introduction/Summary 20%
Questions & Answers 60%
Conclusions 20%


Plagiarism

Submissions are checked for plagiarism. External images may be used if correctly cited, but it's always better to create your own.

Demonstrators

The demonstrators will be Dr Yueyu Zhang and Ms. Margherita Buraschi. They will be available via Microsoft team channel link Teams. Feel free to contact them at the times specified above.

Outside the time in which the demonstrators are available, all your questions should be posted in the forum on blackboard [LINK].


Related literature

[ ] Schmickler

[] Atkins

[ (ebook available in the library) Allen Tildesley for periodic boundary conditions


VMD and Periodic Boundary Conditions

On Thursday 2pm there will be a lecture about visualization of atomic structures with of VMD and the role of Perodic Boundary Conditions.

VMD is a visualisation programme which will make possible to visualise among other things, the atomic structure of your surface and the cell used to represent it. and create pictures with them.

To download VMD visualiser follow this link for Version 1.9.3 (2016-11-30) Platforms: Windows OpenGL (Microsoft Windows XP/Vista/7/8/10 (32-bit) using OpenGL)

You will need to register. Registration is free.

Winscp

Winscp can be used to transfer files from and to the hpc platform to and from your computer.

To download winscp you will need to follow this [wincp https://sourceforge.net/projects/winscp/ scp link]

Alternative instructions for Remote Connection

Please check with the demonstrators first.

if you are not able to connect to our hpc cluster using your browser or you could not install on your computer VMD or winscp:

  1. connect to an Imperial computer following this Imperial remote access link

You will need to follow the instructions and use your username and password.

Once connected you will launch Imperial Apps Anywhere , looking for https://softwarehub.imperial.ac.uk/ in your browser, and look for winSCP and VMD therein.

  1. Click on the link in the email with subject "Register for Lab - IC_Chemisty_yr3_UK".

You can download files to your computer via command line opening a Linux terminal (or a terminal emulator) on your personal computer.

To this end you can follow this link