TAGGED: Lumerical-CHARGE, Lumerical-FDTD-CHARGE, solar-cell
-
-
June 3, 2024 at 5:23 pmMinhaz MahmoodSubscriber
I get this error while I tried to replicate the planar-silicon-solar-cell example from Planar silicon solar cell – Ansys Optics.
Error:.../solar_cell_electrical_results.lsf line 38: in expression A(i,...) the index was out of rangeI was simulating a 5 layer perovskite so I'm not sure what the issue is.
The problem is with the following line:
J = I/Lx/Ly*1000; # mA/cm^2
?kern = find(J<0);
?kern = length(kern);
?slope = (J(kern+1) - J(kern))/(V(kern+1)-V(kern));
None of my J values are less than zero, so ?kern = length(kern)=0
and ?kern = length(kern)=1
Please help. -
June 3, 2024 at 9:38 pmAmrita PatiAnsys Employee
Hi Minhaz,
Are you applying a voltage sweep to the base? The initial simulation is for a single voltage value. You would have to apply a sweep voltage to the base to plot the current-voltage characteristics:
If you are running the code with a single voltage applied to the base then it will throw this out of index error. Let me know if you are already using a voltage sweep for the base.
Regards,
Amrita-
June 4, 2024 at 5:42 amMinhaz MahmoodSubscriber
Thank you Ms. Amrita, that solved the issue. You are correct that my base did not have a sweep range but had a single value.
Now I am running into another issue.From Lumerical CHARGE simulation I got this J-V and power curve.
The following results are also simulated:
Voc = 0.971231 V
Jsc = -1.77873 mA/cm^2
Pmax = 0 mW/cm^2
FF = 0
eta = 0%Why is the shape of my J-V curve and power curve like this? Why is my FF and eta 0?
-
-
- The topic ‘Error in CHARGE while replicating planar-silicon-solar-cell example’ is closed to new replies.
- INTERCONNECT – No results unless rerun simulation until it gives any
- Errors Running Ring Modulator Example on Cluster
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Import material .txt file with script
- Calculation of correlation values in laser modulation bandwidth simulation
- Trapezoidal ring
-
1116
-
468
-
445
-
225
-
201
© 2024 Copyright ANSYS, Inc. All rights reserved.