Skip to content

Identifying the source of infeasibility in FlexTool input. #277

@hbshrestha

Description

@hbshrestha

Hi. I am running a model scenario - the model solve is infeasible and I get the following error message at the end:

GLPSOL wrote the results into csv files

INFO:flextoolrunner.py:1866:Success!
ERROR:run_flextool.py:64:Model run failed: [WinError 2] The system cannot find the file specified: 'output/annualized_dispatch_costs__period__t.csv'
Traceback:
Traceback (most recent call last):
  File "run_flextool.py", line 62, in main
    return_code = runner.run_model()
                  ^^^^^^^^^^^^^^^^^^
  File "C:\Users\HShrestha\.spinetoolbox\work\flextool3__1ac5064c820c409bb9b32ddaef8894f7__toolbox\flextool/flextoolrunner.py", line 1918, in run_model
    os.remove("output/annualized_dispatch_costs__period__t.csv")
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'output/annualized_dispatch_costs__period__t.csv'

Kernel died (×_×)
>>> 

The model status is infeasible as shown:
Image

In the console, I also saw following conflict messages. I tried to remove storage availability in input, but the error still persists. Is there a way to identify the precise source and location of infeasibility from the console message? I am attaching the input file and console log.

Console log.txt

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions