how the function of steam boilers diesel