Safety performance functions for ramp terminals at diamond interchanges