Research on the energy distribution of micro EDM by utilization of electro-thermal model