Skip to content

inconsistency between PVlib and PVsyst when calculating rotated plane azimuth #144

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

Closed
mayudong opened this issue Apr 7, 2016 · 8 comments
Labels
Milestone

Comments

@mayudong
Copy link
Contributor

mayudong commented Apr 7, 2016

When I was comparing the stimulative results of PVlib with PVsyst, I noticed that for PV panels with same configurations, the calculated rotated plane azimuth computed by pvlib.tracking.singleaxis(..)
is different from that of PVsyst.

I did find out where the problem is, and it is related to the coordinator transformation.

Can I create a pull request to submit my fix?

@wholmgren
Copy link
Member

@mayudong yes, that would be great.

@wholmgren
Copy link
Member

@tafadzwalgurupira, I believe that @mayudong is discussing a potential issue with the single axis tracker code, whereas you are discussing an issue with some part of the plane of array calculations. So, I'd prefer that you make a new issue with more details to discuss the discrepancy between the tmy_to_power tutorial and your pvsyst results. This helps keep discussions focused and on topic. Thanks.

@cwhanse
Copy link
Member

cwhanse commented Apr 11, 2016

@mayudong could you post a summary of your fix? If there's a code error, it's likely also present in the Matlab toolbox and I'd like to fix it there as well. Thanks.

@mayudong
Copy link
Contributor Author

Sure. I have summarized the issue and potential fix in the attached file.
Please double check and confirm the issue.
Best
NEX-PVSystemModelComparison-110416-1221-2.pdf

@wholmgren
Copy link
Member

I tried to simply this part of the matlab code and it's possible that I introduced an error. I'll look at it more carefully.

@mayudong
Copy link
Contributor Author

Actually the results calculated using Matlab are different from PVsyst too.
I will create a pull request sometime this week

@wholmgren
Copy link
Member

I looked at the surface azimuth results more carefully and I agree that they are not correct in pvlib python for non-trivial cases. Example 3 of the python single axis tutorial and the matlab version's documentation simulates a tracker with 20 deg surface tilt. I remade the matlab figure to include the surface azimuth...

python tracker
matlab tracker

I'll look at the proposed fix in #145 next.

@wholmgren
Copy link
Member

Closed by #145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants