Skip to content
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

Add dual-axis tracker POA transposition function #2180

Open
BernatNicolau opened this issue Aug 22, 2024 · 0 comments
Open

Add dual-axis tracker POA transposition function #2180

BernatNicolau opened this issue Aug 22, 2024 · 0 comments

Comments

@BernatNicolau
Copy link
Contributor

Is your feature request related to a problem? Please describe.
There is not an easy way to obtain POA transpositions for dual-axis tracker systems.

Describe the solution you'd like
Have a tracking.dualaxis() function.

Describe alternatives you've considered
The dual axis should follow the sunposition angles, considering the mechanical tracker limits, and with an angle convention that worked in my case (may not be the best one).

I have found this example but I could not find it in the main code.

Code example with no backtracking but with mechanical limits added

# min_azimuth_limit: lower mechanical limit of azimuth surface angle
# max_azimuth_limit: upper mechanical limit of azimuth surface angle
# min_tilt_limit: lower mechanical limit of tilt surface angle
# max_tilt_limit: upper mechanical limit of tilt surface angle

adjusted_azimuth = solpos["azimuth"].clip(
    lower=min_azimuth_limit + 180,
    upper=max_azimuth_limit + 180,
)
adjusted_tilt = (90 - solpos["elevation"]).clip(
    lower=min_tilt_limit, upper=max_tilt_limit
)

poa = pvlib.irradiance.get_total_irradiance(
    surface_azimuth=adjusted_azimuth,
    surface_tilt=adjusted_tilt,
    ...
)
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

No branches or pull requests

1 participant