Hi Harry
Sorry for my delay, I get pulled from different projects and can hardly work on this for a few hours each week.
Finally, my solution was to create a SimEntity with the following output:
{ route '{1, 2, 3, 4, 5}' } { runtimes '{10 [s], 20 [s], 30 [s], 40 [s]}' } { lastCompletedOp 0 } { next 1 }
Route defines the ID of the machines where the operations need to be performed
runtimes, the operation times in each of those machines
lastCompletedOp and next are assigned after every operation completed to allow re-routing:
{ 'this.obj.lastCompletedOp = this.obj.lastCompletedOp + 1 ' } { this.obj.next=this.obj.route(this.obj.lastCompletedOp+1)
Carlos