I don't get reliable results from from_mpc. For example, the following produces an error
import pandapower.converter as ppc
net = ppc.from_mpc('case14.m', f_hz=60)
error:
/Users/amirsaadat/.pyenv/versions/3.10.10/lib/python3.10/site-packages/pandapower/converter/pypower/from_ppc.py:209: RuntimeWarning: invalid value encountered in divide
max_i_ka = ppc['branch'][:, 5]/ppc['bus'][to_bus, BASE_KV]/np.sqrt(3)
/Users/amirsaadat/.pyenv/versions/3.10.10/lib/python3.10/site-packages/pandapower/converter/pypower/from_ppc.py:220: RuntimeWarning: divide by zero encountered in divide
c_nf_per_km=(ppc['branch'][is_line, BR_B]/Zni[is_line]/omega*1e9/2).real,
/Users/amirsaadat/.pyenv/versions/3.10.10/lib/python3.10/site-packages/pandapower/converter/pypower/from_ppc.py:220: RuntimeWarning: invalid value encountered in divide
c_nf_per_km=(ppc['branch'][is_line, BR_B]/Zni[is_line]/omega*1e9/2).real,
There are 3 branches which are considered as trafos - due to ratio unequal 0 or 1 - but connect same voltage levels.
In addition, cases greater than and equal to 14 produce the last warning message that I am not entirely sure if it is concerning.
Hi,
I don't get reliable results from
from_mpc
. For example, the following produces an errorerror:
In addition, cases greater than and equal to 14 produce the last warning message that I am not entirely sure if it is concerning.
I am using the latest version of the pandapower.