Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"takes no argument error"

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.

"takes no argument error"

Hello,

I am using loaddata5 to add a new load as follows: 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.

"takes no argument error"

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.

"takes no argument error"

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.

"takes no argument 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.