question

Kari Payton avatar image
1 Like"
Kari Payton asked Manuel Sinco commented

System Error createvent: event time is in past: event time changed to present.

Any idea what this means? I am getting this error multiple times:

createvent: event time is in past: event time changed to present. Object: Web Molding A_4 advancetime: -0.200925, time: 0.000167 task1

Choose One
error message
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

·
Adrian Haws avatar image
4 Likes"
Adrian Haws answered Manuel Sinco commented

That means that somehow an event in your model is being created in negative time. This could be delay time, senddelayedmessage(), etc. You will need to look at the Event List at that time to see exactly which event is being created.

· 6
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

you can prevent such errors by the command line max(0, 'any value you compute')

3 Likes 3 ·
Kari Payton avatar image Kari Payton commented ·

I know this is old, but wanted to update what I found. My delay is a statistical distribution. When I look at the values it creates some of them are negative. Is it the distribution I am using or something else? @Adrian Haws @Jörg Vogel

0 Likes 0 ·
Ralf Gruber avatar image Ralf Gruber ♦ Kari Payton commented ·

Kari,

yes the negative values are contributed to the distribution you choose as well as its parameters. You can look at the profile of the distribution, since FlexSim's standard "Statistical Distribution" pick list option shows you the graph based on 1000 samples.

You can use Joerg's suggestion to cut off the negative portion of the distribution, but you need to be aware, that in this case you are actually not using the original distribution anymore.

Good Luck

Ralf

3 Likes 3 ·
Manuel Sinco avatar image Manuel Sinco commented ·

I'm getting the same error but the Object is a Time Table, so I don't understand why this error happens.

It happens at the moment that it needs to change to Schedule Down.

Thanks!

0 Likes 0 ·
tannerp avatar image tannerp Manuel Sinco commented ·

Hi @Manuel Sinco,

If this is a question that you need help with, I suggest creating a new question and then referencing this question. That way, you can upload details about your simulation and attach a working model. This comment may not be seen by many FlexSim users. If you have questions about this, please review the Answers Best Practices. Thanks!

0 Likes 0 ·
Manuel Sinco avatar image Manuel Sinco tannerp commented ·

Okay @tanner.p Thanks, I'll upload the question.

0 Likes 0 ·

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.