-
Notifications
You must be signed in to change notification settings - Fork 30
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
Trying to iterate a module to create a list of photogenerated currents #134
Comments
Hi @abooda1981 , Setting the cell irradiance one by one can be a bit tricky in PVMismatch. Instead, I recommend to set the irradiance values for the entire module in one go, like this:
Btw PVMismatch has a contrib, with which you can draw the shading and temperature patterns for your PV system in excel and import them to simulate in PVMismatch (I adapted the above code from there). You can find it here: And there is an other contrib, with which you can set the shades for a standalone PV module and plot the I-V curves. This one even has a nice GUI! You can find it here: |
Hello, and thanks @adambgnr ! Sorry I ought to have gotten back yesterday but got caught up in something else. Your code suggestion does indeed work although it is a bit more complex than expected. I will close this now as your solution works. |
Hello all. I hope nobody minds my using this space to raise an issue. I want to automate the process of calculating the power losses due to partial shading. As a stepping stone, I have the code below, which I think should be fairly self explanatory. It copies a single module; makes a fairly arbitrary shading pattern, and then places the value of the photogenerated current in the appropriate index of a list.
I then tried to apply the above function and I received the following error in the TraceBack:
I can't see why this code is failing. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: