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

Distribution clipping method #1137

Merged
merged 22 commits into from
Mar 1, 2024
Merged

Conversation

mjprilliman
Copy link
Collaborator

-Implement Walker clipping method that uses distribution of PV power output to calculate clipping potential
-https://www.nrel.gov/docs/fy20osti/76859.pdf
-Accessible through SDK
-Add test for feature usage
-Linke turbidity currently fixed at 1.0, todo add surrogate or lookup for turbidity value

@mjprilliman mjprilliman added new feature pv photovoltaic, pvsam, pvwatts labels Feb 26, 2024
@mjprilliman mjprilliman added this to the 2023 Release Patch 1 milestone Feb 26, 2024
@mjprilliman mjprilliman self-assigned this Feb 26, 2024
Copy link
Collaborator

@janinefreeman janinefreeman left a comment

Choose a reason for hiding this comment

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

Great implementation of a complex model! Some comments in-line that should be addressed before merging.

p_subhourlyClippingLossFactor = cm->allocate("subhourly_clipping_loss_factor", numberOfLifetimeRecords);
//p_subhourlyClippingLossFactor = cm->allocate("subhourly_clipping_loss_factor", numberOfLifetimeRecords);

p_DistributionClippingLoss = cm->allocate("distribution_clipping_loss", numberOfLifetimeRecords);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this output, and the subhourly clipping loss above, be conditionally defined to only show up if these features are enabled?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should the total loss and percentage outputs be conditional in the outputs as well?

image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We currently have bifacial electrical mismatch show up as a potential modeled loss factor that shows up in all model runs just as a data point.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah. I am always in favor of outputs only showing up when they apply, but I'm sure there are a variety that have gone unnoticed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No worries I can make those conditional.

@mjprilliman mjprilliman merged commit bc484d0 into patch Mar 1, 2024
4 checks passed
@mjprilliman mjprilliman deleted the distribution_clipping_method branch March 1, 2024 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature pv photovoltaic, pvsam, pvwatts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants