You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting several of these warnings when using linopy with PyPSA:
Warning, line 133208941: Name 'x10609872' does not exist.
It looks to me like a constraint or variable, that CPLEX expects is not available? The network is a modified pypsa-eur network, to which I added different system components.
Best,
Georg
The text was updated successfully, but these errors were encountered:
hey georg! this shouldn't happen .... could you look which constraint should contain the variable "133208941"? you can do that with n.model.variables.get_name_by_label(133208941)
I could imagine that there is a wrong masking of the variable which does not happen in the constraint. so in consequence the variable would appear in the constraint definition but not in the variable definition as where it is masked/filtered
Thanks Fabian! After your comment, I wanted to investigate whether this has to do with linopy/PyPSA releases that came after the latest PyPSA-Eur version (0.13), and indeed I managed to solve the issue now by downgrading PyPSA (and thereby linopy) to the lowest version that was mentioned in the environment.yaml.
Don't know if this is even worth following up on, but with the latest version I also got some mentions of repeating rows, which was usually an indicator that the run would fail (for example "Row 'c6164160' repeats.")
I will just leave it here, in case it might be helpful. But it might also just be a result of incompatible packages, so feel free to ignore it, of course :-)
Dear all,
I am getting several of these warnings when using linopy with PyPSA:
Warning, line 133208941: Name 'x10609872' does not exist.
It looks to me like a constraint or variable, that CPLEX expects is not available? The network is a modified pypsa-eur network, to which I added different system components.
Best,
Georg
The text was updated successfully, but these errors were encountered: