question

Omar Aguilera Rico avatar image
0 Likes"
Omar Aguilera Rico asked Omar Aguilera Rico commented

Shadow bigger when loading resource items in A *

Hello boys!

I have a question for all of you.

Annex a model and an image of the model.

By adding members to A * they avoid collisions, but only among operators. I am interested to know how to add to the A * also the skates for when they collide, do not appreciate how the skates pass over the operators like ghosts and among themselves. I am deactivating the “Ignore Inactive Members” because I require it for the model I am doing, but when having the skates created as resources, the operator when trying to load the skate that is a resource that belongs to the A * pauses the model and can no longer continue Is there any solution at the moment for this issue? It is necessary that when the operator is not using the skate, he only has his shadow and when he has the skate his shadow is consistent with the operator and the skate. Is there any solution at the moment for this issue? I tried with People Module but the same thing happens, the Staff when trying to take the Transport stops the model. If at the moment there is no solution to this, you can explain why A * acts only for the operator and not for the object it is loading. Seeing the reality, we know that when you load an object, you take up more space so it is necessary to determine if you can travel on certain roads.

e-4.fsm

FlexSim 19.1.1
astar navigatorcollision
e-4.png (136.9 KiB)
e-4.fsm (163.6 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.

1 Answer

·
Phil BoBo avatar image
2 Likes"
Phil BoBo answered Omar Aguilera Rico commented

The size of the object is irrelevant to A* collision avoidance. The only thing that matters is the grid node size. Anything that takes up space on the A* network takes up 1 grid node at a time.

The blue "shadow" isn't a "detection circle." It is just a circle that indicates that the task executer is connected to A* as a member.

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

Omar Aguilera Rico avatar image Omar Aguilera Rico commented ·

Hi @phil.boboand @Jörg Vogel. The problem that when making the grid bigger so that it visually represents that the skates do not collide, when evading a collision if a node is inside a barrier, the traveler travels the node inside the barrier and the barrier catches the traveler. I made the following model to represent a little what I am looking for, but it does not work as I hope. I send another model where I have travelers that I send to a sink, but what I don't understand if it has more nodes available, it only sends them by a single route. Because having nodes available around the sink, you don't receive travelers through those other nodes?

move-object-astart-2.fsm

astart.fsm

0 Likes 0 ·
astart.fsm (50.0 KiB)
astart.png (189.0 KiB)
Phil BoBo avatar image Phil BoBo ♦♦ Omar Aguilera Rico commented ·

A traveler doesn't try to route around an idle operator. Each of those travelers calculates the shortest path to its destination and then follows that path.

The guys waiting at the back for the guys in the front to get out of their way doesn't change the fact of which path they want to take to the sink.

This doesn't have anything to do with the grid size.

0 Likes 0 ·
Omar Aguilera Rico avatar image Omar Aguilera Rico Phil BoBo ♦♦ commented ·

Hi @phil.bobo!

You told me what when the task of traveling is given, calculate the route to the object. You told me that it was better than the division to calculate the new trip to the object. I am making the logic of the model in which when entering the token to the travel activity I create a token, which evaluates me if it does not yet have a label, if it does not have the label I remove the token from the travel activity, I keep it for a very small time, and after the command back to the travel activity. This so that from time to time it is reassessing where the operator can go. The problem I have is that the location tag is an Array that is generated by default. When wanting to select the token, the owner to evaluate if he has the tag by selecting the last one of the objectexists(token.Ubicacion[token.Ubicacion.length].labels["NoEntra"]). The corresponding one. How can I solve this? Is there an alternative similar to what I am trying to do?

0 Likes 0 ·
astart-8.fsm (54.6 KiB)
Show more comments

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.