Ask Your Question
0

How to model time delay block in UDM

asked 2025-09-03 08:36:13 -0500

Shahabas gravatar image

Hi all,

I am developing a UDM and need to model a time delay (e^-sT ) block. How can I do that? Is there any way to do it without using multiple VARS as memory elements to store the previous values? If not, How can I decide the number of VARS required if my time step is not fixed?

Thanks in advance Shahabas

edit retag flag offensive close merge delete

Comments

If you have support, ask Siemens-PTI.

perolofl gravatar imageperolofl ( 2025-09-09 08:12:55 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2025-09-09 19:52:59 -0500

WN gravatar image

updated 2025-09-09 20:13:16 -0500

You cannot change the integration time step during a simulation run, so the time step is fixed for the run. It is also available in the model as DELT (delta T). With the time step known you can calculate the number of VARs required, which you should do during initialisation. You may run into a problem though, if you want to model large delays, for example, using a delta T of 1 millisec, and modelling a time delay of 1 second would require a 1000 VARs. There are alternative methods, which are approximations. The most well-known is the PADE approximation. Just search for it on the internet, one helpful resource is: https://ris.utwente.nl/ws/portalfiles...remarkson_Pade-approximations.pdf A less well-known approximation follows from:

in the limit when n approaches infinity 1/[(T/n)s + 1]*n = e * -sT. You could use this with say 10 or 20 lag blocks to represent a delay reasonably well. If you have Simulink you could quickly try it out to check if the approximation is good enough for you.

edit flag offensive delete link more

Comments

With * I mean exponentiation.(I actually used 2 asterisks, but one of them was removed when I posted it).

WN gravatar imageWN ( 2025-09-09 20:18:10 -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: 2025-09-03 08:36:13 -0500

Seen: 123 times

Last updated: Sep 09