B31.4 can be used for liquid ammonia. I don't see any of that as a problem, because I've done it before, providing you do your pipe testing at lower than the lowest temperature ammonia you will have in the pipeline. Use low temperature ASTM A333 pipe by the way. I certainly have used B31.4 to design a liquid ammonia pipeline. You must take into consideration that the lowest temperature provision of B31.4 will be exceeded. Liquid ammonia boils (at -33.3[°]C) a few degrees below the declared B31.4 low limit temperature. The good thing is that B31.4 also does not say it can't be used for lower temperatures, it just says it specifically doesn't cover lower temperatures, which in that case the engineer must make sure that he does. With that said and the owner's written permission, I can say that B31,4 has been allowed many times in the past.
Rest of that story
Not sure about the alternative fuel and other stuff he says there, just needed to show the map of the ammonia pipeline delivery system (making a lot of money) in the USA.
Liquid ammonia will be below the freezing point of water, so you need to dry it out as much as possible in any case, otherwise it will all freeze out at the last point where the ammonia crossed 0C. Latexman, am I mistaken in that thought? Insulation will be needed.
Pipe stress and
expansion contraction loops of cold pipe works out better than hot pipe. Cold pipe is placed in tension, which being on the same side of Mohr's circle as the tensile hoop stress, makes the maximum shear stress much less than for hot pipe.
The other good thing about cold pipelines is that water contact induced exterior corrosion below the anti-corrosion coating is nearly, if not totally, eliminated. Water touching the pipeline freezes and no corrosion is possible after that. And there is no free water inside.
But at that low temperature, contraction will be extreme. Although at first I thought the pipeline should be buried in a tunnel structure, when I realized that water will have no effect and the pipe will be locked into the soil, direct burial, even at that low temperature, was possible with the right insulation coating.
PermaTherm has some recommenadations and I think they supplied the insulation coating we used an HDPE (or was it PVC) overcoating for direct burial. There was some talk at the time that the insulation, being completely or nearly so, closed cell, could have been buried directly in contact with earth. You might want to think about that. I'm leery about freeze cracking of the insulation from any water that might come in contact with the insulation freeze zone. Test is worth a thousand words.
Ammonia stress corrosion cracking can also affect carbon steel equipment, but unlike the cracking mechanism on brass which occurs in an aqueous solution, the cracking of steel equipment occurs in anhydrous ammonia. Proper PWHT is essential. Storage vessels are hot spots for SCC. See thread367-362662
Also see hydrogen embrittlement effects,
The explicit danger of liquid ammonia after leaking is that it gasifies, and being toxic and heavier than air, it takes a long time to dissipate, making it extremely dangerous to approach any leaking ammonia pipeline to close valves, or otherwise closely investigate what might be going wrong. Emergency responders need to bring along the right PPE.
farmer-died-as-he-investigated-source
(Although I have also heard that he was drilling into the pipe himself at the time)
Rest of that story (have you seen Breaking Bad?)
An ammonia pipeline leak in Kansas (2004).
Cause attributed to a farmer plowing field damaged pipeline a number of years before this incident.
It cam definitely be touchy stuff,
MN link
Do you think it is a coincidence that ASTM number A333 is nearly the same number as ammonia's liquification temperature -33.3C? (yes, I think so)