Jump to content

Process to select Server


Recommended Posts

Hi,


I have model with multiple vehicles and servers in parallel. I made a process for my vehicles to wait for all the entities they carry to process before exiting. Now I would like to create a process for my vehicles to choose a server that is free (or has less number of entity processing).

I have already tried to do so by selecting on the previous output node the entity destination to NodeList, and then Smallest value --> Candidate.Node.AssociatedStationLoad, but then my vehicle make a U-turn instead of dropping all entities at the same server.


For my vehicle process I tried to put first a Search step :

Collection type : NodeList

Search Type : foward

SearchCandidate.Server.Capacity.Allocated==0

Save Index found : not sure what to use ?


Then I would like to set the next destination node of my vehicle to the one found by the search step, but I havn't found how to do it.


Can someone be of any help ?


Thanks in advance !

Link to comment
Share on other sites

×
×
  • Create New...