It dies while accelerating? That's an electrical issue, not a mechanical one, It has to do with load, your engine can't take the load. Either your compressor is generating unnecessarily high amount of load, or your engine is developing a problem where it can't take too much load