Can anybody help...

I need to undertake the desing of a trunnion. The pipe is designed to ASME B31.1. Is there any codes I can use to complete my design.

Thanks