question

Kyle P avatar image
1 Like"
Kyle P asked Kyle P answered

Crane TimeTable dropping assigned tasks

sy-stripped-crane-tslist.fsm

sy-stripped-crane-tt.fsm

I am having issues incorporating a shift schedule (time table) for a crane in my model. When the crane goes down, it seems like it loses some of it's assigned task sequences or re-orders them in some way. I have sequenced the order I need the crane to work with the arrival table in the source.

The model runs smoothly without the time table. Alternatively (and preferably), I have tried to push all task sequences to a task sequence list and prioritize/sequence them off of that, but I cannot get the travel>load>travel>unload logic to work as intended.

Any help with this would be greatly appreciated.

I have attached a stripped version of the current model I am working. If it would be easier to tackle the task sequence list then let me know, and I can post that version as well.

FlexSim 18.0.8
FlexSim 18.2.0
task sequencecranetime table
· 4
5 |100000

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

Kyle P avatar image Kyle P commented ·

I added the version where I was attempting to push the crane task sequences to a list. Maybe that would be easier to debug since it actually generates an error message.

0 Likes 0 ·
Kyle P avatar image Kyle P commented ·

Has anyone had a chance to look at this? I am open to any comments/suggestions whether partial or complete.

0 Likes 0 ·
tannerp avatar image tannerp commented ·

@Kyle P, We apologize for neglecting to answer this question in a timely manner.

I've looked at your model, but I'm not entirely sure based on your question what specific task sequence I should be looking at nor at what time the task sequences fail. If you could provide more details that explain what is sending the task sequence to a list, what the proper order should be, etc., these things might help us debug your model.

For starters, I would look into the queries you're using to pull from the Task Sequence list. As shown in the below image, if you are pulling by WorkSequence, but there are multiple entries on your list that share a WorkSequence, this might be causing the tasks to be performed out of order. If possible, perhaps you can change the TskSqc label to be numeric and sort with those, as there are no repeats in that column from what I can see.

Hope this helps. Again, our apologies for not seeing to this question sooner. Good luck and let us know how we can help further.

0 Likes 0 ·
tannerp avatar image tannerp commented ·

I actually just found where you're creating the task sequence through custom code. It looks acceptable at first glance, but it might take more digging to uncover the reason behind the errors...

0 Likes 0 ·

1 Answer

Kyle P avatar image
1 Like"
Kyle P answered

@Tanner Poulton , Thank you for looking into this, and I apologize for the hacked together model. I never could figure out the time-table solution, but I ended up fixing the task sequence one. The main culprit was that the crane task sequences would not accept a travel task:

When I removed the travel tasks, the crane works as expected. I have not completely fixed everything, but I plan on using the TSlist to check a dummy location for whether it is on or offshift to simulate a work schedule by proxy. The model is now in a state that I can work with.


6sy53.png (43.8 KiB)
5 |100000

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