-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running the MJ Solar Cell Tutorial.py program has some problems #164
Comments
Indeed, this is the wrong result -- I am looking into it to see if I can find where the problem is.
If you comment out the |
The issue seems to be with this line in the for loop:
As it turns out, this does not actually change the concentration in the calculations. Changing it to:
gives the expected results. @canns99 thank you for flagging this, obviously we will update it in the example! @dalonsoa do you think this is due to a recent change in light_source? As far as I can tell the light_source.options construction is used only in MJ_solar_cell_tutorial.py and it's ipynb equivalent, no other examples. |
Many thanks for pointing this out. As that tutorial is not run with the test suite – and this one is quite incomplete, anyway – we missed that inconsistency after changing the way `light_source` was working, as @phoebe suggest. We will update the tutorial .py and ipybnb files and the documentation as soon as possible to correctly reflect that change.
|
@all-contributors please add @canns99 for bug |
I've put up a pull request to add @canns99! 🎉 |
I am a novice. After the MJ Solar Cell Tutorial.py program runs,figure shows the summary of the efficiency, Isc, Voc and fill factor (FF) versus concentration but goes wrong.
I didn't change any code, but as the figure shows, the result is completely incorrect.
•The correct answer would be
Is there a problem with the FORTRAN file or something?
Another problem is that programs often take hours to run,unavoidably let a person sad.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: