They are examples in the code ..also in B31.3
Further Caesar has a module for that.

And next to reinforcement for internal pressure ..one needs to calculate the io and io , the so called stress intensification factors for pipe stress

And wish you all the best