Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

本文为英文。 查看中文网站

Air conditioner humidity control in a 50 C enclosure

A closed-loop enclosure air conditioner dries the air by itself: its coil sits below the dew point and the condensate drain carries the water out. At 50 C and 95% RH the dew point is 49 C, so set the thermostat to the highest ambient the electronics allow (about 45 C), run the drain downhill, and keep the door closed until internal surfaces sit above the outside dew point.

NEMA4 Enclosure engineering team · Published November 24, 2026 · 8 min read

Short answer: the air conditioner is the dehumidifier. A closed-loop unit wrings the water out of the air on its cold coil and sends it down the drain, so the heater stays in its box. At 50 C and 95% RH the outside air has a dew point near 49 C, and that number sets the whole strategy for a panel in this climate. Set the thermostat to the highest ambient the electronics' datasheets allow, about 45 C here. Run the condensate downhill in a 3/4 in line. Keep the door closed until every internal surface sits above the outside dew point. Get those four things right and the water lands in the drain hose instead of on your I/O.

Why the air conditioner is the dehumidifier

A closed-loop enclosure air conditioner carries two coils. The evaporator sits inside the box and runs well below the air's dew point; the condenser sits outside and dumps the heat into the plant air. Enclosure air crosses the cold coil, its vapour condenses on the fins, and the drain pan passes the water to the hose. Cooling and drying are one job on the same surfaces.

The scale of the job is easy to understate. Air at 50 C and 95% RH carries about 81 g of water per kilogram of dry air; the same air pulled down to 45 C at 40% RH carries about 24 g. Standard psychrometric tables give both figures. The 57 g gap is what the coil catches, every hour, from every leak, for the life of the panel.

A heater answers the wrong problem here. It dries nothing; it only lifts surfaces above the dew point while it runs, and at 50 C ambient its watts go straight onto the air conditioner's load. Heaters belong to the opposite case, surfaces colder than the air, which is the ground the condensation guide and dew point versus heater watts for a metal enclosure cover. An open-loop fan-filter unit fails the same way: it swaps box air for saturated plant air all day, and the fan, air conditioner and heat exchanger comparison sorts out which cooler belongs where.

Working the numbers: a 24 x 20 x 8 in box in 50 C, 95% RH air

The inputs, and where each comes from:

  • Outside air: 50 C and 95% RH. The plant condition this case works. At 90% RH the dew point comes out at 48 C, so both readings of the ambient land in the same place.
  • The box: a hypothetical 24 x 20 x 8 in [610 x 508 x 203 mm] stainless wall-mount enclosure. Swap in your own dimensions; the method holds. Outside surface 1.07 m², air volume 63 L.
  • Wall heat transfer: 3.7 W/m²K for stainless, the value this site's heat guides use.
  • Electronics: a 45 C allowed ambient, assumed from the installed modules' datasheets. Drives and most electronics carry 40 C ratings unless a named datasheet allows more, so replace this input with your devices' limits.

Two rules do the work. The dew point comes from the Magnus approximation, the formula behind psychrometric calculators: γ = ln(RH) + 17.67 × T/(243.5 + T), then Td = 243.5 × γ/(17.67 − γ), in C with T in C. Wall gain follows Q = k × A × (T outside − T setpoint).

Dew point: γ = −0.051 + (17.67 × 50)/(243.5 + 50) = −0.051 + 3.010 = 2.959. Then Td = (243.5 × 2.959)/(17.67 − 2.959) = 720.4/14.71 ≈ 49 C.

Wall gain at the 45 C setpoint: Q = 3.7 × 1.07 × (50 − 45) = 19.8 ≈ 20 W. At a wrongly low 25 C setpoint: Q = 3.7 × 1.07 × 25 = 99 W.

Condensate: the coil takes air from 81 g/kg down to 24 g/kg and wrings out 57 g per kilogram it dries. The box holds 0.063 × 1.09 = 0.069 kg of air. One full air change therefore carries 0.069 × 57 ≈ 4 g of water.

The result: at the 45 C setpoint the walls pass 20 W instead of 99 W, and the internal surfaces sit 4 C below the outside dew point instead of 24 C below it. The decision follows: set the thermostat to 45 C, the highest ambient the datasheets allow. Every degree below that buys about 4 W of extra wall gain on this box (3.7 × 1.07 ≈ 4 W/K) and a colder coil making more water. If your devices stop at 40 C, set 40 C: the wall gain becomes 3.7 × 1.07 × 10 = 40 W, still well under the 99 W.

What you need

  • The allowed ambient from the datasheet of every heat-producing device in the box. The datasheet is the only source that counts.
  • A temperature and RH logger for inside the box, plus readings for the outside air. The margin you are proving lives between two dew points.
  • A closed-loop enclosure air conditioner, sized on the heat load at the real inside-to-outside difference rather than on box volume. Assessing the control enclosure heat load and cabinet air conditioner sizing for an overheating enclosure walk the two halves of that sum.
  • Condensate hose, clips and a route to a disposal point you can see.
  • Cable glands, blanking plugs, and the air-conditioner cutout sent with the order. Stainless NEMA 4X wall-mount enclosures are built to the cutout list you send, so the unit drops into a cutout made for it.
  • A discharge baffle, if the cold jet would strike modules, terminals or the sensor.

Install and set it up

Isolate the panel and verify absence of voltage before you wire the unit or its thermostat circuit. Then work the steps in order.

  1. Add the heat load. List each device's dissipation, add wall gain k × A × ΔT at your chosen setpoint, and add the sun if the box sits outdoors. The outdoor enclosures section ranks the sun as the largest single load on an outdoor box, ahead of everything inside it.
  2. Size the unit on that duty at the real temperature difference. Rated capacity falls as the inside-to-outside difference rises, and a unit picked on box volume alone runs short on a hot afternoon.
  3. Compute the outside dew point and mark it inside the door. The worked arithmetic above gives 49 C for this air; every cold surface in the box answers to that number.
  4. Set the thermostat to the highest datasheet ambient. For this case that is 45 C; where the datasheets stop at 40 C, set 40 C. Thermostat control for an enclosure fan above setpoint shows how the switching differential shapes the cycling.
  5. Seal the loop. A gland on every cable entry, a blanking plug in every unused cutout, door gasket clean, seated and compressed along its full run. The unit recirculates enclosure air; every leak makes it re-dry the plant atmosphere one box-volume at a time. Closed-loop cooling where fumes are in the air explains why the loop stays shut even when the outside air is only unpleasant.
  6. Drain the condensate continuously downhill. Run at least a 3/4 in hose from the unit's drain connection, sloped about 1/4 in per foot, with no sag to hold water, ending at a disposal point you can see. The International Mechanical Code sets 3/4 in as the minimum size for a condensate drain. Route it through the unit's own fittings, because a hole cut through the wall after delivery undoes the sealing step above.
  7. Mix the discharge and place the sensor in the return air. A cold jet striking electronics creates surfaces far colder than the thermostat reads and can short-cycle the compressor. Baffle the outlet so the air blends first, and set the sensor where the unit's manual says, which is almost always the return air.
  8. Keep the door shut. For planned entry into a box colder than the outside dew point, raise the setpoint or stop the compressor and let the surfaces climb above that dew point first, or purge the box with dry air. Log inside temperature and RH for a week before you call the job done.

Checks when done

Run these with the door closed while the plant sits at its worst.

  • Pull-down. Condensate runs from the hose while the coil is cold, then tapers once the box reaches the setpoint. Standing water in the pan means a sagged or blocked hose.
  • Steady state. Air at the setpoint reading 40% RH or less has a dew point near 28 C in this case, which leaves the protected surfaces, all at or above air temperature, with a wide dry margin. The only surface meant to sit below the dew point is the unit's own coil, and it has a drain.
  • A day shut. No fog on a window, no film on the mounting plate, no drips under the drain pan after 24 hours closed against near-saturated outside air.
  • A week of logged data. The internal dew point stays below the coldest protected surface at every hour. If it climbs toward a surface, find the leak before it finds your modules.
  • Full load. The hottest device's measured ambient stays inside its datasheet limit with everything running and the door shut.

This is the same margin attic HVAC lives by; how duct board surfaces stay above the attic dew point works the identical surface-versus-dew-point logic for building ducts.

Mistakes that cost the rating

  • The minimum-temperature habit. Cranking the setpoint down does not dry the box faster; on this box it multiplies the wall gain by five, chills every surface far below the outside dew point, and turns the next door opening into a rain shower.
  • Fan-and-filter cooling in saturated air. It swaps box air for plant air all day, and there is no coil anywhere to catch the water.
  • Field-drilled holes. Our stainless boxes are manufacturer-rated NEMA 4X / IP66, not UL listed, and the rating covers the box as built. A drain boss or sensor hole cut on site is your seal to prove, so order the cutouts with the enclosure instead.
  • Sensor in the cold discharge. It reads low, the compressor short-cycles, and the true temperature at the modules stays hidden until a drive or a power supply complains.
  • A heater wired for the humidity. At this ambient it fights the air conditioner watt for watt and adds to its load. Its legitimate post is the powered-down or cold-night case, sized by the dew-point method rather than by habit.
  • An open cold jet from a vortex tube. The rule is the same as for the air conditioner: any surface below the outside dew point collects the same water, whatever makes it cold. Vortex cooler versus air conditioner for a sunlit control panel compares the two where the sun drives the load.

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.

EnclosureMaterialOutside H x W x D / displayRating
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
16 × 12 × 8 in304 stainless16 x 12 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
30 × 24 × 10 in304 stainless30 x 24 x 10 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Does the enclosure air conditioner remove the humidity on its own?

A closed-loop unit does both jobs. Its evaporator coil sits below the air's dew point, so water condenses on the coil and leaves through the drain. Air at 50 C and 95% RH holds about 81 g of water per kg of dry air; pulled down to 45 C at 40% RH it holds about 24 g. That difference is the water in your drain hose, which is why the drain must stay open and downhill.

Why not fit a heater to drive the humidity off?

A heater earns its place only where surfaces would otherwise sit below the air's dew point: a cold night, an idle panel, outdoor equipment at dawn. At 50 C ambient the box needs cooling, and heater watts fight the air conditioner while adding to its load. Keep the anti-condensation heater on a circuit that runs when the panel is powered down, and let the air conditioner own the heat of the day.

What setpoint should the thermostat carry in this heat?

The highest ambient the device datasheets allow, about 45 C for this case, and 40 C where drives or most electronics stop. On the 1.07 m² stainless box worked above, every degree below ambient pulls about 4 W through the walls: a 25 C setpoint costs 99 W of wall gain against 20 W at 45 C, and it leaves every internal surface 24 C below the outside dew point instead of 4 C.

How should the condensate drain be run?

Hose or pipe of at least 3/4 in from the unit's drain connection, sloped about 1/4 in per foot and continuously downhill to a disposal point you can see. Route it through the air conditioner's own fittings, not through a hole cut in the enclosure wall, and watch it run while the unit is pulling down.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 24 × 20 × 8 inRequest a custom quote

Check the heat load in the calculator · Outdoor enclosures: sizes for this job

Keep reading

More on outdoor, heat and moisture

All articles

Buying guides

The guides behind this answer

All guides