I will use the Fluid Pickup example from AnyLogic to explain my question. Let's say we have a pump (resource) that needs to be available for the cars to pickup fluid. We can add a seize and release before and after the pickup block and model this. Next step is to allow the pump to fail. The question is what is going to happen to a car that has already started picking up fluid:
- How can we stop the flow when the pump fails? (probably use failure flowchart and close the valve)
- How can we force the car to leave the pump with the current amount picked up? (not wait until Fluid to pickup is completed)
- Similarly, if the tank is small and is being continuously filled by a pump and that pump fails, the car needs to leave with whatever it has picked up (In this case, the flow to the car will become 0 so the first question is answered but the second one exists)
Thanks