Move module dimensions inputs to Module page#1519
Merged
Merged
Conversation
Add `lib_length` and `lib_width` to CEC Module library so length and width values can be read into UI.
Fix #1518 Change modules per string and strings in parallel from 0 to 1 for disabled subarrays when appropriate Fix adjust_periods when old adjust:periods has invalid number of columns
mjprilliman
approved these changes
Oct 26, 2023
mjprilliman
left a comment
Collaborator
There was a problem hiding this comment.
Everything looks good and seems to calculate correctly. Thanks for these updates!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Template
Description
Move module dimensions inputs from Shading and Layout page. For older versions of SAM, aspect ratio was only used as input to shading model, but now module dimensions are used for shading, land area, and heat transfer cell temp calculations, so makes more sense on the Module page.
Add UI callback code to calculate aspect ratio for CEC module model with library when length and width is available in library.
Also fixes some issues with opening .sam files created in SAM 2022.11.21:
Fixes #245
Fixes #1518
SAM 2022.11.21 file with a case for each module model for testing: all-module-models-sam-2022-11-21.zip
Type of change
Please delete options that are not relevant.
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.