Skip to content

Conversation

@mmazzolini
Copy link

@mmazzolini mmazzolini commented May 2, 2025

there are two different conventions with regards to solar azimuths in pvlib (0N, 90E, 180S, 270W) and here in TopoPyScale (0S,180N, -90W and 90E). I think the solution is that we need to change sign to the azimuth other than subtracting 180. Let me know if it also makes sense to you.

I realized the error because I had strong SW radiation on a west-facing slope in the morning and not in the afternoon:
image

@ArcticSnow
Copy link
Owner

Thank you Marco for the PR!
I'll have a look this week into this issue. This would be a rather important correction to do indeed.

@ArcticSnow
Copy link
Owner

ArcticSnow commented May 5, 2025

Wow what a catch! I see the same behavior. I cannot believe such typo was not noticed earlier, quite a shame.
Grazie mille!!!

@ArcticSnow ArcticSnow merged commit 2f01da5 into ArcticSnow:main May 5, 2025
@ArcticSnow
Copy link
Owner

I am packaging a new release with your PR.

@joelfiddes
Copy link
Collaborator

joelfiddes commented May 6, 2025 via email

@mmazzolini
Copy link
Author

No worries, thanks Simon for packaging the new release : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants