ldwillia / sl3me Goto Github PK
View Code? Open in Web Editor NEWA Python3 implementation of the Spectroscopic Limited Maximum Efficiency (SLME) analysis of solar absorbers
License: GNU General Public License v3.0
A Python3 implementation of the Spectroscopic Limited Maximum Efficiency (SLME) analysis of solar absorbers
License: GNU General Public License v3.0
I was recently contacted by @luqmansaleem99 to help him with calculating the SLME. He seems to have since found this repository and already raised an issue.
It's been a while, but looking back, I seem to have forked and made quite substantial changes to the code base some 5 years ago, when I was working on the topic with Kamal Choudary (not sure what his GitHub username is) on our paper:
https://github.com/mbercx/SL3ME
I never integrated these changes into the main repository though. ๐ @ldwillia if you're ok with it, I'll clean up the code some more (can't work on this too much I'm afraid) and open a PR.
On the topic of the issue I'm raising: I'm wondering if perhaps we shouldn't rename the repository to slme
? It should still be easy to find, capital letters are kind of a no-no in my book, and then we can also just grab slme
on the PyPI (it doesn't seem taken) and make the package installable with pip
.
I consider that this is the SLME method to calculate efficiency of solar cells. This code needs fundamental and direct allowed band gaps along with the absorption coefficient in m^-1 units. I am providing it all the data and this code gives me the standard SLME's value -3e-11. I don't how to interpret this number -3e-11. What exactly is it? I was expecting that I will get some number like 0.20 (for 20% efficiency). But the number is so small, -3e-11.
Can someone please clarify my confusion?
I could run it for Wien2k data.
I have prepared a file optical (absorption) data and name the file as mock_CdTe_mat_abs.dat and kept that attached am1.5G.dat in the same folder. I used data in the mock_CdTe_mat_abs.dat file into meter inverse.
Then I updated the bandgap in these two lines.
material_direct_allowed_gap = 1.797 #
material_indirect_gap = 1.797 #
and then executed it as
python SL3ME.py.
Could you please confirm whether I am executing it in the right way or I am missing something?
It's better to provide a small non-zero value for x0 (say 0.0001) instead of exact zero, else the code gets stuck for many materials.
hi
i am brand new to python. I would like to use this script in my work.
It would be possible to make a small tutorial on how to use this script.
thank you very much
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.