Skip to content

Distribution clipping method#1137

Merged
mjprilliman merged 22 commits into
patchfrom
distribution_clipping_method
Mar 1, 2024
Merged

Distribution clipping method#1137
mjprilliman merged 22 commits into
patchfrom
distribution_clipping_method

Conversation

@mjprilliman

Copy link
Copy Markdown
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

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

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

Comment thread shared/lib_pv_io_manager.cpp Outdated
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread shared/lib_pv_io_manager.h
Comment thread shared/lib_irradproc.cpp
Comment thread shared/lib_pv_io_manager.cpp
Comment thread ssc/cmod_pvsamv1.cpp
Comment thread shared/lib_shared_inverter.h Outdated
Comment thread shared/lib_shared_inverter.cpp Outdated
Comment thread ssc/cmod_pvsamv1.cpp Outdated
Comment thread ssc/cmod_pvsamv1.cpp
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