|
| 1 | +** ZimT Simulation Setup: |
| 2 | +** Don't change the order of the parameters, comments can be added anywhere, |
| 3 | +** but only after an ''. Use '' if you want your comment to be left-justified. |
| 4 | +** version: 5.30 |
| 5 | + |
| 6 | +**General*************************************************************************** |
| 7 | +T = 295 * K, absolute temperature |
| 8 | + |
| 9 | +**Layers**************************************************************************** |
| 10 | +l1 = PTAA_K.txt * parameter file for layer 1, mandatory |
| 11 | +l2 = MAPI_K.txt * parameter file for layer 2 |
| 12 | +l3 = C60_K.txt * parameter file for layer 3 |
| 13 | + |
| 14 | +**Contacts************************************************************************** |
| 15 | +leftElec = 1 * left electrode is the cathode (-1) or the anode (1) |
| 16 | +W_L = 5.5 * eV, work function left electrode (= cathode), or 'sfb' |
| 17 | +W_R = 4.1 * eV, work function right electrode (= cathode), or 'sfb' |
| 18 | +S_n_L = -1E-7 * m/s, surface recombination of electrons at the left electrode |
| 19 | +S_p_L = -1E-7 * m/s, surface recombination of holes at the left electrode |
| 20 | +S_n_R = -1E-7 * m/s, surface recombination of electrons at the right electrode |
| 21 | +S_p_R = -1E-7 * m/s, surface recombination of holes at the right electrode |
| 22 | + * nb: use negative values if Sn/pR/L should be infinite |
| 23 | +R_shunt = -5E3 * Ohms m2, shunt resistance. Use negative value for infinite R_shunt |
| 24 | +R_series = 0 * Ohms m2, series resistance. |
| 25 | + |
| 26 | +**Optics**************************************************************************** |
| 27 | +genProfile = none * name of file generation profile (or 'none' or 'calc') |
| 28 | +L_TCO = 50E-9 * m, thickness of the TCO. Set to 0 if layer is not used |
| 29 | +L_BE = 101E-9 * m, thickness of back electrode, must be >0 |
| 30 | +nkSubstrate = nk_glass.txt * name of file with n,k values of substrate |
| 31 | +nkTCO = nk_ITO.txt * name of file with n,k values of TCO |
| 32 | +nkBE = nk_Ag.txt * name of file with n,k values of back electrode |
| 33 | +spectrum = ../Data/AM15G.txt * name of file that contains the spectrum |
| 34 | +lambda_min = 3.5E-7 * m, lower bound wavelength |
| 35 | +lambda_max = 8E-7 * m, upper bound wavelength |
| 36 | + |
| 37 | +**Numerical Parameters************************************************************** |
| 38 | +NP = 250 * integer, number of grid points, must be at least 5 per layer. |
| 39 | +tolPois = 1E-6 * V, abs. tolerance of iterative Poisson solver |
| 40 | +maxDelV = 10 * maximum change (in Vt) of the potential per loop |
| 41 | +maxItPois = 2000 * max. number it. Poisson loop |
| 42 | +maxItSS = 2000 * max. number it. main loop |
| 43 | +maxItTrans = 2000 * max. number it. transient solver |
| 44 | +currDiffInt = 2 * Calc. current from differential (1) or integral (2) expression |
| 45 | +tolCurr = 1E-3 * relative tolerance on current density |
| 46 | +tolDens = 1E-4 * relative tolerance of density solver |
| 47 | +couplePC = 4 * >= 0, coupling between Poisson equation and continuity equations |
| 48 | +minAcc = 0.1 * >0, min. acceleration parameter |
| 49 | +maxAcc = 0.8 * <2, max. acceleration parameter |
| 50 | +ignoreNegDens = 1 * whether(1) or not(<>1) to ignore negative densities |
| 51 | +convVar = 1 * integer 1-4, selects which variable to monitor for convergence |
| 52 | + * 1: densities, 2: current, 3: densities OR current, 4: densities AND current |
| 53 | +failureMode = 2 * how treat failed (t,V,G) points: 0: stop, 1: ignore, 2: skip |
| 54 | +grad = 5 * determines shape of exp. grid, increase grad for smaller h[1] |
| 55 | +tolVint = 1E-6 * V, tolerance internal voltage (Vint) |
| 56 | + |
| 57 | +**User interface******************************************************************** |
| 58 | +timeout = 90 * s, max run time, use negative value for unlimited run time. |
| 59 | +pauseAtEnd = 0 * pause at the end of the simulation yes(1) or no (0) |
| 60 | +autoTidy = 0 * if 1, then the program will always tidy up this file |
| 61 | +autoStop = 0 * stop ZimT if change of system stops changing, yes(1) or no (<>1). |
| 62 | +tVGFile = tVG.txt * name of file that specifies time t, voltage V and gen. rate G |
| 63 | +tJFile = tj.dat * name of file with (t, V, G, J, range) |
| 64 | +varFile = none * name of the file with (x,V,n,p,Jn,etc) or none for no file. |
| 65 | +limitDigits = 1 * if 1, then number of digits in output is limited |
| 66 | +outputRatio = 1 * Output to varFile every outputRatio voltages |
| 67 | +logFile = log.txt * name of log file |
0 commit comments