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

Ask Your Question
0

how to transfer data when writing user-defined model

asked Jun 11 '0

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!

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 (Jun 12 '0)

Ok, thank you very much!

Wendy gravatar imageWendy (Jun 12 '0)

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

jfconroy gravatar imagejfconroy (Jun 12 '0)

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

Wendy gravatar imageWendy (Jun 12 '0)

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 (Jul 24 '0)

1 answer

Sort by » oldest newest most voted
0

answered Aug 12 '0

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.

link

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

1 follower

Stats

Asked: Jun 11 '0

Seen: 577 times

Last updated: Aug 12 '20