AnyLogic 5 Discussion

I’m modelling a simulation model of an Emergency and Accident Department. I have modelled the resources (i.e. physicians; “orange nurses”; “green nurses”; rooms; etc.) with the NetworkResource as they are part of the Network. I would like to know if it’s possible to find a way to exclude a resource from build while the simulation is running through a command in the animation. For example: the model (and the animation) is running for a period that covers 1 week; whenever I want, I’d like to have the choise to exclude the resource “orange nurses” just selecting a command (i.e. “Button”) in the animation and then re-introduce that resource in a similar way. Thank you for your patient. Kind Regards, Alessandro
I have an idea! Probably it is easier to decrease nurses capacity using "set_capacity(0)" function of the resource pool. -Sergey