Skip to content

Feature/add pvsystem tracking algorithm - #54

Merged
javlor merged 3 commits into
mainfrom
feature/add-pvsystem-tracking-algorithm
Oct 27, 2026
Merged

javlor merged 3 commits into
mainfrom
feature/add-pvsystem-tracking-algorithm

Conversation

@javlor

@javlor javlor commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

New attribute: tracking_algorithm defaults to StandardBacktracking. It's checked both when the plant is created and when the attribute is set later.

Accepted values: the TrackerAlgorithm enum or a string, ignoring case and surrounding spaces. Only SlopeAwareBacktracking, StandardBacktracking and SunTracking are allowed.

Rejected values: I also reject CustomRotations, because PVSystem has no way to supply a rotation table. Anything invalid raises a clear ValueError.

Unset value: passing None gives you StandardBacktracking.

generate_tracker_systems: now passes tracker_algorithm=plant.tracking_algorithm. Legacy properties is_backtracking and use_slope_aware_backtracking are no longer used.

@javlor
javlor requested a review from mikehamer-dnv October 27, 2026 13:51
@javlor
javlor merged commit 532ebc4 into main Oct 27, 2026
12 checks passed
@javlor
javlor deleted the feature/add-pvsystem-tracking-algorithm branch October 27, 2026 15:02
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.

2 participants