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

Feat/performance ratio #128

Closed
wants to merge 3 commits into from
Closed

Conversation

kandersolar
Copy link
Member

@kandersolar kandersolar commented Nov 11, 2019

References #127. Step one of the bigger loss categorization project is to add the ability to calculate performance ratio. The method chosen for now is the temperature-adjusted metric defined in [1]. I've put the code in a new file called losses.py in anticipation of future loss-quantification functions going there as well.

The main user-facing function performance_ratio differs from the spec in two ways:

  • optionally allowing the user to filter out times where the expected power would be above the system's clipping limit
  • defaulting to 25 C as the reference cell temperature instead of the POA-weighted Tcell value calculated from a system's 8760. The POA-weighted Tcell version is intended to give the same annual value as the standard (non-temp-adjusted) PR, which results in the values being centered around 0.8 or so depending on the system. Using 25 as the reference shifts the values to centered around 1.0.

The other function calculate_pr is more generic and allows a user to calculate a PR using a generic expected energy signal and filtering mask.

[1] "Weather-Corrected Performance Ratio" - https://www.nrel.gov/docs/fy13osti/57991.pdf

@kandersolar
Copy link
Member Author

Current Travis failures are from the py2.7 jobs, FYI

@mdeceglie
Copy link
Collaborator

Closing this one, it's been stale for a while

@mdeceglie mdeceglie closed this Mar 5, 2021
@kandersolar kandersolar deleted the feat/performance_ratio branch April 5, 2021 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants