Short answer: build the load schedule first. Add every continuous 24 VDC draw, add the loads that switch on together, multiply the governing figure by 1.2 to 1.25, and round up to the next standard frame. The worked panel below lands on a 10 A / 240 W DIN-rail supply. Then make it fit the box. A 240 W unit at 90% efficiency can dump 27 W into a sealed enclosure, about 11 K of rise in a 16 x 16 x 8 in stainless box at 40 C ambient. The case takes roughly 110-130 mm of rail plus the free-air bands around it. The brand matters less than five datasheet numbers: output rating, boost curve, efficiency, derating curve and mounting clearance.
Start from the load schedule, not the brand
A preferred vendor earns its keep on spares and support. The frame comes from the amps. Read the continuous draw of every device from its datasheet, mark which loads run together, and write the table before you open any catalog. The worked panel is a small machine control. It carries a PLC with 32 points, a 7 in HMI, a managed Ethernet switch, twenty sensors, twelve relay coils, four solenoid valves and a stack light.
| Load | Continuous draw | In the peak |
|---|---|---|
| PLC CPU and 32 I/O points | 0.9 A | 0.9 A |
| 7 in HMI | 0.5 A | 0.5 A |
| Managed Ethernet switch | 0.6 A | 0.6 A |
| 20 two-wire sensors at 25 mA | 0.5 A | 0.5 A |
| 12 relay coils at 40 mA | 0.5 A | 0.5 A |
| 4 solenoid valves at 0.4 A | — | 1.6 A |
| Stack light | — | 0.2 A |
| Continuous sum / simultaneous peak | 3.0 A | 4.8 A |
The continuous sum is 0.9 + 0.5 + 0.6 + 0.5 + 0.5 = 3.0 A. The worst moment arrives when all of that runs and the valve block and stack light fire together: 3.0 + 1.6 + 0.2 = 4.8 A. Replacing a supply in a working panel gives you the same table by measurement. Clamp a DC ammeter around the feeder through a full machine cycle and take the worst sustained reading.
Startup demand and the boost curve
Do not size on the continuous sum alone; the valves fire together and they set the peak. Two checks decide the frame. First, hold the continuous sum at or under 80% of the rating, so 3.0 A needs a 5 A frame or larger. Second, hold the simultaneous peak inside the datasheet's boost curve for its duration. Curves for industrial DIN frames in this class typically give 1.2× to 1.5× of rated current for several seconds. The example's 4.8 A peak passes on a 10 A frame with 12 A of boost to spare. Response type matters too. Pick a constant-current or power-boost behaviour when a branch breaker must trip on a shorted coil; a hard fold-back can nurse a fault indefinitely and the breaker never clears.
Reserve: 20% or 25%
The schedule tells you which reserve to apply. Freeze the load list at handover and 20% covers it: 3.0 × 1.2 = 3.6 A, so the 5 A frame stands. If devices keep landing on the list, hold 25% of the simultaneous peak. That is 4.8 × 1.25 = 6.0 A, and the next standard frame above 6 A is 10 A / 240 W. Reserve is also thermal margin. The 10 A frame derated to 232.8 W at 51 C still carries the example's real peak of 115.2 W (4.8 A × 24 V) with room to spare.
The heat it adds to the box
Efficiency, not the rating, sets the watts that stay inside: P_loss = P_out × (1/η − 1). At 90% efficiency a 240 W frame at nameplate sheds 240 × 0.111 = 26.7 W. The example's 115.2 W peak sheds 115.2 × 0.111 = 12.8 W. When the datasheet prints only efficiency, the article on finding heat-loss values shows how to turn that into watts of loss.
In a sealed 316L box the rise over ambient is ΔT = P / (k × A). Take k = 3.7 W/m²K for a stainless wall and A = 0.66 m² for a 16 x 16 x 8 in box, from 2 × (0.41 × 0.41) + 4 × (0.41 × 0.20). The 12.8 W peak gives 12.8 / (3.7 × 0.66) = 5.2 K. Panel heat guides design to a 40 C (104 F) ambient unless a datasheet allows more, so the air at the rail sits near 45 C in the example. The formula gives the average rise, and air over the case runs hotter still. Load the same frame to nameplate and the box reaches 51 C, because 26.7 / (3.7 × 0.66) = 11 K.
Derating turns those numbers into a purchase. A typical industrial curve holds 100% output to 50 C or 60 C, then takes about 3% per kelvin above that. A distributor application article on thermal derating runs a 550 W frame down to about 230 W once mounting and ambient push it past its curve. If the derated output misses your load, the power-supply cooling article takes the next step, and the enclosure heat calculator runs the same estimate before you commit the frame.
Width, clearance and mounting position
Dimension sheets for 10 A / 240 W single-phase frames cluster at 110-130 mm wide. Take the exact figure from the model's drawing and add the convection bands its installation sheet shows; tens of millimetres of free air above and below the case is the usual demand at this rating. Mount the supply low on the mounting plate. Convection carries heat from drives and transformers upward, and the coolest air in the box is at the bottom. Depth is arithmetic, not guesswork; the DIN-rail depth article walks the stack from case front to door. Chassis-mount frames ride the same rail on a DIN rail adapter, sized for the case weight. Keep the free-air bands clear of duct and terminals; the backplate and DIN-rail layout guide sets the spacing.
Input side and the breaker ahead of it
Match the input range to the panel feed. Single-phase models list 100-240 VAC and cover both 120 V and 230-240 V sites. Three-phase input frames list 380-500 VAC where the panel runs 400-480 V. The input wattage is 240 / 0.9 = 266.7 W, and power factor sits near 0.55 on uncorrected models and near 0.95 on corrected ones; the datasheet's power-factor line tells you which you have. The draw lands between 1.2 A and 2.1 A at 230 VAC, and between 2.3 A and 4.0 A at 120 VAC. A 6 A branch breaker carries the worst of that with room for inrush. Check the inrush figure on the datasheet; tens of amps for a few milliseconds is normal in this class. When two or three supplies sit behind one breaker, their inrush adds, so size the breaker pickup to the sum.
Grounding, feeders and the far end
Land the PE terminal on the mounting plate with paint cleared from the contact face; NEC 250.12 requires nonconductive coatings removed from grounding contact surfaces. Check whether the DIN rail can carry a ground path or only beds the case, and decide the 0 V scheme on purpose; the grounding and bonding guide walks grounded versus floating for a 24 VDC supply.
Feed the distribution terminals with 1.5 mm² (16 AWG) copper and branch to devices on 0.75 mm² (18 AWG). A 20 m loop (10 m out, 10 m back) of 1.5 mm² is 0.23 Ω at 20 C, so the 4.8 A peak drops 4.8 × 0.23 = 1.1 V end to end. Copper resistance rises about 0.39% per kelvin, so a warm panel adds roughly a tenth again. Keep duct fill at or under 50%; the duct maker's fill tables, citing NFPA 79-2012 section 13.5.2, stop at half the interior cross-section because round cables leave air gaps.
What to put on the order
Write the frame from the schedule, then the box around it. If your panel is a listed industrial control panel, NEC 409.2 defines the assembly and UL 508A is the standard for listing it. Pick a supply with the recognition that listing needs. NEC 409.110 also requires the enclosure type number marked on the panel.
The box itself takes the same discipline. A custom 316L wall-mount enclosure takes your width, height, depth and cutouts and is delivered in 10 business days from your approval of the drawing, rated NEMA 4X / IP66 by the manufacturer; not UL listed. NEC 110.26(A) asks 3 ft (900 mm) of clear working depth in front of equipment serviced while energized, with the door opening at least 90 degrees. The enclosure selector shortlists a stock size or carries your dimensions to a custom quote, and the enclosure sizing guide covers the rest of the box math.
| Order line | Example | Where the number comes from |
|---|---|---|
| Output rating | 24 VDC, 10 A / 240 W | peak 4.8 A × 1.25 = 6.0 A, next frame up |
| Boost | at least 1.2× for a few seconds | covers the 4.8 A valve event |
| Efficiency | 90% or better | sets the 12.8 W peak loss |
| Derating | 100% to 50 C minimum | rail air near 45 C in the example box |
| Input | 100-240 VAC single-phase | 1.2-2.1 A at 230 V, 6 A breaker |
| Width and bands | 130 mm max, free air above and below | fits the layout on the plate |
The decision, case by case
- Frozen machine, closed load list: continuous × 1.2 and round up; the example's 3.0 A becomes the 5 A frame.
- Machine still growing: simultaneous peak × 1.25 and round up; 4.8 A becomes the 10 A / 240 W frame.
- Hot box near the supply: recompute the derated output at the rail temperature; it must still cover the actual draw, and a nameplate-sized load in the example's 51 C worst case steps up a frame or moves to a 60 C curve.
- Replacement in a working panel: clamp the feeder through a full cycle, take the worst sustained amps, add 25%, round up.
- Only three-phase on site: a 380-500 VAC input frame, sized by the same schedule.
The amps decide the frame, the watts decide the box, and the datasheet's curves decide whether both survive.
Catalog dimensions to compare
Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 16 × 16 × 8 in | 304 stainless | 16 x 16 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 16 × 12 × 8 in | 304 stainless | 16 x 12 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 24 × 20 × 8 in | 304 stainless | 24 x 20 x 8 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 30 × 24 × 10 in | 304 stainless | 30 x 24 x 10 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
How much spare capacity should a 24VDC power supply have?
Twenty percent of the continuous load when the machine is finished, twenty-five percent of the simultaneous peak while it is still growing, then round up to the next standard frame. The worked panel lands on 4.8 A × 1.25 = 6.0 A, so it takes the 10 A / 240 W frame. Reserve also buys thermal margin: a derated 240 W frame still delivers 232.8 W at 51 C, comfortably above the 115.2 W the example actually draws.
The old panel has a rectifier giving 0 and -24 VDC — can a standard supply replace it?
Yes, when the circuit tolerates a floating reference: bond the new supply's positive terminal to the circuit's 0 V node and its negative terminal becomes the -24 V rail. Trace the old wiring first so nothing else bonds that negative, and check the isolation of every device on the rail. Match the input too; three-phase input frames list 380-500 VAC, while the old rectifier ran from a three-phase 18 VAC supply.
What wire size carries 24VDC around a control panel?
Use 1.5 mm² (16 AWG) copper for the distribution feed and 0.75 mm² (18 AWG) for branches. Keep the far end inside its input band; IEC 61131-2 grades a 24 V PLC usable from 20.4 to 28.8 V. On the example's 20 m loop at the 4.8 A peak the drop is 1.1 V, and copper resistance rising about 0.39% per kelvin lifts that to about 1.2 V in a warm box.
Can one supply power the PLC and the solenoid valves together?
Yes, when two numbers hold: the boost curve covers the simultaneous switch-on, and the wiring drop keeps every device inside its band. The example's 4.8 A peak sits under a 10 A frame's 12 A boost. Split to a second frame when a valve fault would drag the control rail down with it; the valve-only frame then needs 1.6 × 1.25 = 2 A, the smallest common size.
How hot can a DIN-rail power supply run before it needs derating?
Read the datasheet's derating curve before you pick the frame. At 55 C a 240 W frame with a 3%-per-kelvin curve above 50 C delivers roughly 204 W. The example box runs about 45 C at the rail on a 40 C day, inside the flat part of the curve; push the same frame to nameplate load and the box reaches 51 C, which is where the reserve earns its keep.





