Design of a solar thermal power plant