SolarHeatingBase
SolarHeatingBase
SolarHeatingBase(
latitude: floatArrayLike,
altitude: floatArrayLike,
cable_azimuth: floatArrayLike,
turbidity: floatArrayLike,
datetime_utc: datetimeArrayLike,
outer_diameter: floatArrayLike,
solar_absorptivity: floatArrayLike,
est: _SRad,
solar_irradiance: floatArrayLike,
**kwargs: Any,
)
Bases: PowerTerm
Solar heating term.
Source code in src/thermohl/power/solar_heating.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | |
derivative
derivative(
conductor_temperature: floatArrayLike,
) -> floatArrayLike
Compute solar heating derivative.
:param conductor_temperature: Conductor temperature. :return: Derivative of solar heating.
Source code in src/thermohl/power/solar_heating.py
134 135 136 137 138 139 140 | |
value
value(
conductor_temperature: floatArrayLike,
) -> floatArrayLike
Compute solar heating.
:param conductor_temperature: Conductor temperature (°C). :return: Power term value (W·m⁻¹).
Source code in src/thermohl/power/solar_heating.py
121 122 123 124 125 126 127 128 129 130 131 132 | |
_SRad
_SRad
_SRad(clean: List[float], indus: List[float])
Solar radiation calculator.
:param clean: Coefficients for the polynomial function to compute atmospheric turbidity in clean air conditions. :param indus: Coefficients for the polynomial function to compute atmospheric turbidity in industrial (polluted) air conditions.
Source code in src/thermohl/power/solar_heating.py
19 20 21 22 23 24 25 26 | |
__call__
__call__(
latitude: floatArrayLike,
altitude: floatArrayLike,
cable_azimuth: floatArrayLike,
turbidity: floatArrayLike,
datetime_utc: datetimeArrayLike,
) -> floatArrayLike
Compute solar radiation.
Source code in src/thermohl/power/solar_heating.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | |
atmosphere_turbidity
atmosphere_turbidity(
solar_altitude: floatArrayLike,
turbidity: Optional[floatArrayLike] = 0.0,
) -> floatArrayLike
Compute coefficient for atmosphere turbidity. This method calculates the atmospheric turbidity coefficient using a polynomial function of the solar altitude. The coefficients of the polynomial are a weighted average of the clean air and industrial air coefficients, with the weights determined by the turbidity factor.
:param solar_altitude: Solar altitude in degrees. :param turbidity: Atmospheric turbidity factor (0 for clean air, 1 for industrial air). :return: Coefficient for atmospheric turbidity.
Source code in src/thermohl/power/solar_heating.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | |