-
Notifications
You must be signed in to change notification settings - Fork 22
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
Loss factor analysis #122
Loss factor analysis #122
Conversation
new utilities for time dilation
Need to address dependencies:
|
added |
to-do list
|
This module is for estimation of degradation and soiling losses from unlabeled | ||
daily energy production data. Model is of the form | ||
|
||
y_t = x_t * d_t * s_t * w_t, for t = 1,...,T |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated model has one additional factor and is aware of missing/bad days.
error_metric = np.sum(np.abs(residual)) | ||
return error_metric | ||
|
||
def make_problem( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider moving to _osd_signal_decompositions.py
self.soiling_energy_loss = None | ||
self.capacity_change_loss = None | ||
self.weather_energy_loss = None | ||
self.weather_percent_loss = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clean up imports (e.g. weather_percent_loss)
fraction_hold=0.2, | ||
method="median_unbiased", | ||
verbose=False, | ||
debug=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clean up?
return _fig_decomp | ||
|
||
|
||
def model_wrapper(energy_model, use_ixs): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using static methods from here onwards (@pluflou check best practice)
…rom the MC estimate
This branch contains the new algorithm for estimating PV system loss factors, including a degradation rate.