Sample Pressure Vessel calculations per ASME VIII-1 for a stainless steel filter vessel:
Standard ASME B16.5 rated flange inlet and outlet ports
Top cover attached by means of custom swingbolt assembly.
Easy access drain
The links below show the calculations and the drawing
COMPRESS Pressure Vessel Design Calculations
Swing Bolt attachment Calculations, ver.3.1