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] pc.from_mpc no longer works. #2149

Open
6 tasks done
PB-vines opened this issue Oct 14, 2023 · 0 comments
Open
6 tasks done

[bug] pc.from_mpc no longer works. #2149

PB-vines opened this issue Oct 14, 2023 · 0 comments
Labels

Comments

@PB-vines
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

path = 'localpathtomy.matfile'
net = pc.from_mpc(path, f_hz=60, casename_mpc_file = 'ans', validate_conversion =False)

Issue Description and Traceback

I have been using the same code for a bit that converts networks and it worked fine. After upgrading paneapower the pc.from_mpc no longer works and yield this error: AttributeError: 'pandapowerNet' instance has no attribute '_options'

I have it with both python 3.8 and python 3.9.

Expected Behavior

This should convert the grid as it previously did before upgrading.

Installed Versions

  • python version: * pandas version: * networkx version: * scipy version: * numpy version: * packaging version: * tqdm version: * deepdiff version: * Operating System name/version:
    3.8/3.9

Label

  • Relevant labels are selected
@PB-vines PB-vines added the bug label Oct 14, 2023
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

1 participant