Search code examples
anylogic

Add variable as value in schedule ANYLOGIC


In my model I use a schedule to define the capacity of a transporter fleet. Now I want the capacity to be a variable which can change based on the user input, but when I want to type the variable name (see red circle in inmage) in the value function of schedule block this will not work is there a method to do this?

enter image description here


Solution

  • The only way to so this is to use the load from database option and read in the values from the database.

    Alternative is to create the schedules programmatically