I am reading Jenny Nelson's The Physics of Solar Cells and am a bit confused with the derivation of the solar irradiance at the Earth's atmosphere she supplies. I'll outline it here, and I provide also pictures in case that's not clear.
She begins with the statement of the spectral photon flux $\beta(E, s, \theta, \phi)$; no problems here, I've seen this derivation in Reif's statistical mechanics text. Importantly, we emphasize that this is the flux (per unit energy and per unit solid angle of photon direction) of photons per unit area of the blackbody's surface area. I'll come back to this point later as it's the source of my confusion.
As regards the solar resource at the Earth, Nelson then goes on to integrate this flux over the angles $\theta < \theta_{sun}$ in order to obtain the photon flux, $b$, at the Earth. Now the trouble for me is that this sort of geometric argument seems to have two troubling premises:
That we are considering some surface element (I'll call it $dS'$ to make it special) of the blackbody (our Sun here) which is directly "in line" with the Earth, so that the only photons being captured by the Earth are those photons which were emitted from this $dS'$, and nothing else, i.e. all the photons from any other $dS \neq dS'$ (please forgive the abuse of notation in treating the $dS$ as actual pieces of surface).
Throughout the derivation, we never integrate over the surface area element $dS$. It seems that, by the end, we are treating the flux $b$ (and irradiance $L$) on a per unit of Earth's surface area basis, even though $dS$ was defined on the surface of the blackbody.
Am I mistaken in having the two concerns above and, if not, can someone explain how these concerns are waved away/justified?