Reputation: 11
I am doing my thesis using Anylogic and I've run into a little problem. I have two different schedules for my source, in the process modeling section. I want/need a control option such as a slider to affect the used schedule in the source block. Is there a way to do this?
Thank you in advance,
a student in need
Upvotes: 0
Views: 285
Reputation: 12795
Sure, there are many different ways and this is a quick way:
create a radio button control called radio
as below:
Obviously, create 2 schedule objects, here named schedule
and schedule2
.
In your source, switch the schedule selection to a dynamic property where you can add code. Write as below:
Now the source applies the schedule you select in the radio button at any time.
cheers
Upvotes: 1