Three articles that you should get:
1. Ron Darby, "Size Safety-Releif Valves for Any Conditions", Chemical Engineering Magazine, September 2005
2. Ron Darby, F.E. Self, V.H. Edwards, "Properly Size Pressure-Relief Valves for Two-Phase Flow", Chemical Engineering Magazine, June 2002
3. J.C. Leung, "Easily Size Relief Devices and Piping for Two-Phase Flow", Chemical Engineering Progress, December 1996
The method given by Darby et. al. has been adapted from work done by DIERS. The method by Leung (the OMEGA method) is another way to obtain the same thing. Darby discusses this method as well as some others in the articles I reference. Currently, the Omega method is what is given in API RP520. Darby solves the nozzle equation for mass flow rate via direct numerical integration. These methods are accepted as good engineering practice by most standardards.