Ask Your Question
0

user-defined a model to calculate rocof

asked 2021-07-14 08:36:24 -0500

greatly gravatar image

Hello everyone! I want to define a model to calculate the rate of frequency or rocof, but I don't know how to realize the frequency deviation at this moment minus the frequency deviation at the previous moment.When I define the model, psse can get the frequency deviation at this time through speed (I), but I don't know how to get the deviation at the last time.Similarly, I don't know how to introduce the concept of time into the model. Can someone help me solve the problem? Thanks a lot

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2021-07-15 13:42:51 -0500

perolofl gravatar image

Use a VAR to store the generator speed for the previous time step.

The simulation time at each time step is found in variabel TIME.

Also, remember that the model is called twice at the same time step when a pause is made in the simulation. Read Model Writing in POM.

edit flag offensive delete link more

Comments

Thanks a lot! I'll try it.

greatly gravatar imagegreatly ( 2021-07-16 06:20:04 -0500 )edit

Excuse me,I want to define a wind auxiliary model,but I don't know how to pass WPCMND and WQCMND to wind generator.I'v read POM,but it's not clear.It doesn't explain how to use it.I also don't understand the difference between wind machine index and machine index.

greatly gravatar imagegreatly ( 2021-07-21 21:43:00 -0500 )edit

I know that machine index can be acquired through SUBROUTINE(MC,ISLOT), but I don't know how to get wind machine index.

greatly gravatar imagegreatly ( 2021-07-21 21:45:14 -0500 )edit

Thanks a lot!@perolofl

greatly gravatar imagegreatly ( 2021-07-21 21:46:14 -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

1 follower

Stats

Asked: 2021-07-14 08:36:24 -0500

Seen: 347 times

Last updated: Jul 15 '21