For one you may wish to buy the book of "Design of Piping Systems" by M.W. Kellogg. This book contains a treasure trough and is a classic to keep. In it you will find an obscure formula on calculating localized stress, which, with due diligence, is applicable for analyzing piping attachments. As a cliche you can always construct some FEA models to serve. Good luck and so long.