vicelab / cen-sierra-pywr

Code base for modeling the central Sierra Nevada hydropower systems
3 stars 5 forks source link

occasional Tuolumne model solver error when running sequences #106

Open drheinheimer opened 4 years ago

drheinheimer commented 4 years ago

The Tuolumne River model encounters the following error occasionally when running sequences:

Assertion failed: teta >= 0.0
Error detected in file ..\src\simplex\spxchuzr.c at line 294

This is discussed as an issue in Pywr. Based on that discussion, the working assumption is that there is a stray NaN value somewhere in the Tuolumne model, which should be looked for and, if found, resolved.

For now, the model will run in parallel mode with 5 parallel processes for two rounds (i.e., 10 sequences total).