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

New Feature: Updated degradation estimation (with uncertainty) plus full loss factor analysis #123

Merged
merged 25 commits into from
Mar 15, 2024

Conversation

bmeyers
Copy link
Collaborator

@bmeyers bmeyers commented Mar 15, 2024

Adds a new algorithm to solardatatools.algorithms called LossFactorAnalysis. This implements a signal decomposition algorithm for estimation of degradation and soiling losses in unlabeled daily energy production data. Model is of the form

y_t = x_t * d_t * s_t * c_t * w_t, for t \in K

where y_t [kWh] is the measured real daily energy on each day, x_t [kWh] is an ideal yearly baseline of performance,
and d_t, s_t, and w_t are the loss factors for degradation, soiling, capacity changes, and weather respectively. K is
the set of "known" index values, e.g. the days that we have good energy production values for (not missing or
corrupted).

Monte Carlo sampling of the data and problem parameters is used to estimate the degradation rate and its uncertainty. This algorithm has be integrated with the `DataHandler class.

@bmeyers
Copy link
Collaborator Author

bmeyers commented Mar 15, 2024

@pluflou the PyPI test build didn't like the github link in the requirements file:

error in solar-data-tools setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Parse error at "'+https:/'": Expected stringEnd
Error: Process completed with exit code 1.

@bmeyers bmeyers requested a review from pluflou March 15, 2024 18:50
@bmeyers
Copy link
Collaborator Author

bmeyers commented Mar 15, 2024

and conda also choked

   × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in solar-data-tools setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after name and no valid version specifier)
          git+https://github.com/cvxgrp/spcqe.git
             ^
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Error: Process completed with exit code 1.

@pluflou pluflou temporarily deployed to test-deployment March 15, 2024 22:49 — with GitHub Actions Inactive
pluflou added 2 commits March 15, 2024 16:01
User experience improvements
@pluflou pluflou merged commit 0b19543 into main Mar 15, 2024
3 checks passed
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