A system and method for converting solar energy into mechanical and electrical energy is described. This method is based on the phase change of a material due to temperature. The change of phase is accompanied with displacement at high forces that can easily be converted into useful mechanical and electrical power.