Skip to content

Commit

Permalink
require a minimum of 20 monte carlo samples
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeyers committed Mar 15, 2024
1 parent 6c4a0e2 commit 1a167ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solardatatools/algorithms/loss_factor_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def estimate_degradation_rate(
f"changes: {diffs[-1][0]:.3e}, {diffs[-1][1]:.3e}, {diffs[-1][2]:.3e}"
)
# check exit conditions
if counter < 10:
if counter < 20:
# get at least 10 samples
continue
elif counter > max_samples:
Expand Down

0 comments on commit 1a167ee

Please sign in to comment.