You have a very common question, one that is an issue to the end user on the pipeline.
With valves that I've done, typically fracture mechanics on the body will dictate extreme loads. Naturally this depends on the type of valve and exact placement of steel thus comprising the body. The closure(s) must also be taken into account, it is possible to crush these babies long before the valve body yields.
According to the API specification, and for obvious reasons, the valve CANNOT compromise the integrity of the pipeline. To start with, performing a simple calculation on yield strength on the pipeline cross section per unit length would give you MINIMUM expectations. I design to a factor of safety of three (3), sometimes four (4) depending on the exact nature of the application.
Note that finite element is the best approach to yield meaningful estimates. Due to the exact nature of the valve geometry, pipeline conditions, environmental properties, etc, there is no single equation to help you out. Your valve manufacturer should have this information as part of the customer documentation package, phone him!
Kenneth J Hueston, PEng
Principal
Sturni-Hueston Engineering Inc
Edmonton, Alberta Canada