This document discusses a numerical analysis of natural convection cooling of electronic components mounted on an aluminum plate within the walls of a train. The study examines the effect of a discontinuous heat flux distribution from the components on heat transfer. The results show that the heat flux distribution significantly influences cooling efficiency. Optimizing the placement and sizing of components can maximize heat transfer and minimize temperatures for improved cooling of power converters inside trains.