Optimizing Solar Cell Design: Tips and Troubleshooting with Silvaco Athena Code

Click For Summary

Discussion Overview

The discussion revolves around optimizing solar cell design using the Silvaco Athena code, focusing on the implementation of pn junctions, troubleshooting code issues, and ensuring proper simulation setup for effective results. Participants share tips on modifying code for optimal performance and resolving errors encountered during simulations.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses uncertainty about how to modify their code to achieve optimal shunt and series resistance levels and the desired power output at open circuit voltage.
  • Another participant suggests ensuring that .spec and .set files are in the same directory as the code and provides steps for specifying light beams and solving for photo generation.
  • A participant questions whether they need to create a new .spec file, indicating they may not have one, and seeks clarification on this point.
  • Further clarification is provided about the basic file formats used in Silvaco, including the purpose of .log, .str, and .set files, and the implications of missing files on simulation outcomes.
  • Participants discuss potential errors related to meshing and bias steps, suggesting that improper settings may lead to non-convergent solutions during simulations.

Areas of Agreement / Disagreement

Participants generally agree on the importance of having the correct file structure and settings for successful simulations, but there are varying opinions on how to address specific errors and optimize the code, indicating that the discussion remains unresolved in some areas.

Contextual Notes

Participants mention limitations related to file management and error handling in Silvaco, as well as the need for proper bias steps to achieve convergence, but do not resolve these issues definitively.

Pererra
Messages
2
Reaction score
0
Hey guys,

1. basically I am using the silvaco athena and i got some code to make the solar cell simulation. and my project is basically about designing pn junction in terms of the solar cell.
kinda clueless of what are things that i need to modify in the code to make sure that i have a good level of shunt and series resistance, and the optimum power level at the open circuit voltage

2. just now i had a problem with this solarex01.spec, and solarex01.str. code. it just won't run... any help are much appreciated!

im still working on this title as of now, learning the fundamentals in details and looking for codes, and modifying them up. thanks. :)
 
Engineering news on Phys.org
I am using silvaco for solar and other device simulations. First of all .spec and .set files should be in the same directory as you are running the code. If not you will have to copy them from examples.
Then you need to specify light beam using s beam statement. then you solve for photo generation for this beam using solve b1=1. This tells the program to shine a beam of lights of given wavelengths (which you specify in ur beam statement) and calculate photogenerations. some time the solutions might not converge the code might stop. In that case ramp the beam in steps...say 0,0.01,0.1,1.
For IV curves, u will have to solve for b1 and then change the anode or cathode voltage and and note the currents.
Hope it helps,
 
i see, the thing is, i was copying the codes based from silvaco and not from the commands panel, since having the already written code to be more convenient. so basically does that mean i don't have any .spec file is it? so i need to write a new one? thanks for replying by the way. :)
 
Hi,
This is the basic file format for silvaco
.log-stores all voltages currents etc. Can be access with tonyplots
.str-strucutre files, doping information, band diagrams etc.
.set-templates files
when you using .set files, you are tell silvaco to plot you .log file in the same way as ur set file is. So you need to have the .set file in the same directory as ur code. You can copy it from sedat/examples/..
Now if u don't have the set file in the same folder, U would get an error like "permission denied" or "cant find .set files". This will not terminate the simulation however. It might plot some default values from ur .log file or do not plot at all. You can remove .set statement form tony plot. Once it plots some thing, you can <right click>-display and you can select from all the quantities you can plot. For solar cell, its would be anode voltage vs. anode current for IV.
Error in .str file would only mean two thing, the meshing is not proper or if you are trying to recall a .str file that does not exist. You can see which point is giving you error when you look at the output window. If you can tell what specific error you are getting, I might be able to help.
In spite of all this if the simulation stop after running for sometime, then the bias step us r using on the solve statement is too large and it not able to find a convergent solution. In such cases, you need to ramp up the bias step.
 

Similar threads

Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
10K
  • · Replies 4 ·
Replies
4
Views
32K