How to handle "takes no keyword arguments" Error
Hello,
I am using load_data_5
to add a new load as follows:
ierr = psspy.load_data_5(bus, id, realar1=10)
This will throw the following error:
*** TypeError: load_data_5() takes no keyword arguments
How do I specify only the load power and leave the rest input to its default value?
Thank you for your help.
Use the interpreter help(), it's more detailed and sometimes the API.pdf has inaccuracies help(psspy.load_data_4) Help on function load_data_4 in module psspy: load_data_4(i=None, id=None, intgar=None, realar=None, **kwds)