There is a reason the Code does not mention the flow or specific criteria you should use. Safety relief valves do not modulate (i.e. partially open or partially closed). The model is - they pop wide open at the set pressure, and go closed at the blowdown pressure. There is either zero flow or flow is at the relieving capacity.
ASME Section VIII UG-135 (b) says the flow characteristics of all pipe and fittings between a pressure vessel and its pressure relieving device shall be such that the pressure drop will not reduce the relieving capacity below that required, or adversely affect the proper operation of the pressure relieving device (i.e. chatter).
This aligns with what is in M-6, “inlet pressure losses will be based on the valve nameplate capacity corrected for the characteristics of the flowing fluid”. The “valve nameplate capacity (i.e. valve wide open) corrected for the characteristics of the flowing fluid” is the relieving capacity of the installation.
In both cases the Code is referring to the flow that occurs with a wide open safety relief valve and it’s pipe and fittings from the pressure vessel to the safety relief valve. There is no mention of using a sizing or required flow rate for the basis. There is mention that the relieving capacity (i.e. valve wide open) cannot fall below that required (i.e. sizing scenario). That means the upstream system must be designed with the safety relief valve wide open as the basis. I see no other way.
Chatter is the rapid opening and closing of the valve that will result in an unpredictable reduction in relief capacity, damages to the seating surfaces, and possible destruction of the safety valve. To avoid chatter, one must design the upstream system with the safety relief valve wide open, because that is what is really going to happen, and meet certain criteria.
IMO, substituting a flow rate from a sizing scenario is just folly, which may lead to future legal issues and liabilities.
Of course, the above is about compressible flow only; not liquids.
Good luck,
Latexman