Home Examples Screenshots User manual Bluesky logo
OghmaNano Simulate organic/Perovskite Solar Cells, OFETs, and OLEDs DOWNLOAD

1. Why perform parameter operatization?

Very often when optimizing a device an engineer or scientist will want to know what the optimum structure of a device is. For example, a perovskite solar cell is made up of multiple layers, but what is the optimum thickness of each layer? If the perovskite layer is made really thick then lots of light will be absorbed, but the downside of this is that it will take longer for charge carriers to escape the device, so recombination will be high. Conversely, if the layer is made really thin, very few carriers will have a chance to recombine as they will not spend long in the device, but the downside is that not many photons will be absorbed in the first place as the layer is thin. If one then also considers that light will reflect multiple times off interfaces in the device, setting up standing wave patterns, this will further complicate the optimization problem as one will need to optimize not only the thickness of the perovskite layer but also the thicknesses of all the other layers at the same time. To solve this multi-parameter optimization problem one can use the Fast optimizer within the scan window.

2. Using the multi parameter optimizer

In the new simulation window under the sub-topic Scripting and fitting there are several examples of multi-parameter optimizers:

In this text we will be using the Optical layer optimizer (perovskite), if you open this simulation and navigate to the scan window, you will see a scan already set up called optimizer. If you open it you will get a window shown in figure 17.7. This scan window looks just like the scan windows described in the previous section, however the key difference is that the Fast optimizer button is depressed. When this button is depressed scan results are not written to disk, instead the key simulation parameters are tabulated and saved to disk at the end of the simulation. Notice that in this example we are varying the thickness (dy) of the Perovskite layer between 300nm and 500 nm in steps of 10 nm and the thickness (dy) TiO2 layer from 100 nm to 300 nm also in steps of 10 nm. Try running the simulation, the using windows explorer navigate to your simulation directory, then open the folder called optimize and in there you will find a csv file called optimizer_output.csv. If you open this with Excel or LibreOffice, it will look like figure 17.8.

OghmaNano scan window with optimizer button active
The scan window with the Optimizer button selected, ready to run a device layer optimization.

If you examine figure 17.8 carefully you can see the first two columns are labelled epitaxy.layer2.dy and epitaxy.layer1.dy . These are the layer thicknesses we decided to change in the scan window. For every subsequent layer in the device there are two columns, labelled layerX/light_frac_photon_generation and layerX/J. These refer to the fraction of the light absorbed with in the layer and the maximum current this layer would produce if all the light absorbed within the layer were turned into current. Clearly if light is absorbed within the active layer it has a good chance of being turned into current, however if light is absorbed within the back metallic contact then there is little chance of that light being turned into electrical current. If you use the sorting tools included within Excel/LibreOffice you can figure out which device structures produce the most current.

Spreadsheet view of optimizer_output.csv showing layer thickness values, current densities, and photon generation results from a device optimization in OghmaNano
The optimizer_output.csv file opened in LibreOffice Calc, showing layer thickness parameters alongside calculated outputs such as current density and photon generation for each layer.