A new approach for optimization of heating system in tank wagons