question

Yt6155mail avatar image
0 Likes"
Yt6155mail asked Logan Gold commented

event time is in past


"createvent: event time is in past: event time changed to present. Object: Source1 advancetime: -11.368785, time: 14109.910037 "

1650587485991.png


I'm getting an error like this.

There seems to be no way to resolve this error in the "Inter-Arrival time" setting.

How can I set it to avoid this error?

event_time_is_in_past_1.fsm



The same question was confirmed, but I couldn't find a specific solution.


https://answers.flexsim.com/questions/27196/system-error-createvent-event-time-is-in-past-even.html

https://answers.flexsim.com/questions/115443/understanding-error-event-time-changed-to-present.html

https://answers.flexsim.com/questions/77339/system-console-createvent-error.html




FlexSim 21.0.10
interarrival timesevent
· 1
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented
  1. Math.max(0.01, normal(90,36.6,getstream(current))

a normal distribution can return negative values. Then tey are in the past.

You can prevent it with a mathematical function returning a value near zero if the result gets negative.

· 3
5 |100000

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