In my model I want the source block to generate trucks based on the frequency of the interarrivals calculated from a dataset. I have organized my Excel sheet with 2 columns: the first one with the different possible interarrival times and the second with the frequency of those said times. I have already imported the table into AnyLogic but now don't know how to proceed in order to change the Source Block taking into account the dataset.
Initially, I was using a fixed interarrival time of 30 minutes but now I need to change it to make it real according to the data in the dataset.
I think what you want to do is to use a custom distribution, add that table of frequencies to the custom distribution, and use the customDistribution() function in the interarrival time