Solar spectrum synthesis