Ask Your Question
0

add_wind_model API

asked 2023-04-12 16:25:40 -0500

erika gravatar image

updated 2023-04-12 21:11:22 -0500

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2023-04-13 02:47:42 -0500

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.

edit flag offensive delete link more

Comments

Thank you!

erika gravatar imageerika ( 2023-04-13 09:17:33 -0500 )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-04-12 16:25:40 -0500

Seen: 141 times

Last updated: Apr 13 '23