NREL / celavi

Codebase for the Circular Economy Lifecycle Assessment and VIsualization (CELAVI) modeling framework.
https://nrel.github.io/celavi/
GNU General Public License v3.0
9 stars 7 forks source link

Learning rate stochastic uncertainty: use reversed probability distribution and apply a negative after drawing a value #181

Closed rjhanes closed 1 year ago

rjhanes commented 1 year ago

Learning rates are negative, and negative values cannot be drawn using the scipy.stats.triang.rvs method. Instead, positive values are used to define the triangular distribution, and a negative values is applied in the code after the random value is drawn.