Transmission related run time error #1175
Unanswered
MahavirSingh20
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been working on GridPath copper plate system for quite a sometime. I have started working with multizonal approach and hence included transmission line. I have developed and ran the model, but received this error (kindly help):
ERROR:root:"Index '('ER_NER_Tx', 2024)' is not valid for indexed component 'TxNewLin_Build_MW'"
Traceback (most recent call last):
File "C:\Users\admin1\Desktop\GridPath\gridpath9\gridpath\run_end_to_end.py", line 298, in main
expected_objective_values = run_scenario.main(args=run_scenario_args)
File "c:\users\admin1\desktop\gridpath\gridpath9\gridpath\run_scenario.py", line 852, in main
expected_objective_values = run_scenario(
File "c:\users\admin1\desktop\gridpath\gridpath9\gridpath\run_scenario.py", line 300, in run_scenario
objective_values = run_optimization(
File "c:\users\admin1\desktop\gridpath\gridpath9\gridpath\run_scenario.py", line 260, in run_optimization
save_results(
File "c:\users\admin1\desktop\gridpath\gridpath9\gridpath\run_scenario.py", line 375, in save_results
export_results(scenario_directory, subproblem, stage, instance,
File "c:\users\admin1\desktop\gridpath\gridpath9\gridpath\run_scenario.py", line 620, in export_results
m.export_results(
File "c:\users\admin1\desktop\gridpath\gridpath9\gridpath\transmission\capacity\capacity.py", line 291, in export_results
imported_tx_capacity_modules[op_m].export_module_specific_results(
File "c:\users\admin1\desktop\gridpath\gridpath9\gridpath\transmission\capacity\capacity_types\tx_new_lin.py", line 347, in export_module_specific_results
value(m.TxNewLin_Build_MW[transmission_line, p])
File "C:\Users\admin1\AppData\Local\Programs\Python\Python39\lib\site-packages\pyomo\core\base\indexed_component.py", line 412, in getitem
validated_index = self._validate_index(index)
File "C:\Users\admin1\AppData\Local\Programs\Python\Python39\lib\site-packages\pyomo\core\base\indexed_component.py", line 571, in _validate_index
raise KeyError(
KeyError: "Index '('ER_NER_Tx', 2024)' is not valid for indexed component 'TxNewLin_Build_MW'
Beta Was this translation helpful? Give feedback.
All reactions