The model for temperature of electronic components in electronic board is given.Complete implicit iterated method is used to solve the finite difference equation
which could avoid being limicit by time step;in conjunction with Simulated annealing algorithm to design optimally placement of electronic components in such a way as to decrease the maximal temperature of the system and to increase reliability of military equipment.Also one example is given to prove it.