Jump to content

How do I direct incoming entities according to state values?


hurol
 Share

Recommended Posts

Hello all,

In my model, I have a pool of secondary resources representing Firms. Order entities with random amounts arrive from a source, targeting randomly selected firms. The amount in each Order entity is registered in a state value vector (called "FirmDemands" with a row for each firm) as the demand for its target firm. I would like to direct Product entities coming from a different source to the firms according to their present level of demands.

I suppose I could use  "Select from List" option, but how would I refer to that state value vector in the selection expression so that a product will be assigned to the firm with the highest demand at that time?

Link to comment
Share on other sites

×
×
  • Create New...