pandapower
pandapower copied to clipboard
[bug] pc.from_mpc no longer works.
Bug report checklis
-
[X] Searched the issues page for similar reports
-
[X] Read the relevant sections of the documentation
-
[X] Browse the tutorials and tests for usefull code snippets and examples of use
-
[X] Reproduced the issue after updating with
pip install --upgrade pandapower
(orgit pull
) -
[X] 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
- [X] Relevant labels are selected