Latest / Mechanical Engineering Made Simple / (#108) Pressure Vessel Design Codes and Stored Energy
Transcript
- 0:00Welcome back to mechanical engineering made simple.
- 0:02It is good to be back. Today we are looking at
- 0:04something that honestly, it surrounds us every single day,
- 0:09but we mostly take for granted, you know, until something goes
- 0:13wrong, right? We're looking at pressure
- 0:14equipment, and I think the best place to start isn't with some
- 0:18dry technical definition, but with the reality of what these
- 0:22things are. Because when you really look at
- 0:24a pressure vessel, whether it's a massive boiler or just a
- 0:28simple air receiver in a workshop, what you're actually
- 0:31looking at is a container of immense stored energy.
- 0:34That is exactly right. It's potential energy just
- 0:37waiting to get out. And if that energy gets out
- 0:39uncontrolled, it's not just a leak, it's it's basically a
- 0:42bomb. It is.
- 0:43And that's why the engineering behind this is so, so rigorous.
- 0:47I mean, it's not just about welding some steel plates
- 0:49together. We're talking about a discipline
- 0:51that has to manage these huge hazards that, well, they keep
- 0:55the modern world running. And what's so fascinating about
- 0:58the source material we have for this deep dive is that it
- 1:00doesn't just stop at the design. No, it goes way beyond that.
- 1:03It goes into the hidden complexity of actually building
- 1:07these things, inspecting them, and this is the part people
- 1:10always forget moving them. That part just blew my mind, The
- 1:13idea of lifting A50 ton steel cylinder without, you know,
- 1:16snapping it in half. Exactly.
- 1:18The logistics are incredible. So we have a huge stack of
- 1:21sources today. We're covering everything from
- 1:23the alphabet soup of design codes.
- 1:26DSME PD 5500. To the physics of stress and the
- 1:31detective work of inspection. It's a lot, but we're going to
- 1:34break it all down. Let's dive in.
- 1:36OK, let's unpack the basics first.
- 1:37Yeah. So Segment 1 design principles
- 1:40and the code landscape, the sources define pressure
- 1:44equipment and it's it's broader than I thought.
- 1:47It's not just the big tanks. No, not at all.
- 1:49It covers a huge range. You have the vessels themselves,
- 1:52sure, the containers, but you also have simple receivers like
- 1:55you said, those air tanks in a garage.
- 1:57And it also includes all the piping that connects everything.
- 2:00And while the you know the regulations might change
- 2:02depending on if you're in the US or Europe, the physics, the
- 2:05physics never changes. Pressure is pressure and that
- 2:08brings us to the regulations. The text mentions 2 heavy
- 2:12hitters that seem to well, dominate the industry.
- 2:15We have ASME 8. That's ASME Section 8.
- 2:19That's the American standard. It's very widely used all over
- 2:22the world. And then there's PD 5500.
- 2:25Right, which is the British and European standard.
- 2:27Now here's where it gets really interesting.
- 2:29For anyone who cares about how engineering actually works in
- 2:32the real world, the sources discuss a concept called Code
- 2:36Intent. Yes, this caught my eye.
- 2:38It sounds a bit like a loophole, but I don't think it is.
- 2:41What exactly is code intent versus actual compliance?
- 2:45It's a really critical distinction.
- 2:47So full code compliance means you followed the rule book to
- 2:50the absolute letter. Every calculation, every
- 2:52material test, every administrative step.
- 2:53And you get the official stamp. Crucially, yes, you've had the
- 2:57independent inspections required to get that official use stamp
- 3:00or whatever it is on the vessel. But sometimes a client doesn't
- 3:03need the stamp. Why?
- 3:04Well, maybe they're in a jurisdiction that doesn't
- 3:06strictly require it for that specific use, or they're just
- 3:10trying to save on the administrative costs so they ask
- 3:14for a vessel built to code intent.
- 3:17So you build it as if you were getting the stamp, but you don't
- 3:20do the final paperwork. Precisely.
- 3:22You use the exact same design formulas, the same safety
- 3:25factors, the same stress limits. Physically, the vessel is just
- 3:28as strong, but you skip some of those administrative hurdles.
- 3:32The third party witness the stamping itself.
- 3:35It's like buying a supercar without the badge on the hood.
- 3:37It drives the same, but you can't prove it to anyone.
- 3:40That's a great analogy, but as we'll see later, that little
- 3:43decision carries a whole lot of risk when it comes to liability.
- 3:46OK, let's get into the math. The sources spend a lot of time
- 3:50on the thin cylinder equation. This is the real bread and
- 3:53butter of vessel design, isn't it?
- 3:54It is if you just imagine a soda can under pressure.
- 3:58The metal wants to tear apart in two different directions.
- 4:01It wants to split down the side like unzipping a jacket, and it
- 4:05wants to pop the top and bottom off.
- 4:07And the text makes a huge point that one of these stresses is
- 4:11way, way worse than the other. Yes.
- 4:13The stress trying to split the cylinder down the side is called
- 4:16the circumferential or hoop stress.
- 4:20The stress trying to pop the ends off is the longitudinal
- 4:22stress, and the math shows us that hoop stress is always twice
- 4:26the magnitude of the longitudinal stress.
- 4:29So if you're designed for the big one, the hoop stress, the
- 4:32other one is automatically taken care of.
- 4:33Correct. That's why hoop stress is always
- 4:35the controlling factor. I want to look at the formula in
- 4:38the source because it really boils it down For circumfrontal
- 4:41stress. It reads S sub C = P * D / 2 *
- 4:47T. Simple, elegant, and absolutely
- 4:50critical. S sub C is your stress, P is the
- 4:53internal pressure, D is the diameter, and T is the wall
- 4:57thickness. You can see right away.
- 4:58If you double the pressure, you double the stress.
- 5:00And if you double the thickness, you got the stress in half.
- 5:02Exactly. But there's another variable in
- 5:05the full version of that equation that I found really
- 5:07interesting, the symbol ETA. It represents joint efficiency.
- 5:12Right, this is where the human element comes in.
- 5:15It is. You're welding steel plates
- 5:17together. Is that Weld absolutely perfect?
- 5:20I'm. Going to guess no.
- 5:21Probably not. So if you don't inspect that
- 5:24Weld fully, say if you don't use X-ray or ultrasonic testing on
- 5:28the entire link, you can't assume it's 100% strong, so the
- 5:32code penalizes you. It makes you use a lower
- 5:35efficiency factor, say 0.7 instead of 1.0.
- 5:40So if you're ETA is 0.7, the math says you're allowable
- 5:44stress goes down, which means which.
- 5:45Means your T, your wall thickness has to go up, you have
- 5:48to use more steel just to compensate for the fact that you
- 5:51didn't inspect the Weld as thoroughly.
- 5:53It's a direct trade off between inspection costs and material
- 5:56costs. That is a fantastic insight.
- 5:58Speaking of thickness, there was one other design factor that I
- 6:01found kind of poetic the corrosion allowance noted as C
- 6:05Ah. Yes, designing for the Crave.
- 6:07That's exactly what it felt like, the source says.
- 6:09Designers calculate the thickness based on the end of
- 6:11the vessel's life, not the beginning.
- 6:13It's the only Safeway to do it. If you know the contents are
- 6:16corrosive, you know, maybe it's an air receiver that's going to
- 6:19have condensation inside. You have to assume the metal
- 6:22will get thinner over 20 years. So if your calculation says you
- 6:26need a tube bore of, say, D sub I, you actually design for D sub
- 6:31I + 2 * C You're literally adding sacrificial metal that
- 6:35you fully expect to just vanish over time.
- 6:38So when a brand new vessel shows up, it's technically over built,
- 6:42but only because it's preparing for its own decay.
- 6:44That's it exactly. We've designed this thing.
- 6:47It's thick. It is a corrosion allowance.
- 6:48The math works. Now we have to move it and the
- 6:51source material on erection was really surprising.
- 6:54I kind of think of the engineering ending when the
- 6:56thing leaves the factory. And that is a very common
- 7:00mistake and a very expensive one.
- 7:02The source explicitly mentions that the erection costs alone
- 7:06for a major vessel can run into millions.
- 7:08Millions. And here's the kicker, if the
- 7:10designer didn't put the lifting attachments on the original
- 7:13drawing and they have to be added after the purchase order.
- 7:16Oh, that's an expensive extra. A massive extra and it's risky
- 7:20because now you're out in the field welding onto a finished
- 7:23heat treated vessel. You don't want to do that.
- 7:25The mechanics of the lift described in the text are just
- 7:29intense. I mean taking a vessel that's
- 7:31lying flat on a truck and standing it up vertically.
- 7:34The transition. That is the single most
- 7:37dangerous moment. When the vessel is horizontal,
- 7:40gravity is pulling it one way. As you lift it, the loads shift
- 7:44completely. They talk about tailing lugs.
- 7:47Can you walk me through what's happening there?
- 7:48Sure. So imagine you have a big crane
- 7:51picking up the top of the vessel.
- 7:52That's your main lift. But you can't just drag the
- 7:54bottom of it along the ground. You need another crane or some
- 7:57kind of tailing device holding the bottom end.
- 8:00As the main crane lifts, the vessel pivots and the load on
- 8:03that tailing lug, let's call it T, It changes constantly as the
- 8:07angle changes. And there's a formula for that
- 8:09tailing load in the text. It read T = W sub L * L two
- 8:13divided by L1 right? W sub L is the lift weight and
- 8:17L1 and L2 are just the distances from the pivot point.
- 8:21It's a basic lever arm calculation, but what's critical
- 8:24is this. At 0°, when it's flat, that
- 8:28tailing lug is carrying a huge part of the weight.
- 8:31OK. But at 90° fully vertical, it's
- 8:34carrying zero because the vessel is just hanging from the top
- 8:37crane? It's the journey between those
- 8:39two points that's the problem. That's where things get tricky.
- 8:42The text also mentions trunions for lifting.
- 8:45Trunions are those those big round ear like things you see
- 8:50welded on the side of a vessel. And the source breaks them down
- 8:52into different types. Type 1.
- 8:54Type 2. And that really matters because
- 8:56of the stress. When the vessel is horizontal,
- 8:59the weight is pulling down on those trunnions and it's trying
- 9:01to twist the shell. It's a circumferential moment.
- 9:04But as soon as you stand it up, the weight pulls along the
- 9:07vessel's length, causing a longitudinal moment.
- 9:09The stress changes direction completely.
- 9:12So the steel shell is being twisted one way, and then slowly
- 9:16twisted another way, all while it's dangling 100 feet in the
- 9:19air. And that is why the source is so
- 9:22big. On the worst case scenario
- 9:23check, you don't just check 0° and 90°, you have to check all
- 9:27the angles in between, because at say 45° you might have a
- 9:32combination of those stresses that's actually worse than
- 9:34either the start or the finish. It really hammers home that
- 9:37static equipment is only static once it's bolted down.
- 9:40Until then, it's a dynamic, moving and potentially lethal
- 9:44load if you get that math wrong. Moving on to Segment 3,
- 9:48manufacturer inspection an the human element.
- 9:51We've got the design, we've got the lifting plan.
- 9:53Now we're on the shop floor. The first thing the sources
- 9:56emphasizes is traceability. This is absolutely huge in our
- 10:02industry. You can't just go to a scrap
- 10:03yard, find a piece of steel and build a pressure vessel with it.
- 10:06And. Chain of traceability, yes.
- 10:07Yes, every single plate, every flange, every bit of pipe has to
- 10:11have a birth certificate. The source mentions the EN 3:50
- 10:16certificates, specifically 3.1 A and three-point 1B.
- 10:19What's the difference there? It's about who certifies it.
- 10:22A three-point 1B is a certificate from the
- 10:25manufacturer themselves. A 3.1 A usually means an
- 10:28independent inspector had to be there to witness the tests.
- 10:31But the point is, if a vessel fails 10 years from now,
- 10:35investigators need to be able to pick up a fragment of steel and
- 10:38trace it all the way back to the specific batch at the mill where
- 10:42it was first cast. That's incredible
- 10:44accountability. Now let's talk visual
- 10:46inspection. Source Five had this amazing
- 10:49list of quirks that inspectors look for.
- 10:52It wasn't just about measuring things, it was looking for signs
- 10:54of struggle. Signs of struggle is a great way
- 10:57to put it. One of them was bulging.
- 10:58Bulging tells a story. It almost always means the
- 11:01manufacturer tried to Weld ahead the end cap to the shell and
- 11:05they didn't fit up perfectly. Maybe the shell was a little bit
- 11:08Oval instead of perfectly round, so they.
- 11:10Just forced it they. Forced it.
- 11:11They clamped it down hard, tack welded it and literally forced
- 11:15the steel to align. But the steel remember numbers.
- 11:18It leaves a bulge, and that bulge is a stress concentration
- 11:22point just waiting to fail. Another one was nozzle
- 11:25orientation checking if nozzles have pulled out of place.
- 11:29When you Weld your melting steel, when it cools it shrinks.
- 11:33So if you have a big nozzle welded onto the side of a tank,
- 11:37that welding process can physically pull the nozzle out
- 11:40of alignment. If an inspector sees a flange
- 11:43pointing slightly the wrong way, it's a huge red flag that the
- 11:47welding or the heat treatment wasn't managed properly.
- 11:50And grinding marks. The text was very specific about
- 11:53deep grinding marks. Oh this is a pet peeve of every
- 11:56single inspector. A fabricator makes a messy Weld,
- 11:59so they get a grinder out to make it look pretty, but they
- 12:02get a bit too enthusiastic and grind right into the base metal.
- 12:06The rule of thumb is if you grind deeper than 10% of the
- 12:09plate thickness, you've compromised the vessel.
- 12:12You've created a thin spot. It's like trying to erase a
- 12:15mistake on paper and you just tear a hole right through.
- 12:16It that's a perfect analogy. There was also a note about
- 12:20datum lines. I always just assumed you'd
- 12:22measure from the Weld seam. No, never measure from the Weld
- 12:25seam. A Weld is rough, it's irregular,
- 12:28and like we just said, it might have moved because of shrinkage.
- 12:32You establish A datum line, a fixed reference line that's
- 12:34physically punched into the steel, and you measure
- 12:37everything from there. That is your single source of
- 12:40truth. OK, the final Test is the big
- 12:42moment. The source contrasts hydrostatic
- 12:46testing with pneumatic testing. The standard versus the special
- 12:50and dangerous case, right? Hydrostatic uses water,
- 12:53pneumatic uses air or gas, and the source gives this massive
- 12:57warning about. Still just takes right back to
- 12:59what you said in the intro. Stored energy water is basically
- 13:03incompressible. If you fill a tank with water,
- 13:05pump it up to high pressure and the tank cracks, what happens?
- 13:08Little squirt of water. A squirt.
- 13:09That's it. The pressure drops instantly
- 13:11because the water doesn't expand.
- 13:12It's relatively safe. Now do that with compressed air.
- 13:15You're compressing a gas. You are packing energy into that
- 13:17space. So if the tank fails then.
- 13:19It doesn't just squirt, it explodes.
- 13:21The air expands violently. It can level a building.
- 13:23So why would anyone ever do a pneumatic test?
- 13:26Sometimes you have to. Maybe the vessel is for a
- 13:29chemical process where even a single drop of water residue
- 13:32would ruin the product. Or maybe the vessel is so large
- 13:35and the structure so light that the sheer weight of the water
- 13:38would collapse it. I didn't think of that.
- 13:41Water is heavy. Very.
- 13:43So if you have to do a pneumatic test, the source says you need a
- 13:46much much higher level of NDT non destructive testing
- 13:49beforehand. You need a 100% surface crack
- 13:52detection. You have to be absolutely sure
- 13:55there are no cracks before you turn that vessel into a bomb.
- 13:58That makes total sense. OK.
- 13:59Let's hit to our last segment and talk about the hardware
- 14:01attached to these things, valves and fittings, specifically the
- 14:05safety valve. The final line of defense if all
- 14:09else fails, if the control system dies, if the operator
- 14:11makes a mistake, the safety valve is the only thing stopping
- 14:14a catastrophe. The terminology here was really
- 14:17fun. I want to ask you about these 3
- 14:18words. Simmer chatter and pop.
- 14:21OK, simmer, is that sound you hear just before the valve fully
- 14:25opens? It's the audible escape of a
- 14:28tiny bit of fluid. The pressure is pushing up on
- 14:31the disk, just barely overcoming the spring.
- 14:34It's the warning shot. Like a tea kettle starting to
- 14:36whistle. That's a great way to think of
- 14:38it. Then you have O pop is what you
- 14:41want. It's the rapid, decisive full
- 14:43opening of the valve to release a huge amount of pressure
- 14:46quickly. It literally snaps open.
- 14:48In Chatter. Chatter is very, very bad.
- 14:51Chatter is when the valve opens and closes rapidly.
- 14:53Bang Bang, Bang Bang. It's a violent reciprocating
- 14:57motion where the disc smashes into the seat over and over.
- 15:00That sounds destructive. It destroys the valve.
- 15:02See, it can damage the piping. If you hear chatter, something
- 15:05is seriously wrong with the sizing or the installation.
- 15:07We also touched on flanges. The source mentions ANSIB 16.5.
- 15:12That's the Bible for flanges. It tells you that you can't just
- 15:15pick any old size. The dimensions, the thickness,
- 15:18the bulk pattern are strictly dictated by the pressure and the
- 15:21temperature it has to handle. It all comes back to the code
- 15:24doesn't. It always, every time.
- 15:26So let's bring this all together.
- 15:28What's the big take away? We've seen that a pressure
- 15:30vessel isn't just a tank, it's a marriage of strict code
- 15:34compliance, some really complex stress math, you know, that hoop
- 15:38stress being double the longitudinal, and some serious
- 15:41logistical planning just to get it standing up.
- 15:44And it's a discipline where good enough is never, ever good
- 15:46enough. You're fighting physics, and
- 15:48physics always wins in the end. The sources really drove home
- 15:52that idea of the life cycle. You have to design for the
- 15:55corrosion at the end of its life.
- 15:57You inspect for the mistakes made during manufacturing.
- 16:01You lift it knowing that gravity wants to twist it apart.
- 16:04And this brings us right back to that code intent idea we started
- 16:07with. I want to leave the listener of
- 16:08the final thought here. Go on.
- 16:10We talked about building to code intent, but skipping the
- 16:12official stamp to save a bit of money or paperwork.
- 16:15But just think about the liability if you have a vessel
- 16:18full of compressed gas, all that stored energy and it fails.
- 16:22Who's responsible? Exactly.
- 16:23If you have the stamp, you have the paper trail, you have proof
- 16:26of independent verification. If you only have code intent,
- 16:29you are essentially just saying, trust me, I did the math right.
- 16:33In a true safety culture, that is a really dangerous place to
- 16:36be. It raises the question, is the
- 16:39money you save on that stamp really worth the liability you
- 16:43carry for the entire life of that equipment?
- 16:46That is a very sobering thought. It's a question of safety
- 16:48culture versus just checking boxes.
- 16:51It is. Well, on that note, we're going
- 16:53to wrap up this deep dive into pressure equipment.
- 16:56It's a heavy topic, quite literally, but an absolutely
- 16:59essential one to understand. Absolutely.
- 17:01If you haven't already, get over to our YouTube channel
- 17:03Mechanical Engineering Made Simple, where we post hands on
- 17:06how to videos, visual breakdowns, and practical
- 17:09engineering walkthroughs. You can actually use a family
- 17:12that solves together, stays together.