Skip to content

UI warning for negative tilt angles#1171

Merged
mjprilliman merged 5 commits into
developfrom
sam-1087-fix
Oct 12, 2022
Merged

UI warning for negative tilt angles#1171
mjprilliman merged 5 commits into
developfrom
sam-1087-fix

Conversation

@mjprilliman

Copy link
Copy Markdown
Collaborator

Description

Pop up message box when a negative tilt angle is entered. Combined with ssc var table prechecks NatLabRockies/ssc#885 should prevent negative tilt (and azimuth) angle definitions in SAM UI and SDK

Fixes #1087

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

If you have added a new compute module in a SSC pull request related to this one, be sure to check the Process Requirements.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@mjprilliman mjprilliman added bug pv pvsam1, pvwatts, hcpv labels Oct 5, 2022
@mjprilliman mjprilliman added this to the SAM Fall 2022 Release milestone Oct 5, 2022
@mjprilliman mjprilliman self-assigned this Oct 5, 2022

@cpaulgilman cpaulgilman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to check conditions for tilt and azimuth error checks. For example:

SSC error exec fail(pvsamv1): Subarray 1 monthly tilt angles cannot be negative. when subarray1_track_mode is zero (fixed) and subarray1_monthly_tilt has a negative value for one of the months. See example in pv-monthly-tilt.zip.

SSC generates an error when track mode is 3 (azimuth axis tracking) and azimuth value is out of range even though azimuth is not used for this tracking option.

@mjprilliman mjprilliman merged commit a1ea113 into develop Oct 12, 2022
@mjprilliman mjprilliman deleted the sam-1087-fix branch October 12, 2022 20:46
@cpaulgilman cpaulgilman added the added to release notes PR and/or issue has been added to release notes for a public release label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

added to release notes PR and/or issue has been added to release notes for a public release bug pv pvsam1, pvwatts, hcpv

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sign (negative) ignored for 1 axis tilt

2 participants