energy_methods.degradation_weather#

Weather-to-stress transformations from the 2019 degradation mapping study.

energy_methods.degradation_weather.faiman_from_ghi(ambient_temperature_c, ghi_wm2, wind_speed_10m_ms, *, u0=26.9, u1=6.2, module_height_m=2)[source]#

Module °C from the study’s GHI-based Faiman Eq. 10 (open-rack c-Si).

Wind is scaled from 10 m to module height with exponent 0.2 (Eq. 2). This is the publication’s horizontal-irradiance approximation, not a POA model. NaN propagates; physically invalid inputs and infinite outputs fail.

Parameters:
  • ambient_temperature_c (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str])

  • ghi_wm2 (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str])

  • wind_speed_10m_ms (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str])

  • u0 (float)

  • u1 (float)

  • module_height_m (float)

Return type:

ndarray[tuple[Any, …], dtype[float64]]

energy_methods.degradation_weather.wald_uv_irradiance(ghi_wm2, toa_wm2)[source]#

Estimate UVA+UVB (280-400 nm) in W/m², study Eqs. 5-8.

kt is clamped to [0.1, 0.7]. Zero GHI with finite TOA returns zero. Positive GHI with zero TOA is unavailable (NaN), not fabricated nighttime UV. Missing inputs propagate. UV index and ERA5 UV to 440 nm are not inputs.

Parameters:
  • ghi_wm2 (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str])

  • toa_wm2 (Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str])

Return type:

ndarray[tuple[Any, …], dtype[float64]]