Page 1 of 1

need some help about delays

Posted: Wed Jan 14, 2015 2:05 pm
by japrap
hi guys
as you know in DELAY FIXED( {in} , {dtime} , {init} ) we can't start delay from a particular day but how can i use a function like this that has a start time for delay ?

i want that delay starts from time T . for instance {in} = 1 , {dtime} = 3 , {init} = 4 but delay starts from day 2 .
for example :
--------- day: 0 1 2 3 4 5 6 7 .....
arrival rate : 1 1 4 4 4 1 1 1 .....


with best regards

Re: need some help about delays

Posted: Wed Jan 14, 2015 2:58 pm
by Administrator
I don't really understand your question, it would really help if you posted what you have tried.

Can you just use an auxiliary that has IF THEN ELSE in it? For example,

A TEMP = DELAY FIXED (b,c,d)

A = IF THEN ELSE ( time > start time , A TEMP , 0 )

Re: need some help about delays

Posted: Wed Jan 14, 2015 7:46 pm
by japrap
Administrator wrote:I don't really understand your question, it would really help if you posted what you have tried.

Can you just use an auxiliary that has IF THEN ELSE in it? For example,

A TEMP = DELAY FIXED (b,c,d)

A = IF THEN ELSE ( time > start time , A TEMP , 0 )
first tnx for your response
second : the question is : suppose that the normal arrival rate to a Box variable is 3 person/hour . now i want that arrival rate becomes 4 person/hour in the second and third days and then it returns to its normal value ( =3 person/hour) .
in other word , i want that arrival rate be like the below image:
http://i58.tinypic.com/25znj2f.png

Re: need some help about delays

Posted: Wed Jan 14, 2015 8:25 pm
by Administrator
Can you use a lookup table?

Re: need some help about delays

Posted: Wed Jan 14, 2015 9:36 pm
by bppro
Maybe the STEP function is what you're looking for. Please take a look at my model.

Have a nice day,
BP

Re: need some help about delays

Posted: Thu Jan 15, 2015 6:02 am
by japrap
bppro wrote:Maybe the STEP function is what you're looking for. Please take a look at my model.

Have a nice day,
BP

that's what i need . very very tnx my friend . :P

Re: need some help about delays

Posted: Thu Jan 15, 2015 6:06 am
by japrap
Administrator wrote:Can you use a lookup table?
my friend , I thank you very much too .


i find another solution : 3 + pulse ( 2 , 2 )