Applications of solar cells or heat pipes