I appreciate all the input and discussion. Let me give you some additional info based on the questions and discusion
so far.
It is a REAL project, so your help is really appreciated.
My reference to been "close to the critical conditions" refers to the methanol, indeed. The safety valves are set at 1100 psi, which will put the product at 1210 psi when relieving. One operating case will takes the reactor to more than 400 F. I think it is close enough to critical conditions. The depressurization could be initiated any time so the initial pressure could be as high as 1210 psi.
The reaction is not exothermic, the only heat input would be from fire. The reactor works 100% full of the liquid mixture. The depressurization is done from the bottom of the reactor, and this corresponds to a proprietary design.
I don't have details into this but my feeling is that removing the liquid will help to remove the content faster.
I used the Hysys depressurization utility to predict the process. As I mentioned before, it predicted an abrupt reduction in pressure during the first seconds, and then the pressure stabilizes at around 400 psi. That level corresponds to the boiling point of methanol at the operating temperature, so It had sense to me.
After the pressure stabilized, the model gave me presence of vapor at the inlet of the discharge valve (bottom of reactor), somewhat unexpected because the reactor was modeled as a separator, so I should expect only liquid as you said. Could that have to do with the heat input (fire) that was included in the model? Any of you with experience using Hysys could confirm that? or could there be other reason for the model to give this result?
To add to the previous point, I should say that the reactor has internals (think porous media) that will produce a pressure drop so, even if the model was oversimplified, this pressure drop could cause some flashing before the restriction (or not?). Obviously the model did not account for it.
Based on the previous discussion, please confirm me that my real expectation should be to get liquid only, because that will make a difference in the sizing of the orifice. If that was the case, what formula could I use? I will have flashing downstream anyway.
Hysys offers several flow equations to model the "liquid" exit valve. I chose the general equation (other options
are supersonic, subsonic, fisher, massoneilan). The general calculates the flow based on the inlet pressure (so it uses a choked condition). Don't sure that this is applicable to liquid, but if not, why does Hysys offers that choice for the liquid valve?
I used this equation to determine the flow rate that allows me to depressurize in the given time. Now I have to size an orifice that will give me the same flow rate.
Any additional input in how to calculate the orifice?