solcore5 icon indicating copy to clipboard operation
solcore5 copied to clipboard

warnings

Open lpdsamis opened this issue 10 months ago • 1 comments

Describe the bug This error appears when running the examples in version solcore 5.10 warnings.warn('All voltages are positive, but junction has been identified as n-p,)

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [Ubuntu 23.10]
  • Solcore Version [5.10]

Additional context This error appears when running the examples in version solcore 5.10 warnings.warn('All voltages are positive, but junction has been identified as n-p,

lpdsamis avatar Apr 07 '24 16:04 lpdsamis

This is not an error, this is a warning, and the appearance of this warning is not a bug but the intended behaviour: it is warning you that because you cell is an n-p junction, you should be scanning over negative voltages if you want to see "solar-cell like" behaviour, see here. It is possible that this warning is appearing incorrectly (i.e. your cell is a p-n structure), but there is no way to know that without seeing the code you are trying to run.

phoebe-p avatar Apr 08 '24 07:04 phoebe-p