Daan
Daan

Reputation: 11

Anylogic PLE: I want a slider or other control to affect the arrival schedule for my source in anylogic

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

Answers (1)

Benjamin
Benjamin

Reputation: 12795

Sure, there are many different ways and this is a quick way:

create a radio button control called radioas below: enter image description here

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: enter image description here

Now the source applies the schedule you select in the radio button at any time.

cheers

Upvotes: 1

Related Questions