title: Anylogic: How to set Service delay time depending on the resourceSet being used
body: <p>Basically I've got a Service which can work with two alternatives of ResourceSets. Let's say, the Service would optimally work with one Doctor and one Nurse, but it is also possible to work with only one Doctor if a Nurse isn't available.</p>
  
  <p>Now, assuming the Doctor works slower without a Nurse, the Service's delay time must depend upon the resourceSet being employed at the moment (Doctor+Nurse or Doctor). Any idea how can I program this?</p>
  
  <p>You should also have in mind that my model has various Services in parallel working in the same way, it's not just only one Service line.</p>
  
  <p>Thanks!</p>