Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 19 commits into from Oct 27, 2023

Conversation

mjprilliman
Copy link
Collaborator

@mjprilliman mjprilliman commented Oct 25, 2023

-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 (NREL/SAM#850), updates NREL/SAM#106

@mjprilliman
Copy link
Collaborator Author

mjprilliman commented Oct 25, 2023

custom_tilt_angle_test.zip

LK file and dll for SDKtool testing.

Copy link
Collaborator

@cpaulgilman cpaulgilman left a comment

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

Copy link
Collaborator

@cpaulgilman cpaulgilman left a comment

Choose a reason for hiding this comment

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

Looks great!

@mjprilliman mjprilliman merged commit 6c9fda0 into develop Oct 27, 2023
4 checks passed
@mjprilliman mjprilliman deleted the user-tilt-angles branch October 27, 2023 17:55
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.

None yet

2 participants