Piping codes, valve standards and ball valve selection