Skip to content

Commit

Permalink
adding comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeyers committed Feb 29, 2024
1 parent 9ef16ec commit 4739993
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solardatatools/algorithms/loss_factor_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def make_problem(
n_reduce = int(0.9 * n_tot)
bottom_mat = sp.lil_matrix((n_tot - n_reduce, n_reduce))
bottom_mat[:, -1] = 1
# don't allow any downward shifts in the last 10% of the data (constrain values to be equal)
custom_basis = sp.bmat([[sp.eye(n_reduce)], [bottom_mat]])
c4 = comp.Aggregate(
[
Expand Down

0 comments on commit 4739993

Please sign in to comment.