Energy Storage & Electrical Environments 12 min read

Condensation Risk in Battery Enclosures: Dew Point, Surface Temperature and Control Margin

Calculate dew point, find the coldest surface, and set a defensible control margin. With worked examples and a dew point reference table.

Written byYakeclimate Engineering TeamEngineering Team

Condensation has exactly one cause: a surface at or below the dew point of the air touching it. Everything else — humidity readings, weather, enclosure rating, season — matters only through its effect on those two numbers.

This article sets out how to calculate both, why the surface temperature is usually lower than the one being measured, and how to set a control target with a defensible margin.

The Only Condition That Matters

Air holds water vapour. The maximum it can hold rises steeply with temperature. Dew point is the temperature to which that air must be cooled, at constant pressure, before it becomes saturated and begins to deposit liquid.

The consequence is a single rule:

If surface temperature ≤ air dew point, water condenses on that surface.

Relative humidity does not appear in this rule. It appears only as one of the inputs used to calculate dew point. This is why relative humidity is a poor control variable for enclosures: the same RH value corresponds to entirely different condensation thresholds depending on air temperature.

Calculating Dew Point

Dew point can be computed from air temperature and relative humidity using the Magnus relationship. With the coefficients commonly used for the −45 °C to +60 °C range:

γ  = ln(RH / 100) + (b · T) / (c + T)
Td = (c · γ) / (b − γ)

T  = air temperature, °C
RH = relative humidity, %
b  = 17.62
c  = 243.12 °C
Td = dew point, °C

Worked example, air at 35 °C and 50 % RH:

γ  = ln(0.50) + (17.62 × 35) / (243.12 + 35)
   = −0.6931 + 616.70 / 278.12
   = −0.6931 + 2.2174
   = 1.5243

Td = (243.12 × 1.5243) / (17.62 − 1.5243)
   = 370.63 / 16.0957
   = 23.0 °C

Air that most people would describe as warm and moderately dry will wet any surface below 23 °C.

A reference set for common conditions:

Air temperature40 % RH50 % RH60 % RH70 % RH80 % RH
15 °C1.5 °C4.7 °C7.3 °C9.6 °C11.6 °C
20 °C6.0 °C9.3 °C12.0 °C14.4 °C16.4 °C
25 °C10.5 °C13.9 °C16.7 °C19.1 °C21.3 °C
30 °C14.9 °C18.4 °C21.4 °C23.9 °C26.2 °C
35 °C19.4 °C23.0 °C26.0 °C28.6 °C30.9 °C
40 °C23.9 °C27.6 °C30.7 °C33.4 °C35.7 °C

Read the table by row, not by column. Along any row, dew point rises with humidity as expected. But compare 25 °C / 80 % RH (21.3 °C) with 40 °C / 40 % RH (23.9 °C): the drier-sounding condition has the higher condensation threshold. Absolute moisture content, not relative humidity, sets the risk.

The Coldest Surface Is Rarely the One Being Measured

Calculating dew point is straightforward. Establishing the coldest surface temperature is where most assessments go wrong, because three effects push surfaces below the air temperature that a sensor reports.

Radiative cooling to the sky. On a clear night, a surface with a view of the sky exchanges long-wave radiation with an effective sky temperature well below ambient air temperature. A horizontal or upward-facing external surface can settle several kelvin below the surrounding air. This is the same mechanism that produces dew on a parked car's roof and windscreen while the road surface and the car's vertical panels stay dry. An outdoor enclosure's top panel is subject to it every clear night.

Thermal lag. Enclosure walls, mounting frames and heavy internal components have thermal mass. When air temperature rises quickly — sunrise, a warm front, restart after a shutdown — these surfaces lag behind. Warm humid air reaches a structure that is still at last night's temperature. This is the condition that wets equipment during a morning warm-up, and it is also why a cabinet opened for service on a humid day can condense on internal metal within minutes.

Active cooling. Where a thermal management system is present, its coldest components — evaporator surfaces, coolant lines, cold plates — are by design below air temperature. If cooling is controlled against air temperature alone, without regard to the enclosure's dew point, these surfaces can operate continuously below the condensation threshold.

An assessment that uses air temperature as a proxy for surface temperature will therefore understate risk in precisely the situations where risk is highest.

The Diurnal Cycle

Combining the two ideas explains most field condensation in outdoor enclosures.

Consider a cabinet at a site with a summer daily range of 35 °C by day and 15 °C before dawn, at 50 % RH during the afternoon.

  • Afternoon. Internal air reaches roughly 35 °C. If enclosure air is at 50 % RH, its dew point is 23.0 °C. All internal surfaces are warmer than this. No condensation.
  • Evening. Air temperature falls. Enclosure air cools with it. Because the enclosure is closed, the absolute moisture content stays roughly constant, so the dew point stays near 23.0 °C while temperatures fall toward it.
  • Around 23 °C. The first surfaces to reach the dew point are the coldest ones — typically the roof panel, which is also losing heat radiatively to the clear sky. Condensation begins there.
  • Overnight. As the enclosure continues to 15 °C, air can no longer hold its original moisture content. The excess deposits as liquid on internal surfaces. Relative humidity inside sits at 100 %.
  • Morning. Surfaces warm and the film evaporates — but any dissolved contamination it picked up stays behind, and the cycle repeats the next night.

Nothing unusual happened. No weather event, no seal failure, no humidity excursion. A normal summer day in a normal enclosure produces liquid water on internal surfaces every night, and the daytime humidity reading gives no indication of it.

How Sealed Enclosures Accumulate Moisture

A closed enclosure is not a closed system. As internal air heats and cools, it expands and contracts, and the enclosure exchanges air with its surroundings through gaskets, cable glands and any pressure-equalisation element.

The exchanged fraction per cycle can be estimated from the ideal gas relationship. For a temperature swing ΔT about an absolute temperature T:

exchanged fraction ≈ ΔT / T

For a 20 K daily swing about 293 K, that is roughly 7 % of the enclosure's free volume per cycle. Over a year of daily cycling, an apparently sealed cabinet draws in and expels on the order of 25 enclosure volumes of outdoor air through leakage paths alone.

Each intake carries outdoor moisture. Each subsequent cool-down deposits part of it as liquid. The liquid does not leave when the enclosure exhales — vapour leaves, water sitting on a surface does not. The net effect is a slow accumulation, which is why enclosures that were commissioned dry are found wet years later with no identifiable ingress event.

Two conclusions follow. Improving the seal reduces the exchange rate but does not reverse accumulation, because the exchange rate never reaches zero. And a desiccant sachet or similar passive measure has a finite capacity that is consumed by this process; once saturated it stops working, usually without any indication.

Setting a Dew Point Target

The control objective is to hold internal dew point below the coldest surface temperature, with enough margin to absorb uncertainty.

Dew point setpoint ≤ (coldest surface temperature) − (margin)

The margin has to cover four sources of error:

Sensor accuracy. A typical capacitive humidity sensor carries a stated tolerance of a few percent RH, which translates into roughly 1–2 K of dew point uncertainty at moderate conditions — more at low humidity. Manufacturer specifications should be read at the actual operating condition, not at the calibration point.

Spatial variation. One sensor reports one location. Enclosures with internal heat sources are stratified, and the sensor rarely sits where the coldest surface is.

Control lag. Between the moment conditions move and the moment the drying device responds, the enclosure spends time closer to the threshold than the setpoint implies. Fast-changing conditions require a larger margin.

Surface temperature estimation error. Unless the coldest surface is directly instrumented, its temperature is inferred, and the inference carries its own uncertainty.

Projects that instrument the coldest surface directly can work with a tighter margin, because the largest error source has been removed. Projects that infer it need to be more conservative. The margin is a project decision to be agreed with the system owner and recorded, not a number to be assumed from a general article.

Measuring Condensation Risk on Site

Assessing an existing installation requires data over time, not a single reading.

Log temperature and humidity together, at the same point, at a sufficient interval. Dew point is computed from the pair; readings taken separately or averaged over long intervals lose the transitions that matter. A logging interval of a few minutes captures the evening approach to the threshold; hourly averages can miss it.

Log at least one surface temperature. A contact or infrared sensor on the coldest expected panel converts the assessment from inference to measurement. If only one additional channel is available, this is the one to use.

Cover the difficult period, not the convenient one. Data from a stable week in spring says little. The periods that matter are clear nights, the first cold snap of the season, warm humid mornings following cool nights, and restart after any shutdown.

Plot dew point and surface temperature on the same axis. Condensation occurs wherever the surface trace falls to or below the dew point trace. The area and duration of those crossings is the risk, expressed directly.

Look for corroborating evidence. Water staining, corrosion products at terminations, or insulation-monitoring alarms clustered in the early morning are physical confirmation that the crossings are real.

Design Responses, in Order of Cost

Not every condensation problem needs a dehumidifier. The options, roughly from least to most intervention:

Raise the coldest surface temperature. Insulating an external panel, shading it from night-sky radiation, or relocating the enclosure can move the coldest surface above the dew point without any active equipment. Where a small, well-defined cold spot is responsible, low-power anti-condensation heating can be sufficient — although this addresses the surface without reducing the enclosure's moisture content, so it must be sized to cover the actual cold area.

Reduce moisture intake. Improving gasket condition, sealing cable entries properly and reducing unnecessary openings all lower the exchange rate. This slows accumulation rather than preventing it, and is best treated as a supporting measure.

Manage the air that enters. Where ventilation is required for other reasons — off-gas dilution in lithium-ion installations, for instance — conditioning or controlling that air stream addresses the moisture it carries. The interaction between required ventilation and humidity control is developed in battery room ventilation and humidity control.

Remove moisture actively. An enclosure-scale dehumidifier lowers the internal dew point directly and is the only measure that reduces condensation risk across all surfaces simultaneously. It has to be matched to the enclosure's free air volume, moisture load and full temperature range — which for outdoor enclosures often extends below the operating envelope of compressor-based equipment.

Control against the right variable. Whatever equipment is fitted, controlling against dew point rather than relative humidity ensures the target tightens as the enclosure gets colder. The reasoning is set out in humidity control in battery cabinets and enclosures.

Information to Prepare

For a condensation assessment, the following inputs allow the problem to be characterised before any equipment is proposed:

  • Enclosure type, construction, insulation and free air volume.
  • Indoor or outdoor location, orientation, shading and sky exposure.
  • Site design conditions: summer and winter dry-bulb temperature with coincident humidity or dew point.
  • Observed or expected internal temperature range, including the winter minimum.
  • Internal heat sources and their duty cycle, and whether active cooling is present.
  • The coldest surface, if known, and whether it is or can be instrumented.
  • Ventilation arrangement and its basis.
  • Any logged temperature and humidity data, with logging interval and sensor location.
  • Observed symptoms: water staining, corrosion, alarm history and the time of day alarms occur.
  • Whether the enclosure design will be repeated across multiple sites and climates.

Discussing a Project

Yakeclimate designs and manufactures industrial dehumidification equipment for complex climate applications, with a focus on agriculture and energy projects.

We co-develop application-specific dehumidification equipment around the operating conditions, interfaces, and integration requirements of the wider project or system.

Explore energy-storage dehumidifiers, review the energy and electrical environments route, or contact Yakeclimate to review the operating conditions for your enclosure.

FAQ

Frequently Asked Questions

How do I calculate dew point from temperature and relative humidity?

Use the Magnus relationship: γ = ln(RH/100) + (17.62 × T)/(243.12 + T), then Td = (243.12 × γ)/(17.62 − γ), with T in °C and Td in °C. These coefficients are appropriate for roughly −45 °C to +60 °C. For example, air at 35 °C and 50 % RH gives a dew point of 23.0 °C, meaning any surface below 23.0 °C will condense.

Is 50 % relative humidity safe for an electrical enclosure?

Not by itself. Air at 50 % RH has a dew point of 9.3 °C at 20 °C air temperature but 27.6 °C at 40 °C. The same relative humidity therefore corresponds to very different condensation thresholds. Whether 50 % is safe depends entirely on the coldest surface temperature in that enclosure at that moment.

Why does condensation happen at night when humidity readings look normal during the day?

Because a closed enclosure keeps roughly the same absolute moisture content as it cools, so its dew point stays approximately constant while surface temperatures fall toward it. Daytime relative humidity gives no indication of this. Additionally, external surfaces with a view of a clear night sky lose heat radiatively and can sit several kelvin below the surrounding air temperature, reaching the dew point before anything else does.

Can a sealed enclosure still accumulate moisture?

Yes. Each heating and cooling cycle expands and contracts the internal air, exchanging a fraction of the enclosure volume with the surroundings through gaskets and cable entries. For a 20 K daily swing, that fraction is roughly 7 % per cycle — on the order of 25 enclosure volumes of outdoor air per year. Moisture drawn in can condense and remain as liquid, while only vapour leaves. Improving the seal slows this process but does not reverse it.

How much margin should a dew point setpoint have below the coldest surface?

The margin has to cover humidity sensor tolerance (often 1–2 K expressed as dew point at moderate conditions), spatial variation between the sensor and the coldest surface, control response lag, and any error in estimating the surface temperature. Projects that instrument the coldest surface directly can work with a smaller margin because the largest error source is removed. The value should be agreed with the system owner and recorded, not taken from a general reference.

Does anti-condensation heating solve the problem?

It can, for a small and well-defined cold area. Heating raises the surface temperature above the dew point without reducing the enclosure's moisture content, so it must be sized to cover the actual cold surface and it continues to consume power. It does not help surfaces it does not reach, and it does not address moisture accumulation. Where several surfaces are at risk or the enclosure's moisture content is rising over time, lowering the internal dew point addresses all surfaces at once.

References

Content maintenance record

This technical article is maintained as part of the Yakeclimate resource library.
First published

About the author

Yakeclimate Engineering Team

Engineering Team

Yakeclimate technical articles are prepared by the engineering team using inputs from product development, application review, manufacturing, testing, and project support.

View author profile

Continue reading

More on energy storage & electrical environments

Project support

Need to control humidity in a specific application?

Tell us about the environment, target conditions, and installation limits. We will help identify suitable equipment and the next technical step.
Request project support