How to count the number of cars in same NodeNetwork ?

How to count the number of cars in same NodeNetwork ?

Lion1989x
Not applicable
90 Views
8 Replies
Message 1 of 9

How to count the number of cars in same NodeNetwork ?

Lion1989x
Not applicable

[ FlexSim 18.0.10 ]


How do you count the number of cars that collide on a spot? And how to solve the problem of not allowing cars to run over the spot?

1700558738519.png

This is my file.

Lion1.fsm

0 Likes
Accepted solutions (1)
91 Views
8 Replies
Replies (8)
Message 2 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Use zones, lists or resources to restrict access. In the case of zones you can easily find the current content.

0 Likes
Message 3 of 9

Lion1989x
Not applicable

Can your show example a little to me please ? I ' m never to used. "Use zones, lists or resources to restrict access"

0 Likes
Message 4 of 9

jason_lightfootVL7B4
Autodesk
Autodesk

They're in the documentation and tutorials: Zone, Lists, Resources

0 Likes
Message 5 of 9

Lion1989x
Not applicable

Please Example a litte to me T T .

1700576698511.png

002.fsm

0 Likes
Message 6 of 9

jason_lightfootVL7B4
Autodesk
Autodesk

A token will wait at an EnterZone activity if the zone is configured to restrict the number of tokens and it has reached capacity. The waiting token will continue once another token has reached a corresponding Exit Zone activity and freed up some capacity. Often its a good idea to practice configuring this in a small test model to check you understand its operation before applying it to your model.

0 Likes
Message 7 of 9

Lion1989x
Not applicable

It's close to being right here. Where do I need to set more? 1 point allows only 1 car to enter.

1700614418120.png
3.fsm

0 Likes
Message 8 of 9

Lion1989x
Not applicable


I got it by Resource. when i want to know statistics must to using zone ?

1700632189358.png

NetworkNode - Fix Resource

4.fsm

0 Likes
Message 9 of 9

jason_lightfootVL7B4
Autodesk
Autodesk

You can access the number of tokens that have acquired resources using the activity's statistics:

getstat(getactivity("ProcessFlow", "Resource"), "Content", STAT_CURRENT, current)


0 Likes