You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IEEE14 case has 3 trafos and 17 lines, resulting in 20 branches (when interpreting it in MATPOWER style). If we look at the example above , pandapower has some trouble.
First, there is one generator less than expected. This is ok, as the missing generator is interpreted as the external grid.
But then if you compare n_linesand n_trafos, something is odd. Two lines are interpreted as trafos. I had a deeper look into it and I think the problem lies in how a zero-resistance line is interpreted by pandapower when loading a case file. If we have a look at the normal ieee14 data (see here) there are two lines that have a zero resistance.
Hi @leuchtum, thanks for bringing that up. We made some recent changes in pandapower develop that affected the networks in pandapower, see the PR #2347. Could you test this with the current version of develop and see what happens? Maybe this is already solved there
@leuchtum, I think this is because normally lines with zero impedance, produce lots of problems (loadflow does not converge and so on). And therefore I think they get rewritten as a transformer. Why exactly this happens I cannot currently say. I think this to have the phase shifter and circumvent convergence errors...
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
(orgit pull
)Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath
Reproducible Example
Issue Description and Traceback
The IEEE14 case has 3 trafos and 17 lines, resulting in 20 branches (when interpreting it in MATPOWER style). If we look at the example above , pandapower has some trouble.
First, there is one generator less than expected. This is ok, as the missing generator is interpreted as the external grid.
But then if you compare
n_lines
andn_trafos
, something is odd. Two lines are interpreted as trafos. I had a deeper look into it and I think the problem lies in how a zero-resistance line is interpreted by pandapower when loading a case file. If we have a look at the normal ieee14 data (see here) there are two lines that have a zero resistance.Expected Behavior
Expected result see example above.
Installed Versions
Label
The text was updated successfully, but these errors were encountered: