ConvectiveCooling
ConvectiveCooling
ConvectiveCooling(
altitude: floatArrayLike,
cable_azimuth: floatArrayLike,
ambient_temperature: floatArrayLike,
wind_speed: floatArrayLike,
outer_diameter: floatArrayLike,
roughness_ratio: floatArrayLike,
wind_azimuth: floatArrayLike = None,
wind_attack_angle: floatArrayLike = None,
g: float = 9.81,
**kwargs: Any,
)
Bases: PowerTerm
Convective cooling term.
If more than one input are numpy arrays, they should have the same size.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float | ndarray
|
Altitude (m). |
required |
|
float | ndarray
|
Azimuth (deg). |
required |
|
float | ndarray
|
Ambient temperature (°C). |
required |
|
float | ndarray
|
Wind speed (m·s⁻¹). |
required |
|
float | ndarray
|
wind azimuth regarding north (deg). |
None
|
|
float | ndarray
|
External diameter (m). |
required |
|
float | ndarray
|
Cable roughness (—). |
required |
|
float
|
Gravitational acceleration (m·s⁻²). The default is 9.81. |
9.81
|
Source code in src/thermohl/power/cigre/convective_cooling.py
25 26 27 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 60 61 62 63 64 65 66 67 68 69 70 71 | |
derivative
derivative(
conductor_temperature: floatArrayLike,
temperature_increment: float = _TEMP_INCREMENT,
) -> floatArrayLike
Compute power term derivative regarding temperature in function of temperature.
Usually this function should be overriden in children classes; if it is not the case it will evaluate the derivative from the value method with a second-order approximation.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float | ndarray
|
Conductor temperature (°C). |
required |
|
float
|
Temperature increment. The default is 1.0E-03. |
_TEMP_INCREMENT
|
Returns:
| Type | Description |
|---|---|
floatArrayLike
|
float | numpy.ndarray: Power term derivative (W·m⁻¹·K⁻¹). |
Source code in src/thermohl/power/power_term.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | |
value
value(
conductor_temperature: floatArrayLike,
) -> floatArrayLike
Compute convective cooling.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float | ndarray
|
Conductor temperature (°C). |
required |
Returns:
| Type | Description |
|---|---|
floatArrayLike
|
float | numpy.ndarray: Power term value (W·m⁻¹). |
Source code in src/thermohl/power/cigre/convective_cooling.py
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | |