Skip to content

Allow for custom tracker rotation angles timeseries input for subarrays#1071

Merged
mjprilliman merged 19 commits into
developfrom
user-tilt-angles
Oct 27, 2023
Merged

Allow for custom tracker rotation angles timeseries input for subarrays#1071
mjprilliman merged 19 commits into
developfrom
user-tilt-angles

Conversation

@mjprilliman

@mjprilliman mjprilliman commented Oct 25, 2023

Copy link
Copy Markdown
Collaborator

-Add SDK inputs for using custom rotation angle inputs, optional timeseries arrays
-Set tracking mode to single-axis when using this feature for the 4 subarrays
-Also update use measured module temperature feature to be unique across each subarray.
-Add unit tests
@cpaulgilman This is an SDK only feature for now. Let me know how I can help with documentation. I'm hoping to build a PySAM example notebook for this feature for a future PySAM release.
-Closes (NatLabRockies/SAM#850), updates NatLabRockies/SAM#106

@mjprilliman mjprilliman added this to the SAM Fall 2023 Release milestone Oct 25, 2023
@mjprilliman mjprilliman self-assigned this Oct 25, 2023
@mjprilliman

mjprilliman commented Oct 25, 2023

Copy link
Copy Markdown
Collaborator Author

custom_tilt_angle_test.zip

LK file and dll for SDKtool testing.

@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.

Functionality looks good.

SDKtool scripts to test importing custom tracker rotation and cell temp arrays with simulation error checks: custom-tilt-temp-sdktool-scripts.zip

  1. For cell temperature input, please change "measured" in all variable names, labels, and error messages to "custom" to be consistent with rotation angle input. Suggested variable names:

subarray1_use_custom_cell_temp
subarray1_custom_cell_temp_array

  1. Please fix error message for temperature array with invalid value (should not refer to tilt angle and need space between "1" and "custom": "Error: exec fail(pvsamv1): Subarray 1custom tilt angles cannot be greater than 100degC. time -1.000000"

  2. Please fix error message for custom rotation angle to refer to "custom tracker rotation angles" instead of "custom tilt angles".

@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.

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants