question

Trevor Manzanares avatar image
0 Likes"
Trevor Manzanares asked Trevor Manzanares commented

Defining Global Variable for Source Arrival Time

I'd like to define a global variable for the arrival time in a source to be decided by OptQuest. However, after having defined a global variable, I cannot input that variable name into the ArrivalTime field of my source (arrival style = arrival schedule) even after trying the "assign string data" option in the field. It seems to only accept numbers.

FlexSim 16.2.1
optquestglobal variablesstart schedule
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

Adrian Haws avatar image
1 Like"
Adrian Haws answered Trevor Manzanares commented

The Source arrival schedule is simply a table of numbers and can't evaluate anything else. If you need to use a global variable, you can either set it in an Inter-Arrival Source or use the Schedule Source activity in Process Flow to control when objects are created.

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