Simulation of the electromechanical properties of carbon nanotube polymer composites