A method of applying varnish to a stator includes orienting a center axis of the stator substantially parallel to gravity, and orienting a crown end of stator windings upward and a weld end of the windings downward, relative to gravity. The crown end and the weld end of the stator are disposed on opposing sides of the core. The weld end is placed above a dip tank and varnish applied to the crown end of the windings with at least one nozzle. The nozzle is controlled along a first direction and a second direction, which are perpendicular to the center axis. The varnish substantially coats the crown end of the windings, runs through the slots, and drips from the weld end of the windings into the dip tank. The dip tank is raised to submerse the weld end of the windings but not the core.
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT
 This invention was made with U.S. Government support under an Agreement/Project number: DE-EE0002629, awarded by the Department of Energy. The U.S. Government may have certain rights in this invention.