The model of energy distribution during electron beam input in welding process