I took a course called "Pressure Relieving Systems" by taught by the API. We talked about these situations.
For the fire case, the following assumptions are made, among others:
-Vessel is blocked in, i.e. no credit for other pressure relief paths
-Overpressure arises as a reult of vapor...