pencleanenergy / MATCH-model

MATCH model for planning time-coincident clean energy portfolios
GNU Affero General Public License v3.0
27 stars 10 forks source link

solve-scenarios error #77

Closed jsloan-rcea closed 10 months ago

jsloan-rcea commented 10 months ago

I have been able to fill out a complete model_inputs workbook, and get through the "Generate and Validate model inputs" cell in run_scenarios. But no matter what I do, when I run "Solve Model Scenarios", it starts to run in the terminal (Powershell / command prompt), and then exits out on error:

"match solve-scenarios: error: argument --excess_generation_limit_type: invalid choice: 'nan' (choose from 'annual', 'hourly', None)"

I have gone back to the model_inputs over and over again and confirmed that I have None selected. I have even tried setting it to hourly and annual, and it still errors out. When I check the scenarios.txt, it shows "--excess_generation_limit_type nan" no matter what I've set in the model_inputs scenario tab for excess_generation_limit_type. I've even tried editing scenarios.txt by hand, and then it errors with whatever I change it to. (E.g. "match solve-scenarios: error: argument --excess_generation_limit_type: invalid choice: 'None' (choose from 'annual', 'hourly', None)".

I've been troubleshooting this back and forth, and cannot seem to figure out what might be causing this.