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] Test fail on Mac OS for tap dependent impedance #2519

Open
5 of 6 tasks
j0m0k0 opened this issue Feb 3, 2025 · 3 comments
Open
5 of 6 tasks

[bug] Test fail on Mac OS for tap dependent impedance #2519

j0m0k0 opened this issue Feb 3, 2025 · 3 comments
Labels

Comments

@j0m0k0
Copy link

j0m0k0 commented Feb 3, 2025

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

Install the latest version of pandapower in Mac OS M2, using pip.
Then run the following code, as mentioned in the documentation here

import pandapower.test
pandapower.test.run_all_tests()

Issue Description and Traceback

There is one test that fails:

============================================================================== short test summary info ===============================================================================
FAILED .venv/lib/python3.12/site-packages/pandapower/test/control/test_tap_dependent_impedance.py::test_characteristic_diagnostic - AssertionError: assert 'The characteristic value of 6.0 at the neutral tap position 0 does not match the value 6.000001' in 'Checking transformer characteristics\ntrafo: found 2...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================================== 1 failed, 181 passed, 12 skipped, 3 xfailed, 229 warnings in 21.68s =========================================================

Expected Behavior

All tests should pass.

Installed Versions

  • python version: 3.12
  • pandas version: 2.2.3
  • networkx version: 3.4.2
  • scipy version: 1.13.1
  • numpy version: 1.26.4
  • packaging version: 2.14.11
  • tqdm version: 4.67.1
  • deepdiff version: 8.1.1
  • Operating System name/version: MacOS 14.7

Label

  • Relevant labels are selected
@j0m0k0 j0m0k0 added the bug label Feb 3, 2025
@j0m0k0 j0m0k0 changed the title [bug] YOUR TITLE [bug] Test fail on Mac OS for tap dependent impedance Feb 5, 2025
@tellitos
Copy link

tellitos commented Feb 5, 2025

I get the same message and while running the sample code from the tutorials I also get different angle values for S apparent power angle. Im very thankful for any help or leads.

Image
Image

@vogt31337
Copy link
Contributor

Hello,

thanks for raising the awareness to this issue, currently there is a large PR in the making which will change some of the inner workings regarding this part of pandapower.

@tellitos, could you perhaps point me to which tutorial this problem arose?

BR

@tellitos
Copy link

tellitos commented Feb 5, 2025

Hello,

thanks for raising the awareness to this issue, currently there is a large PR in the making which will change some of the inner workings regarding this part of pandapower.

@tellitos, could you perhaps point me to which tutorial this problem arose?

BR

@vogt31337 thanks for answering im referring to this Tutorial: Four bus system
pandapower.networks.simple_four_bus_system()[](https://pandapower.readthedocs.io/en/latest/networks/test.html#pandapower.networks.simple_four_bus_system)

It seems to be like the angle just gets -150
Kind Regards

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