question

oleg avatar image
0 Likes"
oleg asked oleg commented

How to configure task executors

I have a queue in which elements are received, and there are also 5 task executors, 3 for 30 elements and 2 for 50. How to make the task executors for 30 elements fill up first and deliver them to another queue (maximum 2 task executors in one direction), and only when there are no task executors for 30 elements did task executors for 50 elements start working

FlexSim 23.0.15
taskexecutorstaskexecuters assigning taskstasks
· 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.

Felix Möhlmann avatar image Felix Möhlmann commented ·
It's unclear to me what exactly you mean by "maximum 2 TEs in one direction". Are there multiple destinations and no more than two TEs should drive to the same destination?

Can the TEs load items bound for different destinations or only load items with the same destination?

What I would suggest is that you define a clear logical flow of checks and decisions that decides which TE is assigned to a given item. (Something like: Is there a TE already loading items with the same destination? Yes: ... / No... and so on)

With a clearly defined logic it's easier to help.

Once you have that you can start to think about how to get the necessary information and lastly implement the logic in code or via a Process Flow.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Felix Möhlmann commented ·

queue-vehicles-restrict-to-load.jpg

  • limit vehicles at network node
  • load more items by same unload station
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @oleg,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

If your model contains sensitive information, you could first toggle your post as private using the "make private" option under your question's "gear" menu. Private questions are visible only to site moderators. You can also contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @oleg,

It looks like this question may be part of a homework assignment or academic project. The professors who assign simulation modeling exercises using FlexSim expect that the academic integrity of their assignments will be maintained. In addition, we are supportive of Honor Codes or Pledges that regulate the behavior surrounding academic assignments.

I recommend reading our best practices page on the subject, which includes some resources that you should find helpful as you use FlexSim for academic purposes. I also highly recommend Dr. Allen Greenwood's FlexSim Primer, which was written specifically for students and professors.

0 Likes 0 ·
oleg avatar image oleg Jeanette F ♦♦ commented ·

Thanks

0 Likes 0 ·

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered oleg commented

It is a network node path system.
Traffic Control Objects limit number of travelers. Additional labels at travelers can restrict it further.

Travelers can have different maximum capacities. On Break function you can advise which items are loaded by destination or load station first.
Order of available tasksequences can be set by priority.
If you don’t get it work by above mentioned methods, you can push all transport tasksequences to a list and pull necessary tasksequences by attributes of involved parameters.

Item reference is stored in tasks[2] or tasks[5] involved1 property of class Tasksequences.

You find loadstation in involved1 for tasks[1] or involved2 in tasks[2].

Destination is in involved1 tasks[4] or involved2 tasks[5].

Good fortune!


· 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.

oleg avatar image oleg commented ·

Thanks

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.