Short answer: cut two openings, not one — a hooded louver low on one wall for intake, a hooded exhaust high on the opposite wall, both with stainless insect mesh — and let a thermostat run the fan at full speed instead of trickling it day and night. Size the fan from watts: 30 W of summer charger and inverter loss at a 10 °C [18 °F] allowed rise needs about 9 m³/h [5 CFM] of net airflow, which a 120 mm [4.7 in] DC fan passes with margin to spare. One opening stirs the air without replacing it, and a fan run slow and constantly gives up both flow margin and dry nights. The steps below place the openings, work the airflow number, and set the controls so the fan runs only when it helps.
What you need
- Two louvered vent kits with rain hoods and stainless insect mesh; a 6 x 4 in [150 x 100 mm] face is a common size, and a louver passes roughly half its face as free area.
- One 120 mm [4.7 in] 12 V or 24 V DC exhaust fan — the worked example below sizes it.
- An adjustable thermostat that closes the fan circuit at 40 °C [104 °F] and opens it again near 35 °C [95 °F].
- A hygrostat for humid climates, set near 60% RH (optional).
- A drain hole or fitting of 6 mm [1/4 in] at the lowest point of the floor.
- Hole saw or jigsaw, deburring tool, outdoor-rated sealant, gloves and eye protection for cutting metal.
Where the two openings go
Siting comes first — the outdoor electrical enclosure guide covers placement and sealing basics — then the airflow path. Put the intake in the lower third of one wall and the exhaust in the upper third of the opposite wall, at least 12 in [300 mm] apart in height. The height gap is what moves air on its own: warm air leaves at the top and draws cool air in at the bottom, a chimney effect that keeps working with the fan off. Keep both openings 2 in [50 mm] or more above the floor so splash and snow stay out. Face every hood and louver opening down, and fit the stainless mesh on both — a warm exhaust draws wasps by midsummer.
Shade does more work than any vent you cut. A box in direct sun picks up its own heat load before the charger adds a watt; moving the box to a shaded wall or under an eave is the cheapest cooling step you can take.
Two hooded louvers with about 4.6 in² [30 cm²] of free area each and 12 in [300 mm] of height gap move roughly 2 m³/h [1.2 CFM] on a 10 °C stack rise. That covers roughly the first 7 W of loss with the fan off. Above that, a fan earns its keep.
Cut and fit the openings
- Isolate the battery and chargers before the first cut, and confirm the wall is clear behind both marked spots.
- Mark the intake low on one wall and the exhaust high on the opposite wall, centered on flat metal, at least 12 in [300 mm] apart in height.
- Cut both openings to the vent kit's template and deburr every edge.
- Bed each vent over its gasket in a bead of outdoor-rated sealant, drive the screws, and check the hood opening faces down.
- Mount the exhaust fan inside the top opening, blowing outward, and seal its frame all round.
- Place the thermostat probe high in the box, out of the fan's airstream.
- Drill the 6 mm [1/4 in] drain at the floor's lowest point and ream it clear. The drainage-opening range NEC 314.15 permits for boxes in damp and wet locations is 3 to 6 mm [1/8 to 1/4 in]; the drain rules sit in the Type 3R versus Type 4 guide.
Sizing the fan for 30 W of loss and a 10 °C rise
The inputs, each with its source:
- Heat load P = 30 W — a worked-example split: 10 W of charger loss plus 20 W from a 200 W inverter running at 90% efficiency (10% of 200 W = 20 W). Substitute your own datasheet losses.
- Temperature ceiling 40 °C [104 °F] — the ambient rating most charger and inverter datasheets use.
- Hottest ambient at the box, shaded: 30 °C [86 °F] — an example value; an unshaded box sits well above air temperature.
- Box: about 20 x 16 x 10 in [508 x 406 x 254 mm] of aluminum — the example case; the sizing does not depend on it.
- Allowed rise: 40 - 30 = 10 °C [18 °F].
The enclosure-industry fan formula turns heat into airflow: Q [m³/h] ≈ 3 × P [W] ÷ ΔT [°C], built from air carrying about 0.34 Wh of heat per m³ per °C. In imperial units it reads CFM = 3.17 × W ÷ °F.
Q = 3 × 30 ÷ 10 = 9 m³/h. Cross-check in imperial: 3.17 × 30 ÷ 18 = 5.3 CFM. That is the net flow that has to pass through the box.
Hood, louver and insect mesh choke a fan well below its free-air rating; plan on about half getting through, then confirm with the measurement in the checks below. The fan needs a free-air rating of at least 2 × 9 = 18 m³/h [11 CFM]. Fan datasheets typically list a 120 mm [4.7 in] DC fan at 40-70 CFM [68-119 m³/h] free air, so one fan covers the example even at reduced speed.
Decision: below about 7 W of loss, the hooded louvers alone hold the 10 °C rise. From there to about 100 W, one 120 mm thermostat fan carries the box — 100 W needs 30 m³/h [17.7 CFM] net, or 60 m³/h [35 CFM] of free air at the half-derate, inside that fan's rating. Every extra 10 W of loss at this rise adds 3 m³/h [1.8 CFM] of net flow. Past 100 W, open more area and fit a larger fan. A second fan in line with the first adds no flow, as what series fans do to airflow through a ducted unit shows.
Set the controls so the fan runs only when it helps
- Thermostat on at 40 °C [104 °F], off near 35 °C [95 °F]. The sizing already holds the steady rise at or under 10 °C at a 30 °C ambient, so the thermostat is the backstop for still, hot afternoons.
- Exhaust at the top, intake passive at the bottom: an exhaust fan works with the chimney instead of against it.
- Hygrostat in series at about 60% RH in humid climates, so the fan stays off when the outside air is close to saturation.
- Skip the constant slow run. An 80 mm [3.1 in] fan rated 25-45 CFM free air, throttled to 40% speed and halved again by the vent path, nets about 5-9 CFM — close to the 5.3 CFM the example needs, with no margin, and it still runs at night, dragging humid air through a cooling box. Let the thermostat decide.
- The battery adds its own limits: most LiFePO4 packs are rated for charging only above 0 °C [32 °F], so in freezing weather the job flips from removing heat to holding it — follow the battery instructions.
Checks before you rely on it
- Run everything at full output for an hour on a warm afternoon, then probe near the top, away from the fan stream: the rise over shaded ambient holds at or under 10 °C [18 °F]. A higher reading calls for a bigger fan or a larger opening.
- Splash water against both louvers from a cup or a gentle spray and open the box: the floor stays dry. Louver-and-mesh kits are rain-and-splash parts, not jet parts.
- Watch one full control cycle: the fan starts near 40 °C [104 °F] and stops near 35 °C [95 °F].
- Pour a cup of water at the floor's low point and watch it leave through the drain within seconds.
- Re-run the sizing against your real datasheet losses with the enclosure size guide as the backstop for wall and space checks.
Mistakes that cost the rating
- One opening. A single hole, however large, circulates air past the probe without replacing any of it.
- Hood or louver mounted opening-up. Every rain shelf faces down; inverted, each storm pours water straight in.
- Mesh left off. The warm exhaust is a wasp address, and a nest stops the flow and bridges terminals.
- Constant slow running. No flow margin on the hot afternoon, humid air pulled through on the cool night.
- Trusting the old rating after cutting. The vents set the assembly rating — louver-and-mesh kits are typically rated about IP54 by their makers — so a box that was sealed stops being sealed the day you cut it. Ratings here are manufacturer ratings throughout: a box quoted NEMA 4X / IP66 is rated by its maker, not UL listed. In US installations NEC 110.28 states that IP ratings are not a substitute for enclosure type ratings.
- No drain at the low point. Condensation and driven rain then collect above the battery terminals instead of leaving.
When the box itself is the problem
If the load grows past about 100 W, the box sits in full sun, or the walls are already heat-warped, vents fight a losing battle — re-specify instead. The stainless size finder filters every wall-mount and HMI box by size and grade, and the enclosure selector matches a box to environment, listing need and DIN module count before you cut anything. A sealed box avoids the vent rating cut, but then all cooling happens through the walls instead, and the sizing changes completely — work the wall heat transfer numbers before you give up the openings.
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 |
|---|---|---|---|
| 20 × 16 × 10 in | 304 stainless | 20 x 16 x 10 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 |
| 20 × 16 × 8 in | 304 stainless | 20 x 16 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 |
Questions
Will one vent opening plus a slow fan do the job?
One opening circulates air without replacing it, and a throttled fan moves a fraction of its rating: a 12 V fan run at 5 V turns at about 40% speed and moves about 40% of the air. Fit two openings at least 12 in [300 mm] apart in height and let a thermostat run the fan at full speed; the 30 W example load needs about 9 m³/h [5 CFM] of net flow.
What water rating is left once the vents are cut?
The vent kits set it, because an assembly takes the lowest rating among its parts. Louver-and-mesh kits with rain hoods are typically rated about IP54 by their makers: rain and splash, not jets or hose-down. Keep pressure washing away from the box, mount every hood facing down, and treat the box as rainproof rather than hose-proof after the cut.
At what temperature should the fan start and stop?
Start the fan at 40 °C [104 °F], the ambient limit most charger and inverter datasheets state, and stop it about 5 °C [9 °F] lower, near 35 °C [95 °F]. The band keeps the box below the electronics' rating and the fan asleep at night. In a humid climate add a hygrostat in series, set near 60% RH, so the fan stays off when the outside air is close to saturation.
Does the battery itself need anything from this ventilation?
The vents are for electronics heat. LiFePO4 cells release gas only through a safety vent in fault conditions, so they need no continuous air exchange; what they need is temperature. Most packs specify charging between 0 and 45 °C [32-113 °F] and discharge to about -20 °C [-4 °F], so winter flips the job from moving heat to holding it — follow the battery instructions for cold charging.





