DESIGN AND SIMULATION OF A SOLAR POWER SYSTEM