You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source code for the modified detailed balance (MDB) model written in MATLAB (version: R2022b).
6
+
The source code for the modified diode (MD) model written in MATLAB (version: R2022b).
7
7
8
-
You can use the MDB model to discern and quantify the electrical losses in a complete perovskite photovoltaic device under operational conditions. The code in this repository, along with the drift-diffusion simulation data, can reproduce the results in our paper, which validates the effectiveness of this approach.
8
+
You can use the MD model to discern and quantify the electrical losses in a complete perovskite photovoltaic device under operational conditions. The code in this repository, along with the drift-diffusion simulation data, can reproduce the results in our paper, which validates the effectiveness of this approach.
9
9
10
10
If you require any further information or if we can be of any assistance, feel free to contact us by creating an [issue](https://github.com/WPT-Lab124/Modified-Detailed-Balance-Model/issues) or send us emails.
11
11
@@ -19,31 +19,31 @@ If you require any further information or if we can be of any assistance, feel f
19
19
│ │ ├── Device.m <- Device class for defining perovskite PV parameters
20
20
│ └── Utils
21
21
│ │ ├── costFunction.m <- Function for computing the cost function
22
-
│ │ ├── fittingMDB.m <- Function for curve fitting with the MDB model
22
+
│ │ ├── fittingMD.m <- Function for curve fitting with the MD model
23
23
│ │ ├── lossAnalysis.m <- Function for evaluating the normalized PCE gains
24
24
│ │ ├── plotJrecV.m <- Function for plotting the J(recombination)-V curves
25
25
│ │ ├── plotJV.m <- Function for plotting the J-V curves
26
26
│ │ ├── plotNormPCEGain.m <- Function for graphing the normalized PCE gains
27
-
│ │ ├── solver.m <- Function for solving the JV curves with the retrieved parameters from the MDB model
27
+
│ │ ├── solver.m <- Function for solving the JV curves with the retrieved parameters from the MD model
28
28
├── Experimental Data <- Experimental JV data, demonstrating how the data should be formatted
29
29
├── Simulation Data <- SCAPS-1D simulated JV data
30
30
│ ├── Figure1
31
31
│ └── Figure4
32
-
├── single_dataset_fitting.m <- Script for applying the MDB model to the simulated single dataset
33
-
├── batch_dataset_fitting.m <- Script for applying the MDB model to the simulated batch dataset
34
-
└── main.m <- Script for applying the MDB model to the experimental JV data
32
+
├── single_dataset_fitting.m <- Script for applying the MD model to the simulated single dataset
33
+
├── batch_dataset_fitting.m <- Script for applying the MD model to the simulated batch dataset
34
+
└── main.m <- Script for applying the MD model to the experimental JV data
35
35
```
36
36
37
37
***Content summary***
38
38
39
39
Files in the **root** of this repository:
40
-
-`main.m` is a script where the MDB model is applied to the experimental JV data for loss quantification.
41
-
-`single_dataset_fitting.m` is a script where the MDB model is applied to one set of simulated JV curve, reproducing the results in Fig. 1 of our paper.
42
-
-`batch_dataset_fitting.m` is a script where the MDB model is applied to a batch of simulated JV curves, reproducing the results in Fig. 4 of our paper.
40
+
-`main.m` is a script where the MD model is applied to the experimental JV data for loss quantification.
41
+
-`single_dataset_fitting.m` is a script where the MD model is applied to one set of simulated JV curve, reproducing the results in Fig. 1 of our paper.
42
+
-`batch_dataset_fitting.m` is a script where the MD model is applied to a batch of simulated JV curves, reproducing the results in Fig. 4 of our paper.
43
43
44
44
Files in the **Simulation Data** folder:
45
45
-**Figure1** is a folder that contains the JV curve (simulated by SCAPS-1D) under both 1 Sun and 50 Suns illumination. Using the data in this folder with `single_dataset_fitting.m` script, you can reproduce the results in Fig. 1 of our paper.
46
-
-**Figure4** is a folder that contains batches of JV curves (simulated by SCAPS-1D). These data are simulated by varing the parameters related bulk and interface SRH recombination simultaneously, in order to study their impact on the performace of the MDB model. Using the data in this folder with `batch_dataset_fitting.m` script, you can reproduce the results in Fig. 4 of our paper.
46
+
-**Figure4** is a folder that contains batches of JV curves (simulated by SCAPS-1D). These data are simulated by varing the parameters related bulk and interface SRH recombination simultaneously, in order to study their impact on the performace of the MD model. Using the data in this folder with `batch_dataset_fitting.m` script, you can reproduce the results in Fig. 4 of our paper.
47
47
48
48
Files in the **Experimental Data** folder contains the experimental JV data, intended to show how the data should be formatted to interface with the `main.m` script.
49
49
@@ -53,13 +53,13 @@ To get started, you can run the `main.m` script with the your experimental JV da
53
53
54
54
- First, initialize a `Device` object in which you can specify the parameters of your photovoltaic device.
55
55
- Second, initilize a `DataPreconditioner` object that can parse the JV data and store it into the expected format.
56
-
- Third, solve the nonlinear least squares fitting problem using the `fittingMDB` function.
56
+
- Third, solve the nonlinear least squares fitting problem using the `fittingMD` function.
57
57
- After retrieveing the model parameters, numerically solve the JV curve with `solver` function and plot it with `plotJV`.
58
58
- Finally, compute the normalized PCE gains with `lossanalysis` function and create a bar graph with `plotNormPCEGain`.
59
59
60
-
You can refer to these steps to write your own script, and follow the guidelines in our paper to apply the MDB model and interpret the results for your own device.
60
+
You can refer to these steps to write your own script, and follow the guidelines in our paper to apply the MD model and interpret the results for your own device.
61
61
62
-
Besides, you can directly run the `single_dataset_fitting.m` or the `batch_dataset_fitting.m` to reproduce the results in our paper, and if you want to further explore the MDB model with SCAPS-1D, you can use the `DataSet` and the `DataPreconditioner` classes to parse the simulated data.
62
+
Besides, you can directly run the `single_dataset_fitting.m` or the `batch_dataset_fitting.m` to reproduce the results in our paper, and if you want to further explore the MD model with SCAPS-1D, you can use the `DataSet` and the `DataPreconditioner` classes to parse the simulated data.
0 commit comments