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

[BUG] powerflow leads to error #2408

Open
5 of 6 tasks
AnkurArohi opened this issue Sep 25, 2024 · 2 comments
Open
5 of 6 tasks

[BUG] powerflow leads to error #2408

AnkurArohi opened this issue Sep 25, 2024 · 2 comments

Comments

@AnkurArohi
Copy link

Bug report checklis

  • Searched the issues page for similar reports

  • Read the relevant sections of the documentation

  • Browse the tutorials and tests for usefull code snippets and examples of use

  • Reproduced the issue after updating with pip install --upgrade pandapower (or git pull)

  • Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath

Reproducible Example

>>> pandapower.rundcpp(topo)
 RuntimeWarning: invalid value encountered in divide
  V0[gbus] = gen[on, VG] / abs(V0[gbus]) * V0[gbus]


I tried only DC run pp and I have this runtime warning, all the attributes seems ok, DC powerflow should provide better warnings in irder to find where the error is

Issue Description and Traceback

The slack is already set and the balance looks good, atleast DC load flow should work.

Expected Behavior

DC loadflow should work or the exception should be more descriptive

Installed Versions

  • python version: * pandas version: * networkx version: * scipy version: * numpy version: * packaging version: * tqdm version: * deepdiff version: * Operating System name/version:
    python 3,11
    pandapower 2.14.6
    pandas 2.2.1

Label

  • Relevant labels are selected
@AnkurArohi AnkurArohi added the bug label Sep 25, 2024
@vogt31337
Copy link
Contributor

@AnkurArohi, have you tried the diagnostic function?

@AnkurArohi
Copy link
Author

yes and it is all good

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

No branches or pull requests

3 participants