You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (cm->is_assigned(prefix + "tilt")) tiltDegrees = fabs(cm->as_double(prefix + "tilt"));
As far as "expected behavior", I'd favor the first of @williamhobbs's suggestions (Issue an error message about negative values being invalid). This would also be consistent with the constraint "MIN=0,MAX=90" listed in _cm_vtab_pvsamv1 for subarrayN_tilt.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
If a user assigns a negative tilt for a 1 axis tracking system it appears to be treated as a positive tilt.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
One of the following, or similar:
Screenshots
Notice that occurs when assigning a negative tilt (note that tilt angle in the notice is positive):

Results with tilt = 10, azimuth = 180:

Results with tilt = -10, azimuth = 180 (same as above, not what I expected):

Results with tilt = 10, azimuth = 0 (what I expected -10, 180 to look like):

Inputs browser for reference:

Operating System and Version
Tagging @kanderso-nrel and @kurt-rhee, since they brought up this issue here pvlib/pvlib-python#1471.
The text was updated successfully, but these errors were encountered: