- Set up experimental config.
a.
experiments.ymldefines the experiments b.setup.ymldefines the setup (firesting, power supply, folders) - Set up experimental setup
- Start AutoSuite Program, ensure that there is no
values_for_experiment.csvin the folder that is left over. The AutoSuite program will read that and start from there, even if the Python code is not running. - In the
basePython environment runpython run.pyin theexperimentsfolder of this repo
This file lists experimental conditions. If run: false, the condition will not be run (this is read by the Chemspeed AutoSuite and then leaves the code in a while loop where nothing physically happens).
The meaning of the parameters is:
name: human-readable name of the experiments. Will be used for naming the log filevoltage: voltage inVfor the light source (ensure that a minimum current of 0.3 A is set at the programmable power source(do this manually at the power source))volume_water: the volume of water inmLvolume_sacrificial_oxidant: the volume of sacrificial oxidant inmLvolume_ruthenium_solution: the volume of the solution containing the [Ru(bpy)3]Cl2 complex inmLvolume_buffer_solution_1: the volume of the sodium carbonate solution inmLvolume_buffer_solution_2: the volume of the sodium bicarbonate solution inmLdegassing_time: time for degassing of the reaction solution prior to irradiation inminmeasurement_time: time for measurement of the reaction while irradiated inminrun: determiner if the experiment defined by the values above is run (run : true) or not (run : false) --> utilized to set a break in the code to make it possible to change the lid of the vial after three performed reactionspre_reaction_baseline_time: time in minutes for waiting prior to reactionpost_reaction_baseline_time: time in minutes for waiting post reaction
An example file looks like
-
name: MR-1
voltage: 0.18
volume_water: 0.1
volume_sacrificial_oxidant: 0.1
volume_ruthenium_solution: 0.1
volume_buffer_solution_1: 0.1
volume_buffer_solution_2: 0.1
degassing_time: 20
measurement_time: 10
run: true
pre_reaction_baseline_time: 15
post_reaction_baseline_time: 5
-
name: MR-1
voltage: 0.18
volume_water: 0.1
volume_sacrificial_oxidant: 0.1
volume_ruthenium_solution: 0.1
volume_buffer_solution_1: 0.1
volume_buffer_solution_2: 0.1
degassing_time: 20
measurement_time: 10
run: false
pre_reaction_baseline_time: 15
post_reaction_baseline_time: 5The setup.yml defines global settings such as directories for logging as well as ports for lamp and sensor.