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
you can check the pp.creat_load() function in the user datasheet of pandapower. It seems the keyword of giving load power has changed from 'p_kw' to somethingelse. You can change the p_kw to p_mw, and q_kvar to q_mvar. Please check the function below.
when I process,I really don't know why
"TypeError: create_load() got an unexpected keyword argument 'p_kw'".
D:\anaconda3\envs\pandapower\python.exe D:/pycharm/pandapower/ieee/build_ieee_cases.py
Traceback (most recent call last):
File "D:/pycharm/pandapower/ieee/build_ieee_cases.py", line 53, in
net1=build_case33(df33)
File "D:/pycharm/pandapower/ieee/build_ieee_cases.py", line 29, in build_case33
pp.create_load(net,bus=int(row['to']),p_kw=float(row['P']),q_kvar=float(row['Q']))
TypeError: create_load() got an unexpected keyword argument 'p_kw'
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: