Ask Your Question
0

adding renewable to a load bus

asked 2023-03-27 18:13:16 -0600

erika gravatar image

Dear all, I want to add a renewable plant to a bus. The bus is a load bus. I am trying using these api: psspy.machinedata2(5,'1', [i,i,i,i,i,1], [0,0,25,-25,50,-50,75,f, 99999.0,f,f,f,f,f,f,f,f]) psspy.dyreadd([i,i,i,_i],r"""renewable.dyr""","",""). renewable.dyr is the dynamic file of the renewable plant. but using these api is not working. it is giving an error that no plant data at this bus. I assume there might be another way to add renewable to a load bus. Can anyone tell me please what is the right way?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2023-03-27 20:13:27 -0600

boat14 gravatar image

updated 2023-03-28 07:17:53 -0600

You also need to add a plant for that machine, as indicated by the error message you're getting.

Search the API documentation for

plant_data_N()

where "N" is applicable to the version of PSS/e you're using. For example

plant_data_4()
edit flag offensive delete link more

Comments

Thank you.

erika gravatar imageerika ( 2023-03-28 11:15:36 -0600 )edit

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

Stats

Asked: 2023-03-27 18:13:16 -0600

Seen: 174 times

Last updated: Mar 28 '23