Why does operator stop at network node?

Why does operator stop at network node?

patrick_zweekhorst
Advocate Advocate
25 Views
3 Replies
Message 1 of 4

Why does operator stop at network node?

patrick_zweekhorst
Advocate
Advocate

[ FlexSim 19.0.8 ]

Hi,

Attached is a simpel model that shows a problem I have,
There is an operator that is attached to a network node. At time 1 I create a connection between NN2 and NN3. At time 5 the operator gets a task to travel to NN3. This is however not happening, it stops at NN2. Why is this happening and can I fix this?
The operator is able to find a path to NN3, but it looks like the edge is not open or something.
The command optimizenetwork is called after connecting the network nodes.

Thanks in advance,

Patrick

testnn.fsm

0 Likes
Accepted solutions (1)
26 Views
3 Replies
Replies (3)
Message 2 of 4

braydn_t
Not applicable
Accepted solution

@Patrick Zweekhorst

Someone may have better input than me, but my understanding of contextdragconnection() is that it is used when you want to create a model programatically- in other words, it is the same as using the hotkeys and your mouse. That is why the connection remains after you reset the model, and if you run it again the operator can find NN3.

Since the operator can't find NN3 the first time, I would guess that Flexsim figures out all the possible destinations on a Travel Network before model run begins. Since the connection is created after model start, it does not have that node as a possible destination.

I think if you are trying to limit place that an operator could go, I would use TrafficControl objects.

I hops this helps!

0 Likes
Message 3 of 4

patrick_zweekhorst
Advocate
Advocate

Hi @Braydn T,

You are correct that contextdragconnection is the same as connecting with your the mouse. But that is not the problem. In the actual model there are multiple places where the network node could be placed. So I do want to use network nodes if possible. Is there a function that needs to be called to update the connection matrix.

Thanks

0 Likes
Message 4 of 4

braydn_t
Not applicable

@Patrick Zweekhorst

I confirmed with the Developers that Network Nodes were not designed to be updated during model run, so there is no command. The connection matrix is updated on reset. If you want to have network nodes in multiple locations, you should put network nodes in all those locations and user another method to control the paths, like TrafficControl objects or Process Flow.