3D printer Electric energy sensor