-
Notifications
You must be signed in to change notification settings - Fork 487
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
The array index will not be correctly found when pvpq array is not sorted #1
Comments
The functions in pandapower/pypower_extension are for now only recommended to use within pandapower, not with casefiles that were not generated by pandapower. We want to make the numba accelerations available for pypower, so that they work for all pypower casefiles. There are probably some issues to resolve before this generally works, and this is one of them, so thanks for pointing it out. For now, this is nothing that needs fixing in pandapower, since it works for casefiles generated by pandpower (pandapower always creates casefiles with consequitie bus numbering). |
Thanks for the reply, I was calculating a customized power systemwhich had been created in pypower before in pandapower. In fact I used the |
If the transformer caused differences after conversion, you can take a look at the trafo_model parameter of your transformers. Maybe changing the type from "t" to "pi" or vice versa is enough to fix your problem. |
…n max_loading_percent) -> correct line.max_i_ka in power_system_test_cases close #1
…n max_loading_percent) -> correct line.max_i_ka in power_system_test_cases close #1
Initial commit of IEC 60909-4 section 6 test case.
…on-suggestions Feature/pgm integration suggestions
Feature/repaired set line geodata
Check This line
pvpq_lookup = zeros(pvpq[-1]+1, dtype=int)
, I think thepvpq[-1]
may not always be the largest index of the pvpq array, it should be likepvpq_lookup = zeros(pvpq).max() , dtype=int)
to ensure the largest index will be always found. This can help to compatible with common pypower case format.The text was updated successfully, but these errors were encountered: