First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hello,
I am using loaddata5 to add a new load as follows:
ierr = psspy.loaddata5(bus, id, realar1=10)
This will throw the following error:
*** TypeError: load_data_5() takes no keyword arguments
However the following works fine:
ierr = psspy.loaddata5(bus, id, [i]*7, [10]+[f]*7)
Is this behaviour specific to some functions? Because I have used the first form for many functions and it works fine.
Thank you for your help.
2 | No.2 Revision |
Hello,
I am using loaddata5 to add a new load as follows:
follows:
ierr = psspy.loaddata5(bus, id, realar1=10)
*** TypeError: load_data_5() takes no keyword arguments
However the following works fine:
ierr = psspy.loaddata5(bus, id, [i]*7, [10]+[f]*7)
Is this behaviour specific to some functions? Because I have used the first form for many functions and it works fine.
Thank you for your help.
3 | No.3 Revision |
Hello,
I am using loaddata5 to add a new load as follows:
ierr = psspy.loaddata5(bus, id, realar1=10)
This will throw the following error:
*** TypeError: load_data_5() takes no keyword arguments
However How do I specify only the following works fine:
ierr = psspy.loaddata5(bus, id, [i]*7, [10]+[f]*7)
Is this behaviour specific load power and leave the rest input to some functions? Because I have used the first form for many functions and it works fine.its default value?
Thank you for your help.
4 | No.4 Revision |
Hello,
I am using loaddata5 load_data_5
to add a new load as follows:
ierr = psspy.loaddata5(bus, 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.
5 | No.5 Revision |
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.