The power inverter includes: a case made of a metal; a first power module
provided in the case and including a DC terminal and an AC terminal; a
second power module provided in the case and including a DC terminal and
an AC terminal; and a cooling formation body for decreasing heat
generated from the first and second power modules. The first and second
power modules are disposed in a manner such that the DC terminals face
each other.