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

Updates to change detection algorithms #161

Merged
merged 47 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
e40e470
control over waterfall chart
bmeyers Jun 28, 2024
ddfc427
Merge branch 'main' of github.com:slacgismo/solar-data-tools into fixes
bmeyers Jun 28, 2024
9954bcb
Update default weights for time shift detection
bmeyers Jul 5, 2024
7b9e648
Simplified weights and added formulation for known transition points
bmeyers Jul 5, 2024
a90df91
Changes: (1) changed default weights. (2) removed an old heuristic th…
bmeyers Jul 5, 2024
cd8cb30
Use clarabel instead of QSS, and make use of transition points for fi…
bmeyers Jul 5, 2024
eaaf4d8
specific handling of no-shift case and modification to w1 optimizatio…
bmeyers Jul 8, 2024
bfdafbd
sanity check for sufficient data
bmeyers Jul 9, 2024
85c359c
new utility functions for polishing change detection problems (l1 of …
bmeyers Jul 9, 2024
21e8358
update weight kwargs, removing unused weights, and add transition_loc…
bmeyers Jul 9, 2024
173e2ae
add model for polished version of problem and simplify weights
bmeyers Jul 9, 2024
d48f915
new weight optimization and polishing steps added to algorithm
bmeyers Jul 9, 2024
fefa0fd
functions moved to utilities.py
bmeyers Jul 9, 2024
0106ed4
bug fix in data sufficiency check
bmeyers Jul 10, 2024
faf7ff4
use equality constraint instead of inequality constraint
bmeyers Jul 12, 2024
5e644e4
update to rounding method for assigning clusters and add precheck for…
bmeyers Jul 12, 2024
961504c
add precheck for negatives and changes to plotting function
bmeyers Jul 12, 2024
e3432a3
during reasonable data check, look for non-negative values, not just …
bmeyers Jul 12, 2024
05914f0
need to actually pass transition locations
bmeyers Jul 12, 2024
73a075f
during reasonable data check, look for non-negative values, not just …
bmeyers Jul 12, 2024
6e4c16c
skipping all SCSF tests.
bmeyers Jul 12, 2024
f59c9e6
make it clear that CLARABEL is now the default solver everywhere
bmeyers Jul 12, 2024
74b591b
fixing tests
bmeyers Jul 12, 2024
2b2db53
tests now use CLARABEL solver
bmeyers Jul 15, 2024
e458385
update tests
bmeyers Jul 15, 2024
efb9c24
finish regenerating fixtures for signal decomp tests
bmeyers Jul 15, 2024
09fbe65
fix default kwargs
bmeyers Jul 15, 2024
be87e97
removing SCSF tests
bmeyers Jul 15, 2024
5055cb3
update to test fixture generation notebook
bmeyers Jul 15, 2024
665aeff
non-periodic version of function no longer supported
bmeyers Jul 15, 2024
65482fe
remove unused kwarg
bmeyers Jul 15, 2024
3c5937a
Update clear day detection tests
bmeyers Jul 15, 2024
9c0e044
regenerate fixtures for fill nighttime test
bmeyers Jul 15, 2024
0e23fa5
updating fixtures
bmeyers Jul 15, 2024
df8e423
notebook update
bmeyers Jul 15, 2024
d402dd5
new fixtures for time shift test
bmeyers Jul 15, 2024
cdab333
updated soiling demonstration
bmeyers Jul 15, 2024
1e8e7f1
updating default example
bmeyers Jul 15, 2024
a998f50
fix conda pvlib channel
bmeyers Jul 15, 2024
e8e56ad
fix future warnings
bmeyers Jul 15, 2024
b2f29fb
threshold adjust
bmeyers Jul 15, 2024
6caa417
improvements to consistency and readability
bmeyers Jul 16, 2024
2504b0d
fixing test errors from removed kward weight
bmeyers Jul 16, 2024
7725f4c
missed one
bmeyers Jul 16, 2024
ba6b065
now that weight kwarg is connected in the function again, we needed t…
bmeyers Jul 16, 2024
dc296a8
fixing tests again. cleaning up weights removed a hidden factor of 10.
bmeyers Jul 16, 2024
f655756
bug fix in default weight, found with unit tests.
bmeyers Jul 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
conda install anaconda-client
conda config --set anaconda_upload no --set solver libmamba
echo yes | anaconda login --username ${{ secrets.ANACONDA_CLOUD_USERNAME }} --password ${{ secrets.ANACONDA_CLOUD_PASSWORD }}
VERSION_FROM_GIT_TAG=$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-) conda build . -c mosek -c anaconda -c pvlib -c slacgismo -c conda-forge -c stanfordcvxgrp
VERSION_FROM_GIT_TAG=$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-) conda build . -c mosek -c anaconda -c slacgismo -c conda-forge -c stanfordcvxgrp
echo "gitversion=$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-)" >> $GITHUB_OUTPUT

- name: Upload the Anaconda Package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ jobs:
conda install anaconda-client
conda clean --all
conda config --set anaconda_upload no --set solver libmamba
VERSION_FROM_GIT_TAG=$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-)test conda build . -c mosek -c pvlib -c slacgismo -c conda-forge -c stanfordcvxgrp
VERSION_FROM_GIT_TAG=$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-)test conda build . -c mosek -c slacgismo -c conda-forge -c stanfordcvxgrp
echo "gitversion=$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-)" >> $GITHUB_OUTPUT
7 changes: 7 additions & 0 deletions .idea/solar-data-tools.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

275 changes: 222 additions & 53 deletions notebooks/Soiling_analysis_demonstration.ipynb

Large diffs are not rendered by default.

Loading
Loading