question

Andrea B9 avatar image
0 Likes"
Andrea B9 asked tannerp commented

Change number of resources hourly

How can I change the number of resources every hour?

and they have to depend to the input numbers of the tokens that are generated from the scheduled sources.

FlexSim 20.1.1
flexsim 20.1.1resource assignment
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

tannerp avatar image tannerp commented ·

Hi @Andrea B9, was my answer helpful? If so, please click the red "Accept" button on the answer. Otherwise, feel free to comment back with an update so we can help. Thanks!

0 Likes 0 ·

1 Answer

tannerp avatar image
0 Likes"
tannerp answered tannerp commented

@Andrea B9,

There are a number of ways you can dynamically change the resources you're using in your model. This is kind of a vague question, but I'll do my best to provide an example here. I created a model that uses Time Tables to change which operators are available every hour. One operator is available during odd hours and two operators are available during even hours.

Hopefully this helps. If you have a model you could post to further explain your situation, that would be very beneficial as well. Thanks!

time table example.fsm


· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Andrea B9 avatar image Andrea B9 commented ·

Thank you, but my problem is a bit different I try to explain better:

I have 2 types of material to be processed: first one metal, second wood.

Then we have 2 types of machines: 1 for only metal (4 machines) and 2 (universal) for metal and wood.

The total number of machines available is fixed (10), but every universal machine at the beginning can be only for wood or only for metal.

Depending on the request we have to set up the machines available and metal has the precedence to wood, so we have to process all metals and then we can use the remaining one for wood, but we have to set up the machines before to start to process all the tasks.

for example if at the beginning of the hour we have 100 metale request and 50 wood request, and the first type as 20 of capacity times number of machines 4 we have max 80 with type 1 and the universal has 10 capacity, so 2 universal for the left metal and 5 for wood.

I hope it is clear now

0 Likes 0 ·
tannerp avatar image tannerp Andrea B9 commented ·

@Andrea B9,

I've created an example model based on your description. Unfortunately, I still don't understand whether you need help calculating which resources to use or if it's a different problem. The model is set up in a very basic way, but this will help me figure out the best solution for your question.

andrea help example.fsm

0 Likes 0 ·