Ask Your Question
0

how to use WIPCMD(MC) and WIQCMD(MC)

asked Aug 19 '1

Wendy gravatar image

I am writing user defined model and have some problems.

I don't know how to get wind machine index. And I calculate WIPCMD(MC) and WIQCMD(MC) in my UDM model, but I don't know how to pass the information between Generator and Electrical Control Model.

Thanks!

1 answer

Sort by » oldest newest most voted
0

answered Jun 29 '2

The below subroutine I has the index of the machine for the respective bus entered in dyr file SUBROUTINE modelname (I, ISLOT)

I - machine array index for the machine at which the model is being called.

ISLOT - array allocation table index for this model call.

To pass the information to electrical control model the below command is to be used under MODE 3

**MC = WNDNUM(I)

WPCMND(MC) = Pref

WQCMND(MC) = Qref**

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: Aug 19 '1

Seen: 512 times

Last updated: Jun 29 '22