Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Voltage magnitude is undefined #188

Closed
mathbagu opened this issue Dec 16, 2020 · 4 comments
Closed

Voltage magnitude is undefined #188

mathbagu opened this issue Dec 16, 2020 · 4 comments

Comments

@mathbagu
Copy link
Contributor

  • Do you want to request a feature or report a bug?
    Bug?

  • What is the current behavior?
    On several of my old real cases, I have an exception "Voltage magnitude is undefined for bus XXX".

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
    The bug can be reproduce with open-loadflow v0.8.0 on these cases:

  • 20191204_1030_2D3_D20.zip (CGMES)
  • 20190821T0830Z_1D_NG__004.zip (CGMES)
  • 20151011_1030_FO7_FR0.uct (UCTE)
  • What is the expected behavior?
    I used to run load-flow on these files, so I suppose there could be a regression somewhere

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:

    • PowSyBl Version: 3.8.0
    • OS Version: 0.8.0
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)

(if a question doesn't apply, you can delete it)

@geofjamg
Copy link
Member

I guess you have voltage init mode in your parameters to previous value?
If you don t have state var in your case you have to use initial value mode.

@mathbagu
Copy link
Contributor Author

My bad, this parameter is override by my configuration file. I wonder if we should be robust and automatically switch to initial value or implement a test with a more functional message (Impossible to run load-flow in "previous_value" mode because some voltage magnitudes are missing" or something like that

What do you think? If it's not relevant, feel free to close this issue

@geofjamg
Copy link
Member

My bad, this parameter is override by my configuration file. I wonder if we should be robust and automatically switch to initial value or implement a test with a more functional message (Impossible to run load-flow in "previous_value" mode because some voltage magnitudes are missing" or something like that

What do you think? If it's not relevant, feel free to close this issue

Indeed it would make sense to just warn if at least one voltage is missing and fallback to flat start.

@geofjamg
Copy link
Member

I close this issue because there is another one similar to think about this topic #429

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

No branches or pull requests

2 participants