Skip to main content
emobility.academy
B.Tech / BECFD & thermalIntermediate About 5 weeksSolidWorks & Alias

EV Charger Enclosure Thermal Design and Ventilation

Design a wall-mounted AC EV charger enclosure in SOLIDWORKS and use Flow Simulation to check internal component temperatures under full load and hot ambient, then compare sealed, vented and fan-assisted versions against an IP rating requirement.

Tools: SOLIDWORKS Flow Simulation

EV Charger Enclosure Thermal Design and Ventilation: Engineering workstations in the DIYguru EV lab
Representative photo from DIYguru's EV lab, not of this specific project.

The problem

An outdoor charger must keep water and dust out, which pushes designers towards sealed boxes, but its relays, contactor, power supply and electronics generate heat. In Indian summers, with sun on the enclosure, internal temperatures can exceed component ratings. Students need to balance ingress protection and cooling with evidence rather than guesswork.

Objectives

  • Package the main internal components of an example 7.4 kW AC charger in a wall-mounted enclosure.
  • Model heat sources, natural convection inside the box and heat loss through the walls.
  • Compare sealed, filtered-vent and fan-assisted designs for component temperature.
  • Relate each design to its likely IP code and propose a balanced solution.

What you need

Tools and toolboxes

  • SOLIDWORKS Part and Assembly — Enclosure, mounting plate, simplified components and cable glands, packaged with clearances.
  • SOLIDWORKS Sheet Metal or Plastic Part features — Enclosure body as folded sheet steel or a moulded shell with draft, depending on the chosen concept.
  • SOLIDWORKS Flow Simulation — Internal and external natural convection with Heat Conduction in Solids, volume heat sources, perforated plates for vents and a fan from the Engineering Database.
  • Configurations — Sealed, vented and fan-assisted versions in one assembly.
  • SOLIDWORKS Visualize or KeyShot — Presentation renders of the final enclosure.

Software

  • SOLIDWORKS 2023 or later
  • SOLIDWORKS Flow Simulation
  • Excel

Extra parts and data

  • Component datasheets — Contactor coil power, relay contact resistance, power supply efficiency and maximum operating temperatures give heat loads and limits.

Key concepts

IP code
IS/IEC 60529 rates protection against solids and water, for example IP54 or IP65. Openings for cooling make high ratings harder and need labyrinths, filters or membrane vents.
Internal heat load
In an AC charger most heat comes from contact and conductor resistance at full current, the contactor coil and the auxiliary power supply. Each is estimated from datasheets.
Natural convection in an enclosure
Warm air rises inside the box, transfers heat to the walls, and the walls lose it to outside air by convection and radiation.
Solar load
Sun on the enclosure adds heat to its outer surfaces. It can be approximated as a surface heat flux on the sun-facing walls if your radiation options do not include solar.

Step-by-step guide

  1. 1

    Define the charger and environment

    Use an example single-phase 7.4 kW, 32 A wall-box charger: contactor, residual current device, energy meter, control PCB, auxiliary power supply, terminal blocks and the cable. Set an example design ambient of 45 °C and an optional solar load on the front and top. Set the target as each component staying below its datasheet maximum operating temperature with margin. State the required IP rating, for example IP54 for outdoor use, as an assumption to be confirmed.

    Checkpoint: A component list with heat load and maximum temperature for each item, plus ambient, solar and IP assumptions.

  2. 2

    Estimate heat loads

    For each current-carrying part, estimate I²R heating from contact resistance and conductor resistance at 32 A; add contactor coil power and the auxiliary supply's loss from its efficiency. Include the cable entry section inside the box. Sum the internal heat, which for an example of this size is often in the tens of watts. Record every value with its source and flag those that are estimates.

    Checkpoint: A heat-load table that sums to a total internal heat with a source for each line.

  3. 3

    Package the components

    Model simplified blocks for each component with true external sizes and place them on a DIN rail and mounting plate. Leave datasheet clearances, keep high-voltage parts away from the control PCB, and route the cable to a gland at the bottom. Use a Layout sketch to plan positions first, then assemble with mates. Put the hottest parts high in the box only if they do not heat the electronics above them.

    Checkpoint: Interference Detection passes and every clearance from the component datasheets is met.

  4. 4

    Model the enclosure variants

    Design the enclosure as a sheet steel box with Sheet Metal features or as a moulded shell with draft. Create configurations: fully sealed with a gasket, filtered vents low and high on the side walls with a labyrinth or drip hood, and a version with a small fan. Model vents as simple openings that Flow Simulation will treat as perforated plates. Keep external size fixed so results compare fairly.

    Checkpoint: Three configurations that rebuild cleanly with the same external dimensions.

  5. 5

    Set up the sealed-box study

    Run the Wizard with External analysis, Heat Conduction in Solids and gravity on, so both inside and outside air are solved. Assign steel or plastic to the enclosure and suitable materials to components. Apply Volume Sources for each component's heat. Mount the enclosure on a wall represented by a solid plate. If radiation is available in your licence, enable it with surface emissivities; otherwise note that radiation is ignored and the result is conservative.

    Checkpoint: A converged sealed-box run with surface goals reporting each component's maximum temperature.

  6. 6

    Add vents, fans and solar load

    For the vented case, apply a Perforated Plate condition to the vent openings with an open-area ratio for the filter or grille. For the fan case, add an Internal Fan or External Inlet Fan from the Engineering Database or a user-defined fan curve. For the solar case, add a surface heat flux on the sun-facing walls using an example irradiance, labelled as an assumption. Keep every other setting identical.

    Checkpoint: Each variant solves and shows the expected airflow path through vents or fan in a velocity cut plot.

  7. 7

    Check convergence and energy balance

    Refine the mesh around components and inside vents and confirm the hottest component changes by less than 1 °C. Check that the heat leaving the enclosure outer surfaces and vents equals the total internal heat plus any solar input. For the sealed case, also hand-calculate the internal air temperature rise using wall area and a typical natural-convection coefficient for comparison.

    Checkpoint: Mesh change under 1 °C, a closed energy balance and a hand estimate in the same range.

  8. 8

    Compare the variants

    Tabulate the maximum temperature of every component for each variant, with and without solar load. Highlight any component that exceeds its limit. Comment on air recirculation zones from Flow Trajectories and on whether hot air from the power parts passes over the electronics. Note that vents and fans improve temperatures but add ingress risk, filter maintenance and a fan failure mode.

    Checkpoint: A comparison table that flags every component over its limit for every variant.

  9. 9

    Choose and refine the design

    Pick the design that meets temperature limits with the simplest ingress protection. Improvements may include moving the power supply, adding an internal baffle, using a light-coloured or shaded enclosure, or increasing wall area with external fins. Re-run the chosen design. State which IP code the design is likely to achieve and that it must be confirmed by a test to IS/IEC 60529.

    Checkpoint: A refined design that meets every component limit at the design ambient, with its intended IP code stated.

  10. 10

    Drawings, render and report

    Make a general arrangement drawing with key dimensions, gasket groove, vent hood details and gland positions. Render the enclosure in SOLIDWORKS Visualize or KeyShot. Write up loads, assumptions, CFD set-up, checks, comparison and the chosen design. Recommend a heat-run test at full current in a heated chamber with thermocouples on the hottest components. Note any component that runs close to its limit, so the test can confirm that margin first and the design can be revised if the measured temperature is higher.

    Checkpoint: A drawing, render and report with a test plan that matches the CFD scenarios.

Testing & validation

  • Mesh refinement changes hottest-component temperature by under 1 °C.
  • Energy balance closes between heat generated and heat leaving the enclosure.
  • Hand estimate of internal air temperature rise for the sealed box agrees in order of magnitude.
  • Every component temperature is compared with its datasheet limit.

Expected results

A packaged charger enclosure with three cooling variants, CFD temperatures for every component at hot ambient with and without solar load, and a recommended design that balances cooling and ingress protection.

Take it further

  • Model a DC fast-charger cabinet with forced-air cooling of power modules.
  • Run a transient day-long solar cycle.
  • Add a membrane vent for pressure equalisation and study condensation risk.
  • Use SOLIDWORKS Costing to compare sheet steel and moulded enclosures.

Viva and review questions

Why not just add large vents?

Large openings let in dust and water, lowering the IP rating, and need filters that clog. The aim is the least opening that keeps every component within its limit.

Where does most heat come from in an AC charger?

From I²R losses in the contactor contacts, terminals and conductors at full current, the contactor coil and the auxiliary power supply. There is no large power conversion stage as in a DC charger.

How did you include the sun?

As a surface heat flux on the sun-facing walls using an example irradiance, because the radiation options available to me did not include a full solar model. It is a conservative approximation.

How would you confirm the IP rating?

By testing a prototype to IS/IEC 60529 with the dust and water tests for the target code. The CAD and CFD can only show the design intent.

Learn it at DIYguru

These DIYguru courses and programmes teach what this project needs.

Related EV projects

All 100 SolidWorks & Autodesk Alias EV projects