Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug] Error building the max_output_flows_limit constraint #1071

Closed
datejada opened this issue Mar 9, 2025 · 2 comments
Closed

[Bug] Error building the max_output_flows_limit constraint #1071

datejada opened this issue Mar 9, 2025 · 2 comments

Comments

@datejada
Copy link
Member

datejada commented Mar 9, 2025

Description

The model produces the error below when creating the max_output_flows_limit with the table capacity_outgoing in version 0.12.0. Here are the files:

tulipa-energy-model-files.zip

The equivalent version of the same model in version 0.10.4 does not produce an error. Here are the equivalent files:

tulipa-energy-model-files-v0.10.4.zip

Package Version

0.12.0

Julia Version

1.11.3

Reproduction steps

Run the model with the attached files.

Relevant log output

ERROR: Expression contains an invalid NaN constant. This could be produced by `Inf - Inf`

Operating System

Windows

@datejada
Copy link
Member Author

datejada commented Mar 9, 2025

@abelsiqueira, I tried to solve this one, but I failed in my attempt 😢 Maybe tomorrow we can look at it. Thanks!

@abelsiqueira
Copy link
Member

@datejada and I debugged this. The data in asset_both.csv has duplicate entries, which breaks things down the line.
This should be improved after #461, but for now the solution is to fix the data.

Closing this as #461 already covers data validation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants