In the attached model I'm trying to figure out how to acquire a transport based on the distance the transport is to the acquired room. The patient walks in, acquires the Room first and then I need to acquire the gurney based on the distance the gurney is from the acquired room. My method requires that the transport is assigned based on it's distance to the room. Currently Gurney1 is sitting on Room1, but if Gurney2 was sitting on Room1 then I need Gurney2 to be acquired. I have found some instances where distances are calculated based on the patient, but am struggling when the distance involves 2 different resources.