NREL / PRAS

NREL's Probabilistic Resource Adequacy Suite (PRAS)
https://www.nrel.gov/analysis/pras.html
Other
46 stars 11 forks source link

Disallow creating systems where lambda and mu are simultaneously zero #38

Open GordStephen opened 2 years ago

GordStephen commented 2 years ago

When lambda = mu = 0, long-run availability is undefined, which causes problems both for calculating convolutions as well as for initializing the system state in SequentialMonteCarlo. Resource constructors should include a check that at least one of the two values is nonzero at all times.