Interesting discussion thread.
I started to learn bits and pieces on Australian pressure vessel code (AS 1210) only recently. So excuse my limitation of knowledge on the topic at hand. However, having seen some examples in our plant, I think I can shed some light here with sufficient confidence.
I shall present two excerpts from AS 4343 (Hazard level) that will give you some pointer (if not definitive answer) to the topic under debate:
"Pressure piping is hazardous and, for simplicity, diameter is used in place of volume. The hazard level is made the same as for a pressure vessel with volume equal to that of a pipe length of 10 diameters."
"With a pressure vessel, the entire contents have the potential to be released instantaneously but with pressure piping it is only the volume close to the ends (at the pressure point) of a completely ruptured pipe which influences the immediate damage. In most cases, pressure would reduce and often the flow would be stopped through isolation being provided after the failure."
Due to the above reason, blanked (even if at one end only) pressure piping registered as a pressure vessel will have a lower hazard level than a pressure vessel (as we normally understand of it) of same volume. So, the bottom line is that intended design function and hazard level can dictate whether you will opt to register a blanked (with flanges) pipe segment as a pressure vessel.
For example, in the plant I am working I have seen 1.2m high pressure vessels (vapour condensers) made out of 450mm dia pipe section (ASTM A53 Gr. B, carbon steel) but registered as pressure vessels, because of their function and hazard level (mild-scale laden non-condensable odourous vapour condensed inside the vessel after being flashed off by the lake water spray injection; cleaned vapour is sucked out thru a nozzle on the top flange via a vacuum pump whereas scale laden lake water comes down (gravity flow) thru' the the bottom nozzle to a seal tank via 150mm dia piping.
Comments, most welcome.
Cheers,
Amin