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

Ask Your Question
0

add_wind_model API

asked Apr 12 '3

erika gravatar image

updated Apr 13 '3

jconto gravatar image

Hello all, I was trying to add a wind generator to a system through these lines:

psspy.machine_data_2(1,"2", [1,1,0,0,0,1], [10,-5,9999,-9999,9999,-9999,900,0.0025,0.25,0,0,1,1,1,1,1,1])
psspy.add_wind_model(1,r"""2""",1,r"""REGCA1""",1,[1],[""],14,[ 0.017, 10.0, 0.1, 0.05, 1.22, 1.2, 0.2, 0.05,-1.3, 0.02, 0.05, 1.22,0.0, 0.7])
psspy.add_wind_model(1,r"""2""",2,r"""REECCU1""",5,[0,0,1,0,1],["","","","",""],45,[-99.0, 99.0, 0.01,-0.05, 0.05, 15.0, 0.75,-0.75, 1.0, 0.05, 0.75,-0.75, 1.1, 0.9,0.0, 1.0,0.0, 1.0, 0.017, 99.0,-99.0, 1.0,-0.667,
 1.11, 0.017,0.0, 0.75, 0.2, 0.75, 0.5, 0.75, 1.0, 0.75, 0.2, 1.11, 0.5, 1.11, 0.75, 1.11, 1.0, 1.11, 999.0, 0.9, 0.8, 0.2])

But I am getting error. Messages for api ADDWINDMODEL Unknown model name: REECCU1 (000293) Does anyone know why this might happen?

1 answer

Sort by » oldest newest most voted
0

answered Apr 13 '3

perolofl gravatar image

It is only possible to add a user defined model with API add_wind_model if the model type is already read into PSSE through a dyre-file.

A user model not previously read from a dynamic raw data file is unknown to PSSE. Therefore, it is not possible to add the model with add_wind_model.

Add the model with a DYRE_ADD (.dya) file instead.

link

Comments

Thank you!

erika gravatar imageerika (Apr 13 '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: Apr 12 '3

Seen: 157 times

Last updated: Apr 13 '23