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] Failing power flow calculation if non mandatory attributes not set #2445

Open
6 tasks done
AnkurArohi opened this issue Nov 8, 2024 · 4 comments
Open
6 tasks done
Labels

Comments

@AnkurArohi
Copy link

AnkurArohi commented Nov 8, 2024

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

Simply create a network and do not provide "tap_step_degree" for trafo dfand "shift_mv" and "shift_lv_degree" for trafo3w df. Try to run power flow , this results in error of missing shift_mv_degree exception.

Issue Description and Traceback

After setting PU gens as PQ gens in network, Load Flow did not converge: 'DataFrame' object has no attribute 'shift_mv_degree'
dc powerflow did not work: 'DataFrame' object has no attribute 'shift_mv_degree'

Expected Behavior

Since these columns are not mandatory in the pandapower documentation for load flow calculation this should never occur

Installed Versions

  • python version: 3.12*

Label

  • Relevant labels are selected
@AnkurArohi AnkurArohi added the bug label Nov 8, 2024
@vogt31337 vogt31337 added the dc label Nov 21, 2024
@bott-j
Copy link
Contributor

bott-j commented Nov 22, 2024

@AnkurArohi, was this after changing to using static generators in the network model?

Did it fail both normal power flow and dc power flow, and do you have an example of the network being modelled?

@AnkurArohi
Copy link
Author

Yes and it fails for both

@bott-j
Copy link
Contributor

bott-j commented Nov 23, 2024

@AnkurArohi , I haven't been able to reproduce this.

Was create_transformer_from_parameters() and create_sgen() used to create the equipment in the network? What was the slack/reference bus for the model?

I'm assuming it was the latest version of pandapower?

@AnkurArohi
Copy link
Author

Yes it was latest,slack and all other details were same and it works with the old pp version

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

No branches or pull requests

3 participants