Combined use of solar energy and air-conditioning