question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Patrick Zweekhorst commented

Barrier direction

Hi,

We found something strange where we are not sure if it is behaving as intended or if it is a small bug. We cut a barrier in 3 different pieces and change the directions where you are allowed to pass through the barrier (see picture). We expected the operator to take the green route, but it takes the red route. Is that correct?

Thanks,

Patrick

barrier3.fsm

FlexSim 19.0.2
astarbarrier
barrier.png (84.4 KiB)
barrier3.fsm (29.3 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

Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered Patrick Zweekhorst commented

You have to look at the grid to really tell what's going on (Click on the grid.png link to see the grid better). Notice that the grid points along the top of the barrier are all plus shapes. This means that a traveler can cross from that top row down into the barrier at any point. Once the traveler reaches the first row of grid points within the barrier he only travels left as you would expect. This is all working as expected.

If you stretch the top part of the barrier up some more then you'll see the traveler take the green path.


grid.png (380.6 KiB)
· 2
5 |100000

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

Phil BoBo avatar image Phil BoBo ♦♦ commented ·

Patrick,

To add to Matthew's explanation, it looks like what you are trying to do is actually this:

You need more horizontal conditions, like this:

Your confusion probably comes from the fact that a barrier that isn't split (and hasn't changed its pattern) changes the outer nodes so that you can't go onto that barrier from any direction.

A split or pattern barrier only affects the grid nodes that are within the barrier. It doesn't affect any nodes outside the barrier:

We kept the functionality of the un-split barrier affecting its outer nodes for backwards compatibility and ease of creation of simple barriers.

If you use the new split/pattern feature, you need to account for the fact that it behaves differently than the un-split barriers with regards to the nodes just outside of the barrier.

0 Likes 0 ·
try1.png (46.8 KiB)
try2.png (52.4 KiB)
outernodes.png (15.3 KiB)
Patrick Zweekhorst avatar image Patrick Zweekhorst Phil BoBo ♦♦ commented ·

Hi Phil,

Thanks for your extra explanation. This will help with what we wanted to model

0 Likes 0 ·