First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

adding renewable to a load bus

asked Mar 28 '3

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?

1 answer

Sort by » oldest newest most voted
0

answered Mar 28 '3

boat14 gravatar image

updated Mar 28 '3

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()
link

Comments

Thank you.

erika gravatar imageerika (Mar 28 '3)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Mar 28 '3

Seen: 177 times

Last updated: Mar 28 '23