How can I create new processors when importing an Excel file?

How can I create new processors when importing an Excel file?

RUCU17
Not applicable
140 Views
2 Replies
Message 1 of 3

How can I create new processors when importing an Excel file?

RUCU17
Not applicable

[ FlexSim 23.1.0 ]

IMPORTEXCEL.xlsx


CREATENEWPROCESSOR.fsm

I want to know how to create new processors when importing and reading the excel file? My goal is to decide through an excel cell how many processors to use in the model. Imagine typing on a cell "3" and right after importing the excel file on FlexSim 3 processors appear.


There is a cell with the Inter-Arrival time of the items in the excel file uploaded to this query. In there you can modify the number of the cell and then, when importing the file into FlexSim the source arrival time change.


In conclusion, the purpose is to use the uploaded excel file to import it into the FlexSim file, also uploaded, in order to create the number of processors indicated in the excel cell.

0 Likes
Accepted solutions (1)
141 Views
2 Replies
Replies (2)
Message 2 of 3

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

To create copies of the processor you can use the "Delete and Copy Group Members" option in a model parameter.

capture1.png

Create a group for the processor and use the samling tool next to the reference field of the parameter to select the group and choose that option.

Then, in the Post Import Code, set the parameter to be equal to the relevant table cell and reset the model for the change to take effect.

createnewprocessor_1.fsm

0 Likes
Message 3 of 3

RUCU17
Not applicable

Thank you so much Felix! That was what I was searching for. Cheers.

0 Likes