hurol Posted January 8, 2020 Share Posted January 8, 2020 (edited) I am working on a simulation of a number of firms processing raw products. If I represent the firms as resources in a server -so that the server capacity represents the number of firms, how could I identify which resource/firm processed a certain batch of products? Can this be done with a server having a capacity of its own, or should I use a pool of (secondary) resources with id labels so I can use that id to label the product batch? Edited January 8, 2020 by hurol spelling & grammar error Link to comment Share on other sites More sharing options...
gocken Posted January 8, 2020 Share Posted January 8, 2020 You can use seperate servers (each has 1 capacity) each represents individual firms. Create entities (raw products) via a data table where you should also include one column (a node property from object reference property) to represent where the created entity will be processed (as its destination). Then at the output node of the source object set entity destination type property to specific. Then set node name to Table1.NodeInstanceProperty1. The entities will be routed appropriately. 1 Link to comment Share on other sites More sharing options...
asneath Posted January 8, 2020 Share Posted January 8, 2020 The Server Initial Capacity property sets the capacity of the processing station within the Server. Regardless of the Initial Capacity value, each Server Object is regarded as a single Resource in terms of the Results provided by the simulation. This is a long way of saying that, if you want to analyze each firm separately, you will need a separate Server for each one or a pool of Secondary Resources like you had mentioned. Happy modeling! 1 Link to comment Share on other sites More sharing options...
hurol Posted January 9, 2020 Author Share Posted January 9, 2020 Thank you for the answers. Since I wanted to be able to change the number of firms at will (through a model property), creating separate servers was not my preferable option. Since the products processed by firms would then be matched with the orders received by thr firms, I had to identify each firm somehow. I will try using a pool of secondary resources. Link to comment Share on other sites More sharing options...
gocken Posted January 9, 2020 Share Posted January 9, 2020 If you want to experiment with different number of resources (or servers) you can create these objects automatically by using auto-create functionality. This will save your time and simplify your progress. Link to comment Share on other sites More sharing options...
Recommended Posts