Ask Your Question
0

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

asked 2020-06-12 09:37:14 -0500

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.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2020-06-16 08:48:07 -0500

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.

edit flag offensive delete link more

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 ( 2020-06-16 09:05:00 -0500 )edit

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 ( 2020-06-16 09:08:10 -0500 )edit

Ok, thanks a lot!

Wendy gravatar imageWendy ( 2020-06-16 09:11:31 -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: 2020-06-12 09:37:14 -0500

Seen: 721 times

Last updated: Jun 16 '20