question

Alexis B avatar image
0 Likes"
Alexis B asked Alexis B commented

Crossing NetworkNode with label

Hello everyone.

Today, I need your help in order to make a decision with label in NetworkNode. I think there is an easy way to do that but I don't find it.

I want FlowItem by Source1 go Top path.

FlowItem by Source2 go middle path and FlowItem by Source3 go Bottom path.

Thank you


ex5.fsm

FlexSim 18.1.1
network nodeslabel assignmentcrossing
6.png (51.2 KiB)
ex5.fsm (30.2 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

·
Joshua S avatar image
1 Like"
Joshua S answered Alexis B commented

Here's your model with some changes I made to it. I created 3 different networks. and then stacked them on top of each other, then added an "Unload" trigger to the person which changes the route based on the item type. I also added a trigger to each of the the sources so they would add a Type label to the flow items. each of the paths are connected to the person through a center port connection. The picture below shows the paths before they were stacked. Hope this works.12598-ex5.fsm


pic1.png (57.4 KiB)
12598-ex5.fsm (31.9 KiB)
· 11
5 |100000

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

Alexis B avatar image Alexis B commented ·
@Joshua S


Hello, thank for answer.

I really need a crossing but maybe will be easier to use AGV path instead of NetworkNode with Control Point which make decision ?

0 Likes 0 ·
Joshua S avatar image Joshua S ♦ Alexis B commented ·

@Alexis B Can you explain what you mean by crossing? The picture I added might have been a little confusing, the outline of the path in the model I added should look like your photo, I just added my photo to show it's 3 separate paths that look like its one path before I stacked them on top of each other.

0 Likes 0 ·
Alexis B avatar image Alexis B Joshua S ♦ commented ·

@Joshua S

I can't move my NetworkNode. But I need a system which Select item with a Label in my token in ProcessFlow. Maybe with a "CustomCode" or "Decide". I don't find a method

0 Likes 0 ·
7.png (180.7 KiB)
Show more comments
Alexis B avatar image Alexis B commented ·
@Joshua S

It's working but, I'm really not familiar with Script (1st time I see it). Is it possible to make the same only in ProcessFlow ?

Thanks


0 Likes 0 ·
Joshua S avatar image Joshua S ♦ Alexis B commented ·
@Alexis B

Which script are you refering to?

0 Likes 0 ·
Alexis B avatar image Alexis B Joshua S ♦ commented ·

@Joshua S

This one

0 Likes 0 ·
8.png (147.4 KiB)
Show more comments
Alexis B avatar image Alexis B commented ·

@Joshua S

Ok so, how it's work ? what did you change on my original model for have this result of select ?
I want make the same think in my main model now

Thanks

0 Likes 0 ·
Joshua S avatar image Joshua S ♦ Alexis B commented ·

@Alexis B

Here are the steps to build it from scratch in your main model.

Create as many separate paths as you want.

Centerport connect your person to the beginning queue first, then center port connect your person to the paths in order order of source Type. don't worry if the lines don't show up, you should see red boxes appear next to the person and they should show up on his center port connections list.

Connect the queues to the ends of the networks.

Make sure your sources are creating some type of label on the objects you are creating, in this case use Type, and correspond their Type number creation to the path you want them to travel down.

add a "On Load" trigger to your person, and use "Reassign Current Node", entering in

current.centerObjects[current.subnodes[1].Type+1]

to the Space next to "NetworkNode".

Then place the networks ontop of eachother.

This should help you apply it to your main model.

0 Likes 0 ·
pic1.png (20.0 KiB)
Alexis B avatar image Alexis B Joshua S ♦ commented ·
@Joshua S

Ok, I understand Thanks

1 Like 1 ·

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.