I guess you need to make the concept right. Surge is preventable, use slug catchers for the slug, and I suggest you had better work on it instead of looking for the solution by the stress analysis. This makes everything simpler for all parties. You need to talk to the process engineers to reduce/eliminate the problems.

Regards,

Ibrahim Demir