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

Ask Your Question
0

How to add time-delay when writing user-defined model

asked Jun 12 '0

Wendy gravatar image

Hi, I am wrting user-defined model. And I want to make one variable delayed by some time over another variable. For example, DELT is 0.00005 and the delay time is 0.01. How to write time-delay? Thanks a lot.

1 answer

Sort by » oldest newest most voted
0

answered Jun 16 '0

perolofl gravatar image

A transport delay may be modelled by assigning a sufficient number of VARs to accomodate the delayed signal. The number for VARs needed will be at least dt/delt, where dt is the maximum allowed delay time and delt is the minimum used time step.

In your situation you need at least 200 VARs for the delayed signal. At each time step, the values in the VAR vector shall be advanced one step (if KPAUSE<>1).

I just wonder what is the reason for this extremely short time step of 0.05 ms????? PSSE is not designed for such short time steps.

link

Comments

Thank you for your response to the delayed question. I did't realise that the time step for PSSE is milliseconds. And I will change DELT to 1ms.

Wendy gravatar imageWendy (Jun 16 '0)

No, the time step in PSSE is in seconds.You wrote DELT = 0.00005. That is equal to 0.05 ms. DELT = 0.001 is 1 ms.

perolofl gravatar imageperolofl (Jun 16 '0)

Ok, thanks a lot!

Wendy gravatar imageWendy (Jun 16 '0)

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 12 '0

Seen: 760 times

Last updated: Jun 16 '20