question

TalHzf avatar image
0 Likes"
TalHzf asked TalHzf commented

Processor Time with Tolerance Time

Hi All,

I want to ask if I can with Flexsim define the Time on a processor with a tolerance (for example +5% or -5% for the already given time.

Thank you all.

FlexSim 22.2.0
timetolerance timetolerance
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered TalHzf commented
double ptime=50;
return uniform(0.95*ptime,1.05*ptime);

If you can't assume uniform, you'll need some other distribution for which you'll need to figure out the parameters.

· 5
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

TalHzf avatar image TalHzf commented ·

Thank you @Jason Lightfoot ,

But I don't know where to enter your instructions.

Thanks

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ TalHzf commented ·

In the process time trigger of the processor.

Don't enter it exactly as it is - you need to assign ptime the value you need - which could be item based.

0 Likes 0 ·
TalHzf avatar image TalHzf Jason Lightfoot ♦ commented ·
In the trigger i find On setup Finish, Process finish, on Entry??

Which one should I choose

Thank you

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.