How are solar irradiance and energy output calculated?