Skip to content

Fix orientation.py: correction for solar 1-axis horizontal tracking and 1-axis titled horizontal tracking#467

Merged
FabianHofmann merged 4 commits intoPyPSA:masterfrom
Parisra:master
Mar 13, 2026
Merged

Fix orientation.py: correction for solar 1-axis horizontal tracking and 1-axis titled horizontal tracking#467
FabianHofmann merged 4 commits intoPyPSA:masterfrom
Parisra:master

Conversation

@Parisra
Copy link
Contributor

@Parisra Parisra commented Oct 5, 2025

Closes #464.

Changes proposed in this Pull Request

Two changes are made to orientation.py to fix the solar generation for:

  1. 1-axis horizontal tracking (bracketing error)
  2. 1-axis tilted horizontal tracking (incorrect formula for calculating azimuth difference) : This error causes a drop in solar generation after noon for locations in the southern hemisphere.

Checklist

  • I tested my contribution locally and it works as intended.

Parisra and others added 3 commits September 29, 2025 14:37
Fix bracketing error in the formula calculating Surface Azimuth for horizontal 1-axis tracking. 
For more details see: https://docs.nrel.gov/docs/fy13osti/58891.pdf
Fix the error in the formula calculating Azimuth difference for tilted horizontal tracking. The current formula results in a loss of generation after noon for locations in the global south.
For more details, see: https://docs.nrel.gov/docs/fy13osti/58891.pdf
@FabianHofmann FabianHofmann merged commit 8b90f42 into PyPSA:master Mar 13, 2026
19 checks passed
@github-project-automation github-project-automation bot moved this from Quick wins to Usability in atlite vision and roadmap Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Usability

Development

Successfully merging this pull request may close these issues.

Seeming issue with orientation.py

3 participants