Ask Your Question
0

how to transfer data when writing user-defined model

asked 2020-06-11 06:26:07 -0500

Wendy gravatar image

Hi, I'm trying to write several cooperative models. But I don't know how to trasfer data between these models, because these data are self-defined. How can I set output data? And how to get data from user-defined model A and use them in model B? Thanks a lot!

edit retag flag offensive close merge delete

Comments

The best way to exchange data between models is to use the built-in PSS/E arrays, such as CON, VAR and STATE.

jfconroy gravatar imagejfconroy ( 2020-06-12 01:36:35 -0500 )edit

Ok, thank you very much!

Wendy gravatar imageWendy ( 2020-06-12 01:51:59 -0500 )edit

You can also transfer data through the many other arrays, such as POWR, VARS, VOLT, VOEL, VUEL etc.

jfconroy gravatar imagejfconroy ( 2020-06-12 02:45:55 -0500 )edit

That's helpful. I found the defination of these in PAGV. Thanks a lot!

Wendy gravatar imageWendy ( 2020-06-12 02:57:06 -0500 )edit

If I want to use VAR(L) from model A in model B, how to do that? Load model A and B, and find the number of L(model A), and make the number of L as the input data of model B. Or there are other ways? Thanks.

Wendy gravatar imageWendy ( 2020-07-24 00:53:42 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2020-08-12 11:24:51 -0500

perolofl gravatar image

Local data can be transfered between models by using common blocks, i.e. model A and B can share and update the same variables.

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: 2020-06-11 06:26:07 -0500

Seen: 528 times

Last updated: Aug 12 '20