question

Alban P avatar image
0 Likes"
Alban P asked Alban P commented

Quantities By Case on a Resource function of time()

I want to change the resources quantities based on the timestamp of the simulation.

In my case I want to have 20 resources at the beginning of the simulation until 10'000 seconds of run and then 50 resources.
My configuration isn't working

Any idea ?

FlexSim 18.2.3
resourcemodellingquantities by case
capture.png (17.9 KiB)
5 |100000

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

1 Answer

Clair A avatar image
0 Likes"
Clair A answered Alban P commented

A setup case must be a value, it can't be a mathematical statement.

To deal with your question, I would rather have a Resource with a count of 50, acquire 30 resources at time 0, and release them after a delay of 10'000 seconds:

This way you have 20 resources available from time 0 to 10'000 seconds and then 50 resources available.

See the attached example: 2019-08-13-resources-available-based-on-time.fsm


· 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.

Alban P avatar image Alban P commented ·

Easy trick, thank you Clair :)

Alban

0 Likes 0 ·