Determine number of available resources

Determine number of available resources

john_flory
Not applicable
10 Views
1 Reply
Message 1 of 2

Determine number of available resources

john_flory
Not applicable

[ FlexSim 18.1.2 ]

If I want a "decide" block to route a token based on the number of a resource available, what is the command to get the number of a current resource available?

0 Likes
Accepted solutions (1)
11 Views
1 Reply
Reply (1)
Message 2 of 2

JordanLJohnson
Autodesk
Autodesk
Accepted solution

Use the getstat() command:

getstat(resource, "ResourceAvailable", STAT_CURRENT, current)

Here is an example model, that uses a decide:

getresourceavailable.fsm

.


Jordan Johnson
Principal Software Engineer
>