question

立洲 avatar image
0 Likes"
立洲 asked Jason Lightfoot edited

An error message occurred while the model was executing one day

我想知道是什麼原因導致出現此錯誤信息,使模型在執行一天后無法運行

"I would like to know what is causing this error message, making the model not run after a day of execution"

1653642474808.png



0527 醫院_4.fsm

FlexSim 20.0.10
healthcarehospitalmodeltree
1653642474808.png (134.8 KiB)
0527-醫院-4.fsm (1.5 MiB)
· 11
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

It would be great if you could fix your exeptions before asking us to fix that - maybe they are related. Start with the earliest missing labels:

time: 3.230000 exception: Label property Patient retrieved on token  id:110. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班~10.
time: 4.230000 exception: Label property Patient retrieved on token  id:109. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班.
time: 10.730000 exception: Label property Patient retrieved on token  id:112. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班~13.
time: 14.230000 exception: Label property Patient retrieved on token  id:111. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班~8.
time: 60.000000 exception: Label property Patient retrieved on token  id:592. Label does not exist. At /Tools/ProcessFlow/輕症_每日流程/Acquire 清潔車.
time: 64.897300 exception: Label property Patient retrieved on token  id:597. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班~9.
time: 64.897300 exception: Label property Patient retrieved on token  id:601. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班~7.
time: 64.897300 exception: Label property Patient retrieved on token  id:605. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班~12.


0 Likes 0 ·
立洲 avatar image 立洲 Jason Lightfoot ♦♦ commented ·

I am confused about exception handling and can't think of a better way to solve this problem, I need you to help me solve it, thank you very much.


Also I would like to know how you got these error messages listed?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ 立洲 commented ·
I ran your model. Do you know see the same thing in the system console when scrolling to the top?
0 Likes 0 ·
Show more comments
立洲 avatar image 立洲 commented ·

@Jason Lightfoot我做了一些調整,現在模型可以運行 302400 秒,但還是出現同樣的錯誤信息,你能幫我解決這個問題嗎?

1-0602 醫院_4.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ 立洲 commented ·

You still get these exceptions very early on referring to missing labels:

time: 3.230000 exception: Label property Patient retrieved on token  id:114. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班~8.
time: 4.230000 exception: Label property Patient retrieved on token  id:113. Label does not exist. At /Tools/ProcessFlow/重症_每日流程/交班~14.

Do you not know why this is?

0 Likes 0 ·
立洲 avatar image 立洲 Jason Lightfoot ♦♦ commented ·

@Jason Lightfoot 開頭的缺失標籤值是List使用Use max time生成的異常值

0 Likes 0 ·
Show more comments

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

The problem is at the 85th event at time 302400.

1654279357912.png

The active task sequence is this:

1654279472898.png

which relates to the completion of this walk activity:

1654279822535.png


...and it looks like putting a breath/ zero time delay before the Stop solves the problem.


1654279357912.png (5.2 KiB)
1654279472898.png (8.6 KiB)
1654279822535.png (19.4 KiB)
· 9
5 |100000

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

立洲 avatar image 立洲 commented ·

@Jason Lightfoot

1654280158408.png

我的事件列表查看器與您的不同,事件類型中的 AStar 行在哪裡?

0 Likes 0 ·
1654280158408.png (115.5 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ 立洲 commented ·

Yes - you're seeing the first events at that time - while I showed the 85th event step at that time.

0 Likes 0 ·
立洲 avatar image 立洲 Jason Lightfoot ♦♦ commented ·

我加了 10 秒,問題似乎解決了

1654280928321.png

感謝幫忙找問題,這個問題困擾了我很久,耽誤了學術研究的問題

0 Likes 0 ·
1654280928321.png (116.0 KiB)
Show more comments