Ask Your Question
0

How to handle "takes no keyword arguments" Error

asked 2018-03-02 18:22:16 -0500

Ali gravatar image

updated 2018-04-20 17:18:35 -0500

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.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-04-20 17:17:12 -0500

Ali gravatar image

Could anyone else chime in please?

I am getting the same error for branch_chng_3 and branch_data_3.

Thank you very much in advance,

edit flag offensive delete link more
0

answered 2018-03-03 02:54:41 -0500

perolofl gravatar image

Use load_data_4 instead.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2018-03-02 18:22:16 -0500

Seen: 430 times

Last updated: Apr 20